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

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

Re: etags to xref changed navigation


From: Dmitry Gutov
Subject: Re: etags to xref changed navigation
Date: Thu, 25 Apr 2024 03:05:39 +0300
User-agent: Mozilla Thunderbird

On 23/04/2024 21:29, Stefan Monnier wrote:
I'm not sure what the problems would be, concretely, but we can always
solve the problem by making the behavior optional.
I think the reason why it was on M-, before was because repeated
M-. couldn't tell whether you wanted the next, or to start a new search
for whatever point is on now.
That's also my understanding, and I'm suggesting that it distinguishes
the two by checking if `M-.` is used consecutively or not (just like
`C-/` can't easily tell whether you want to keep undoing or you want to redo
the thing you just undid, so it checks whether these `C-/` are
consecutive or not).

In such as scheme, if the first 'M-.' brings you to a beginning of a symbol, the next 'M-.' would be ambiguous: would you want to continue the previous navigation (and go to the second location), or would you want to go to the definition of the new symbol?



reply via email to

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