[PATCH 1/2] emacs: notmuch-help: Integrate into the emacs help system.

Carl Worth cworth at cworth.org
Mon Nov 8 09:29:42 PST 2010


On Sat, 15 May 2010 17:07:42 -0400, Nelson Elhage <nelhage at MIT.EDU> wrote:
> On Fri, 14 May 2010 15:47:24 -0700, "Sebastian Spaeth" <Sebastian at sspaeth.de> wrote:
> > On 2010-05-14, Sebastian Spaeth wrote:
> > > I just tried this and one thing I did not like...
...
> It's worth documenting. I'd prefer not to override it in notmuch-help,
> because it's important to me that it behave like other help functions in
> emacs. users could defadvice it or something if they really want.

Hi Nelson,

I appreciate your desire to make notmuch work more consistently for
experienced users of emacs.

But this is a case where I think the emacs defaults are wrong for a new
user, (I'm imagining someone getting started with notmuch and that
otherwise doesn't use emacs regularly).

For a user like this I think it's important for the notmuch emacs
interface to not do any window-splitting by default. Without any
splitting the new user is given a consistent experience, (notmuch often
opens new windows and the user can clear any window by pressing "q" and
seeing the previous window).

But with window splitting, the user now needs to know a new command for
undoing the split, (such as C-x 1) or for switching between the windows
(such as C-x o).

So for this particular feature, I want the default behavior to open the
help window just like any other notmuch window, (even though that
doesn't match what emacs typically does for help windows). Then the
"experienced" emacs suers can be given a configuration option to get the
desired behavior.

Would you care to put together a patch to do that?

-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/c586b60f/attachment.pgp>


More information about the notmuch mailing list