emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help-window-select and info-lookup-symbol


From: Helmut Eller
Subject: Re: help-window-select and info-lookup-symbol
Date: Sun, 26 Jul 2009 12:39:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

* martin rudalics [2009-07-26 12:01+0200] writes:

>> The command which prepares and displays the help buffer (in 1 and 3)
>> should probably wipe out the buffer-local variable.
>> Not a big deal.  Is it?
>
> IIUC in that case a `display-buffer' following another would wipe out
> the variable set by the former.  The problem is with recognizing whether
> the buffer `display-buffer' is going to replace in some window was a
> buffer the user switched to "manually" or "automatically".  In the
> former case `display-buffer' should remember the buffer in its
> `old-buffer' variable while in the latter it should leave that variable
> alone.  Currently `display-buffer' has no means to distinguish these
> cases.

I was thinking that a new function or macro would delete the
buffer-local variable before displaying the buffer, something like
with-help-window.  display-buffer would be called in the process but
display-buffer would know nothing about the buffer-local variable.

Helmut





reply via email to

[Prev in Thread] Current Thread [Next in Thread]