notmuch/emacs
Mark Walters dd5cd6964f emacs: show: improve handling of mark read tagging errors
Previously if a marking read tag change (i.e., removing the unread
tag) failed for some reason, such as a locked database, then no more
mark read tag changes would be attempted in that buffer.

This handles the error more gracefully. There is not much we can do
yet about dealing with the error itself, and marking read is probably
not important enough to warrant keeping a queue of pending changes or
anything.

However this commit changes it so that

- we do try and make future mark read tag changes.

- we display the tag state correctly: i.e. we don't display the tag as
  deleted (no strike through)

- and since we know the tag change failed we can try to mark this
  message read in the future. Indeed, since the code uses the
  post-command hook we will try again on the next keypress (unless the
  user has left the message).

We indicate to the user that these mark read tag changes may have
failed in the header-line.
2016-06-28 09:20:54 +02:00
..
.gitignore emacs: add notmuch-version.el.tmpl and create notmuch-version.el from it 2014-04-10 23:25:36 -03:00
coolj.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
make-deps.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local emacs/Makefile.local: notmuch-lib.elc depend on notmuch-version.elc 2015-11-23 08:14:46 -04:00
notmuch-address.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-company.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-crypto.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-hello.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-jump.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-lib.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el emacs: Fix packaging 2016-04-16 08:24:42 -03:00
notmuch-message.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-mua.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-parser.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-print.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-query.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-show.el emacs: show: improve handling of mark read tagging errors 2016-06-28 09:20:54 +02:00
notmuch-tag.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-tree.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-version.el.tmpl Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-wash.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00