GNU bug report logs -
#28645
26.0.50; semantic-ia-fast-jump jumps to a random place in buffer
Previous Next
Reported by: Constantine <hi-angel <at> yandex.ru>
Date: Fri, 29 Sep 2017 13:25:01 UTC
Severity: normal
Found in version 26.0.50
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #31 received at 28645 <at> debbugs.gnu.org (full text, mbox):
> I understand. Then this must mean that the change in behavior in CEDET
> was triggered with this commit:
>
> commit ee297210cffb9e8d05912686a39fa158414ba050
> Author: Mark Oteiza <mvoteiza <at> udel.edu>
> Date: Thu May 26 21:47:18 2016 -0400
Right.
> I also understand your other arguments. But the question is: While
> your recommendation makes sense, there clearly still is a lot of code
> which uses switch-to-buffer without binding
> switch-to-buffer-preserve-window-point to nil and it wasn't fixed when
> this variable's default was changed. This is true in lisp code shipped
> in emacs and it is probably also true for lots of third party code in
> the wild. Who is going to fix all this code? And if it turns out that
> the fixing all this code is too difficult / impossible, is it
> justified to fix bug #4041 at the cost of causing numerous other bugs
> (which arguably are due to misuse of switch-to-buffer, but they will
> have to be fixed either way)?
This would have the banal consequence that all users who then set
‘switch-to-buffer-preserve-window-point’ to a non-nil value would have
to live with the wrong behavior forever: Nobody would care about fixing
it because "the default" DTRT already.
martin
This bug report was last modified 7 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.