From: Constantine <hi-angel@yandex.ru>
To: Dmitry Gutov <dgutov@yandex.ru>, 28645@debbugs.gnu.org
Subject: bug#28645: 26.0.50; semantic-ia-fast-jump jumps to a random place in buffer
Date: Fri, 29 Sep 2017 17:57:11 +0300 [thread overview]
Message-ID: <9220e4cf-132b-1ee0-4395-006ee1e79f64@yandex.ru> (raw)
In-Reply-To: <be6844ca-c3f0-a44a-a8be-997f568193a2@yandex.ru>
On 29.09.2017 17:42, Dmitry Gutov wrote:
> On 9/29/17 3:23 PM, Constantine wrote:
> '> Result: it jumped to "myfunc2" declaration, not to "myfunc1" as it ought
>> to.
>>
>> I also want to note that though ATM I am using emacs-git, I've seen the
>> problem for don't remember how long, just didn't report.
>
> Thanks for the report. You appear to have fallen victim of our windowing
> improvements. I'm not sure this is the correct fix (Martin?), but here's
> a patch that seems to correct the behavior.
>
> diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el
> index d4201fcf51..0692d03aca 100644
> --- a/lisp/cedet/semantic/ia.el
> +++ b/lisp/cedet/semantic/ia.el
> @@ -322,7 +322,8 @@ semantic-ia--fast-jump-helper
> (semantic-go-to-tag dest)
> ;; 3) go-to-tag doesn't switch the buffer in the current window,
> ;; so it is like find-file-noselect. Bring it forward.
> - (switch-to-buffer (current-buffer))
> + (let (switch-to-buffer-preserve-window-point)
> + (switch-to-buffer (current-buffer)))
> ;; 4) Fancy pulsing.
> (pulse-momentary-highlight-one-line (point))
> )
Yay, thank you, works for me!
Tested-by: Constantine Kharlamov <Hi-Angel@yandex.ru>
next prev parent reply other threads:[~2017-09-29 14:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-29 13:23 bug#28645: 26.0.50; semantic-ia-fast-jump jumps to a random place in buffer Constantine
2017-09-29 14:42 ` Dmitry Gutov
2017-09-29 14:57 ` Constantine [this message]
2017-09-29 18:18 ` martin rudalics
2017-09-30 14:19 ` Dmitry Gutov
2017-10-03 9:40 ` bug#28645: Status: " Bastian Beischer
2017-10-04 9:03 ` martin rudalics
2017-10-04 11:11 ` Bastian Beischer
2017-10-05 8:09 ` martin rudalics
2017-10-15 23:06 ` Dmitry Gutov
2017-10-16 10:21 ` Bastian Beischer
2017-10-17 8:58 ` martin rudalics
2017-10-17 10:44 ` Dmitry Gutov
2017-10-17 12:30 ` Bastian Beischer
2017-10-18 23:46 ` Dmitry Gutov
2017-10-19 9:41 ` Bastian Beischer
2017-10-19 10:03 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9220e4cf-132b-1ee0-4395-006ee1e79f64@yandex.ru \
--to=hi-angel@yandex.ru \
--cc=28645@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.