]> git.notmuchmail.org Git - notmuch/commit
emacs: Improve the display of truncated authors.
authorDavid Edmondson <dme@dme.org>
Wed, 17 Nov 2010 12:05:04 +0000 (12:05 +0000)
committerCarl Worth <cworth@cworth.org>
Tue, 7 Dec 2010 21:57:05 +0000 (13:57 -0800)
commit5d05d5434dc5de0d484e334ddf109385e9a56cf3
treef052ff7c692854550b03fc3b8dde36808b553643
parentcafd46ca135f8f3061cb65b8f6ab0b91902a48b3
emacs: Improve the display of truncated authors.

Incremental search does not match strings that span a
visible/invisible boundary. This results in failure to correctly
isearch for authors in `notmuch-search' mode if the name of the author
is split between the visible and invisible components of the authors
string. To avoid this, attempt to truncate the visible component of
the authors string on a boundary between authors, such that the
entirety of an author's name is either visible or invisible.
emacs/notmuch.el
test/emacs.expected-output/notmuch-hello-view-inbox
test/emacs.expected-output/notmuch-search-tag-inbox