emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: describe-char


From: Juri Linkov
Subject: Re: describe-char
Date: Tue, 27 Dec 2005 21:03:08 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> I can see a point to your proposition to save the whole buffer content, tho
> I'd do it generically in help-setup-xref:
> [...]
> and then update all uses of help-xref-stack-item.

I think this would be a good generic solution.

> But I also like the current behavior which recomputed the contents, because
> I use it specifically for this purpose: to update the help based on the
> new state (I typically use this for describe-variable).
>
> But maybe the two should be separated: provide a refresh command (which
> could be used in revert-buffer-function as well) which uses the
> help-xref-stack-item info, while the help-xref-go-back would reproduce the
> original buffer contents.

One standard key to revert the buffer contents is `g'.  Since the help buffer
is in view mode, it is currently bound in the help buffer to `View-goto-line'.
But we already have a key sequence exactly for this: `M-g M-g'.  So we
could bind `M-g M-g' to `View-goto-line' in view mode, and bind `g' in
help mode to a refresh command.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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