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

Nelson Elhage nelhage at MIT.EDU
Sat May 15 14:07:42 PDT 2010


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...
> 
> > I am sure there is a variable that customizes the help-buffer behavior,
> > isn't there? :-)
> 
> DOH, I should have known :-). Emacs 23.1 has: "help-window-select" which
> when set to 't behaves as I want it. It creates a split help window and
> selects it. When pressing 'q' it deletes the frame.
> 
> This should go into the wiki or some other documentation. Or we should
> set it locally for notmuch-help.

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.

> 
> For notmuch-help I actually don't need a split window (I want
> temporarily see as much info as possible and close the buffer quickly),
> does the help-window thing also allow for that?

I'm not sure. My emacs frame is always split, so it just opens in the
other window for me, which is what I want. I'm sure some quick source-
or documentation- diving would answer whether with-help-window can be
made to re-use the current window, but I haven't done that.

Thanks for giving it a try,

- Nelson

> 
> Thanks in any case.
> Sebastian



More information about the notmuch mailing list