[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14238: [PATCH] Help page for character description forgets the chara
From: |
Stefan Monnier |
Subject: |
bug#14238: [PATCH] Help page for character description forgets the character |
Date: |
Mon, 22 Apr 2013 10:26:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> On 24.3, emacs -Q
> Type the letters AB, then put point on A. Do describe-char, then put point
> on B, and do describe-char again.
> Change the A to C, the press [back] in *Help*.
> The help page is now for C, not for A. It should be for A; you never did
> describe-char on C.
Not sure if it is really a bug: while the name is "describe-char" what
it does is more like "describe-pos" (and indeed it receives a position
rather than a char as argument).
So when you "back" you ask to redisplay the info about the pos where
A used to be (and where C is now instead).
The data stored with `help-setup-xref' is also used for `revert-buffer'
which lets you refresh the description after the buffer was modified.
Stefan