notmuch/emacs
Ioan-Adrian Ratiu 4954bc50e8 emacs: notmuch-show: refresh all windows displaying buffer
This updates all windows displaying a notmuch-show buffer when the
buffer refresh function is called.

Each window displaying a notmuch-show buffer has its own currently
displayed message based on the (point) location. We store the state
of all displayed windows when refreshing a notmuch-show buffer and
re-apply the current shown message (point) for all windows.

Implementation note: Each window has it's own (point) value, besides
the buffer's (point) value. Sometimes these values are identical like
in the case where a single window displays a buffer. When multiple
windows display a buffer, (point) returns each window's specific value.
What we are storing in this changeset is the window values not the
buffer point values. The buffer's point is returned only if no window
is displaying the buffer, a case we do not care about here.

Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
2016-10-17 09:05:22 -03: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 emacs: include first match in address completion 2016-10-09 08:50:32 -03:00
notmuch-company.el emacs: address: allow internal completion on an individual basis 2016-09-04 08:07:59 -03:00
notmuch-crypto.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-hello.el emacs: hello: stop update from forcing the buffer to be displayed 2016-10-17 09:04:38 -03:00
notmuch-jump.el emacs: jump: make multilevel keys do multilevel jump 2016-10-15 21:51:17 -03:00
notmuch-lib.el emacs: make the refresh functions more consistent 2016-10-17 09:01:52 -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: fcc: say we are doing Fcc 2016-09-30 07:13:54 -03:00
notmuch-message.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-mua.el Fix reply to encrypted mail when discouraging plain text. 2016-10-17 08:55:04 -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: notmuch-show: refresh all windows displaying buffer 2016-10-17 09:05:22 -03:00
notmuch-tag.el emacs: tag-jump: docstring fix 2016-10-15 21:49:48 -03:00
notmuch-tree.el emacs: tree: make refresh use generic binding 2016-10-17 09:01:40 -03:00
notmuch-version.el.tmpl Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-wash.el emacs: wash: make word-wrap bound message width 2016-09-12 08:06:00 -03:00
notmuch.el emacs: notmuch-search-refresh-view: reuse buffer 2016-10-17 09:05:05 -03:00