]> git.notmuchmail.org Git - notmuch/commit
emacs: add invisible space after the search widget field in notmuch-hello
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Mon, 4 Jul 2011 06:47:05 +0000 (10:47 +0400)
committerDavid Bremner <bremner@debian.org>
Sat, 12 Nov 2011 15:34:53 +0000 (10:34 -0500)
commite972d752c038b015b0af92de4ce1e00aa2557b71
treec03edaeef242eb46ebb03ce680f557da9de90fb1
parenta2d78fba200d0342d90cf27f2ac3eb9091911275
emacs: add invisible space after the search widget field in notmuch-hello

It is very convenient when C-e (bound to `widget-end-of-line') ignores
trailing spaces inside the search widget.  But it only does so if a
widget is not followed by a newline (that is why it works in the saved
search widgets).  The patch just adds an invisible space after the
search widget to get the desirable behavior of `widget-end-of-line'.
The extra space is also added to expected results of emacs tests.
emacs/notmuch-hello.el
test/emacs.expected-output/notmuch-hello
test/emacs.expected-output/notmuch-hello-no-saved-searches
test/emacs.expected-output/notmuch-hello-with-empty