Menu

#493 message with "me" in cc: field don't get marked in scan listing

Unassigned
open
nobody
None
5
2020-06-28
2019-12-02
minshall
No

if one of my e-mail addresses is listed in the "cc:" field of an e-mail message, but only "non-me" addresses are in the "to:" field, a "c" will not show up in the listing for that message in a folder view (and, so, the "face" for "to me" messages won't show up).

MH-E 8.6+git

MH-E compilation details:
Byte compiled: yes
Gnus (compile-time): Gnus v5.13
Gnus (run-time): Gnus v5.13

GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
of 2019-08-30

nmh 1.7.1
mh-progs: /usr/bin
mh-lib: /etc/nmh
mh-lib-progs: /usr/lib/nmh

Linux apollo2.minshall.org 5.3.13-arch1-1 #1 SMP PREEMPT Sun, 24 Nov 2019 10:15:50 +0000 x86_64 GNU/Linux

Discussion

  • minshall

    minshall - 2019-12-02

    the following appears to fix the problem. (note that the "zero" function here functions as an "else").

    diff --git a/lisp/mh-e/mh-scan.el b/lisp/mh-e/mh-scan.el
    index f3ad7c68ba..c4f1c7dadf 100644
    --- a/lisp/mh-e/mh-scan.el
    +++ b/lisp/mh-e/mh-scan.el
    @@ -76,11 +76,11 @@ mh-scan-format-nmh
    (concat
    "%4(msg)"
    "%<(cur)+%| %>"

    • "%<{replied}-"
    • "%?(nonnull(comp{to}))%<(mymbox{to})t%>"
    • "%?(nonnull(comp{cc}))%<(mymbox{cc})c%>"
    • "%?(nonnull(comp{bcc}))%<(mymbox{bcc})b%>"
    • "%?(nonnull(comp{newsgroups}))n%>"
    • "%<{replied}-%>"
    • "%<(zero)%<(nonnull(comp{to}))%<(mymbox{to})t%>%>%>"
    • "%<(zero)%<(nonnull(comp{cc}))%<(mymbox{cc})c%>%>%>"
    • "%<(zero)%<(nonnull(comp{bcc}))%<(mymbox{bcc})b%>%>%>"
    • "%<(zero)%<(nonnull(comp{newsgroups}))n%>%>"
      "%<(zero) %>"
      "%02(mon{date})/%02(mday{date})%<{date} %|*%>"
      "%<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>"
     
  • Mike Kupfer

    Mike Kupfer - 2020-06-28
    • status: unread --> open
     

Log in to post a comment.

MongoDB Logo MongoDB