emacs-devel
[Top][All Lists]
Advanced

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

Re: Refreshing Info nodes


From: Juri Linkov
Subject: Re: Refreshing Info nodes
Date: Tue, 15 Jun 2010 00:57:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> Even if g can't be used because it's used for something else,
> M-x revert-buffer RET should either work already or be made to work.

It doesn't work correctly, so it should be made to work.
It fails when the Info buffer has a non-default buffer name,
e.g. "*info*<1>".  In this case `Info-revert-find-node'
pops a new empty buffer "*info*", reads nil values of Info variables,
and kills that empty buffer.  Then after reverting "*info*<1>",
it puts these nil values to Info variables of "*info*<1>"
(Info-history, etc.)

Perhaps a `(eq major-mode 'Info-mode)' check should be added
before `(pop-to-buffer "*info*")' in `Info-revert-find-node'
like in other Info commands.  And it needs to keep the original
buffer name.  I'll try to fix this.


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



reply via email to

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