[PATCH v4 0/2] emacs: show: redesign unread/read logic

David Edmondson dme at dme.org
Fri May 9 01:27:37 PDT 2014


On Fri, May 09 2014, Mark Walters wrote:
> This is v4 of this set. v3 is at id:1395777793-13297-1-git-send-email-markwalters1009 at gmail.com
>
> David (dme) was not keen on the logic in the previous patch so I have
> tried to make it rather more customisable and made this version much
> closer to the existing logic.
>
> This version marks the current message read if it is open. It doesn't
> care how you get there: whether it is notmuch commands n/N/p/P next
> message etc, emacs commands like scroll up, mouse clicks etc.
>
> The only proviso is it will only mark a message read once (in a single
> buffer and between refreshes) as otherwise it is impossible for a user
> to choose to mark a message unread.

This version looks good to me, thanks for considering the feedback.

> I, personally, like my previous logic much more. But with this setup
> that can be customized easily in my .emacs (we may choose to add other
> options into mainline later). Also I think this series fixes all of
> the problems with the current read/unread logic mentioned in
> id:87a9atmpkf.fsf at qmul.ac.uk are fixed.

Just to confirm: you can get your desired behaviour by writing an
alternative `notmuch-show-mark-read-function'?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 310 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140509/84a15507/attachment.pgp>


More information about the notmuch mailing list