GNU bug report logs -
#23567
find-function-search-for-symbol of find-func.el leaves point moved but should not
Previous Next
Reported by: Robert Weiner <rswgnu <at> gmail.com>
Date: Wed, 18 May 2016 01:41:02 UTC
Severity: normal
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Thu, May 19, 2016 at 7:47 PM, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
> Hi Robert,
>
> On 05/17/2016 10:51 PM, Robert Weiner wrote:
>
> One example of where this causes a problem is in xref-location-marker
>> of elisp-mode.el. Again, that is called simply to return the marker
>> but because it calls find-function-search-for-symbol, it can move
>> point and cause other problems.
>>
>
> Could you please describe a step-by-step scenario illustrating such
> problem? Preferably starting with 'emacs -Q'.
>
As of Emacs 25.0.94, I can no longer replicate the problem, so some updates
must have fixed it. Great. Please close this issue.
If you ever need a test case for this, the following code should show the
definition of outline-show-all in only the upper window but when the bug
existed, both windows would be scrolled to its definition.
(progn
(delete-other-windows)
(find-library "outline")
(display-buffer-pop-up-window "outline.el.gz" nil)
(find-function-search-for-symbol 'outline-show-all nil "outline"))
[Message part 2 (text/html, inline)]
This bug report was last modified 9 years and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.