[PATCH 2/2] emacs: notmuch-search-mode: wrap the documentation string

Carl Worth cworth at cworth.org
Mon Nov 8 09:35:47 PST 2010


On Fri, 14 May 2010 16:42:07 -0400, Nelson Elhage <nelhage at MIT.EDU> wrote:
> This makes for easier reading in the *help* window.

How are you getting unpleasant results here?

I intentionally implemented manual, "incorrect" wrapping in the
source. The idea is that once the text is actually displayed (whether
view `notmuch-help' or `describe-mode') those long command names should
be substituted by shorter keybindings and the final result should be
wrapped nicely.

For example, what I currently get after pressing "?" in a notmuch-search
buffer is as follows:

---
Pressing RET on any line displays that thread. The '+' and '-'
keys can be used to add or remove tags from a thread. The 'a' key
is a convenience for archiving a thread (removing the "inbox"
tag). The '*' key can be used to add or remove a tag from all
threads in the current buffer.

Other useful commands are 'f' for filtering the current search
based on an additional query string, 't' for filtering to include
only messages with a given tag, and 's' to execute a new, global
search.
---

And I think your wrapping change would make that displayed result
incorrect.

Is there something different about your environment that's making this
not work as desired?

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101108/869c2fff/attachment.pgp>


More information about the notmuch mailing list