bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23567: find-function-search-for-symbol of find-func.el leaves point


From: Robert Weiner
Subject: bug#23567: find-function-search-for-symbol of find-func.el leaves point moved but should not
Date: Mon, 23 May 2016 13:53:23 -0400

On Thu, May 19, 2016 at 7:47 PM, Dmitry Gutov <address@hidden> 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"))


reply via email to

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