Subject: Re: bug#28645: Status: 26.0.50; semantic-ia-fast-jump jumps to a random place in buffer

From: Bastian Beischer <[email-masked]>
Date: Thu, 19 Oct 2017 11:41:18 +0200

On Thu, Oct 19, 2017 at 1:46 AM, Dmitry Gutov <[email-masked]> wrote:
> On 10/17/17 3:30 PM, Bastian Beischer wrote:
>>>
>>> Could you send a patch with the replacements you did make?
>>
>>
>> Sure:
>
>
> Thanks! I've pushed it to emacs-26 now.

Hello Dmitry,

thanks a lot. Would you mind installing the attached whitespace fixes
as well as a follow up?

Cheers
Bastian
diff --git a/lisp/cedet/semantic/decorate/include.el b/lisp/cedet/semantic/decorate/include.el
index 9f1825d420..975ba34346 100644
--- a/lisp/cedet/semantic/decorate/include.el
+++ b/lisp/cedet/semantic/decorate/include.el
@@ -467,7 +467,7 @@ its contents.
 	(error "Could not location include %s"
 	       (semantic-tag-name tag)))
        ((get-file-buffer file)
-       (pop-to-buffer-same-window (get-file-buffer file)))
+        (pop-to-buffer-same-window (get-file-buffer file)))
        ((stringp file)
 	(find-file file))
        ))))
diff --git a/lisp/cedet/semantic/senator.el b/lisp/cedet/semantic/senator.el
index 70e04475ab..ea796dd19f 100644
--- a/lisp/cedet/semantic/senator.el
+++ b/lisp/cedet/semantic/senator.el
@@ -530,11 +530,11 @@ Some tags such as includes have other reference features."
        ;; A tag
        ((semantic-tag-p result)
 	(semantic-go-to-tag result)
-       (pop-to-buffer-same-window (current-buffer))
+        (pop-to-buffer-same-window (current-buffer))
 	(semantic-momentary-highlight-tag result))
        ;; Buffers
        ((bufferp result)
-       (pop-to-buffer-same-window result)
+        (pop-to-buffer-same-window result)
 	(pulse-momentary-highlight-one-line (point)))
        ;; Files
        ((and (stringp result) (file-exists-p result))