change fancy-character symbols

106 views
Skip to first unread message

to.s...@googlemail.com

unread,
May 16, 2018, 2:24:48 AM5/16/18
to mu-discuss
Hi,

Is that possible to replace specific Unicode symbols for fancy-character? I always find the anchor for attachment and square for unread not intuitive for me.

I try to add in to my .emacs with 

(defvar mu4e-headers-unread-mark    '("u" . "🖂") "Unread.")
(defvar mu4e-headers-attach-mark    '("a" . "📎") "W/ attachments.") 

but nothing changes

Dirk-Jan C. Binnema

unread,
May 16, 2018, 2:34:39 AM5/16/18
to mu-di...@googlegroups.com
Try `setq'.

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

to.s...@googlemail.com

unread,
May 16, 2018, 4:17:58 AM5/16/18
to mu-discuss
Thanks

(setq mu4e-headers-unread-mark  '("u" . "🖂"))

(setq mu4e-headers-attach-mark '("a" . "📎"))

works

On Wednesday, May 16, 2018 at 2:34:39 PM UTC+8, djcb wrote:

On Wednesday May 16 2018, to.signin via mu-discuss wrote:

> Hi,
>
> Is that possible to replace specific Unicode symbols for fancy-character? I
> always find the anchor for attachment and square for unread not intuitive
> for me.
>
> I try to add in to my .emacs with
>
> (defvar mu4e-headers-unread-mark    '("u" . "🖂") "Unread.")
> (defvar mu4e-headers-attach-mark    '("a" . "📎") "W/ attachments.")
>
> but nothing changes

Try `setq'.

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema                  Helsinki, Finland

Joost Kremers

unread,
May 16, 2018, 3:37:06 PM5/16/18
to mu-di...@googlegroups.com

On Wed, May 16 2018, Dirk-Jan C. Binnema wrote:
> On Wednesday May 16 2018, to.signin via mu-discuss wrote:
>> (defvar mu4e-headers-unread-mark '("u" . "🖂") "Unread.")
>> (defvar mu4e-headers-attach-mark '("a" . "📎") "W/
>> attachments.")
>>
>> but nothing changes
>
> Try `setq'.

I took this mail as incentive to change some of the marks I use (I
like the paperclip for attachments, this envelope is certainly
better than the one I had, and I set the "seen" mark to the empty
string), but then it got me thinking: does mu4e ever distinguish
between "unread" and "new"?

In Mutt, when you enter a mailbox, any new emails will be marked
"N". If you leave that mailbox without reading those new emails
and then enter it again at some later time, those emails will be
marked "O", meaning (I assume), unread but not new.

Mu4e doesn't seem to do this: search for new messages once and
they're marked "new", search for them again and they're still
marked "new".



--
Joost Kremers
Life has its moments

Dirk-Jan C. Binnema

unread,
May 16, 2018, 4:16:11 PM5/16/18
to mu-di...@googlegroups.com

On Wednesday May 16 2018, Joost Kremers wrote:

> On Wed, May 16 2018, Dirk-Jan C. Binnema wrote:
>> On Wednesday May 16 2018, to.signin via mu-discuss wrote:
>>> (defvar mu4e-headers-unread-mark '("u" . "🖂") "Unread.")
>>> (defvar mu4e-headers-attach-mark '("a" . "📎") "W/
>>> attachments.")
>>>
>>> but nothing changes
>>
>> Try `setq'.
>
> I took this mail as incentive to change some of the marks I use (I
> like the paperclip for attachments, this envelope is certainly better
> than the one I had, and I set the "seen" mark to the empty string),

You can have nicer 'icons' depending on the font in use; the default are
deliberately a bit conservative.

> but then it got me thinking: does mu4e ever distinguish between
> "unread" and "new"?

> In Mutt, when you enter a mailbox, any new emails will be marked "N".
> If you leave that mailbox without reading those new emails and then
> enter it again at some later time, those emails will be marked "O",
> meaning (I assume), unread but not new.
>
> Mu4e doesn't seem to do this: search for new messages once and they're
> marked "new", search for them again and they're still marked "new".

The states follow the Maildir spec; so your mails are either "new"
(lives under new/) or "seen" (the "S" in the name). In mu4e, querying
mails does not affect their status.

Kind regards,
Dirk.
Reply all
Reply to author
Forward
0 new messages