>> This is not reliable way to restore the old output of `describe-char'
>> since the original buffer might be killed or the character at the old
>> position might be deleted,
>
> The same holds for most/all other uses of help-setup-xref.

So it makes sense to preserve the original contents of the help buffer
in other uses too.

Now I see a new argument `buf' was added to `describe-char' in CVS.
This doesn't work even for normal uses of the help buffer.  Clicking
on any link in the help buffer created by `describe-char' and going
back produces nonsense, because it tries to restore the old contents
based on the old position in the new contents of the help buffer.

OTOH, I've tested that saving the whole old contents as a string
works flawlessly in the help buffer for all links.  Are there reasons
not to use this solution?

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



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to