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

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

bug#28645: Status: 26.0.50; semantic-ia-fast-jump jumps to a random plac


From: Dmitry Gutov
Subject: bug#28645: Status: 26.0.50; semantic-ia-fast-jump jumps to a random place in buffer
Date: Tue, 17 Oct 2017 13:44:30 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0

On 10/16/17 1:21 PM, Bastian Beischer wrote:

​I replaced ​switch-to-buffer with pop-to-buffer-same-window in those functions which I'm using regularly and it fixes the problem. The CEDET functions where I made the replacements and checked them are:

semantic-analyze-proto-impl-toggle
semantic-complete-jump
semantic-decoration-include-visit
semantic-ia--fast-jump-helper
semantic-mrub-vist
senator-jump
senator-jump-regexp
​senator-go-to-up-reference

​I didn't make any other replacements because:

a) For some of them I'm not sure if 'pop-to-buffer-same-window' or 'pop-to-buffer' ​should be used. b) I'm not using any of the other functions with matches so I wouldn't be able to test the change.

Also, searching for 'switch-to-buffer' in non-CEDET related lisp files in the emacs sources reveals more places which need to be fixed, but I didn't go that far. However, probably somebody (tm) should check them all one-by-one :-(

Could you send a patch with the replacements you did make?





reply via email to

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