[Top][All Lists]
[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/
- Re: describe-char, (continued)
- Re: describe-char, Stefan Monnier, 2005/12/24
- Re: describe-char, Juri Linkov, 2005/12/24
- Re: describe-char, Stefan Monnier, 2005/12/25
- Re: describe-char, Juri Linkov, 2005/12/26
- Re: describe-char, Nick Roberts, 2005/12/26
- Re: describe-char, Juri Linkov, 2005/12/27
- Re: describe-char, Nick Roberts, 2005/12/27
- Re: describe-char, Juri Linkov, 2005/12/27
- Re: describe-char, Stefan Monnier, 2005/12/28
- Re: describe-char, Stefan Monnier, 2005/12/27
- Re: describe-char,
Juri Linkov <=
- Re: describe-char, Richard M. Stallman, 2005/12/28
- Re: describe-char, Nick Roberts, 2005/12/23
- Re: describe-char, Richard M. Stallman, 2005/12/23