[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: etags to xref changed navigation
From: |
Stefan Monnier |
Subject: |
Re: etags to xref changed navigation |
Date: |
Wed, 24 Apr 2024 23:34:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>>>> 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?
Not sure which part of my above-quoted text isn't clear: the ambiguity
would be "hand waved" away by saying that when the users hits `M-.` without
doing anything else in between, they are telling Emacs to keep looking
for the same symbol. If they want to start a new search, they should
break the sequence, e.g. with `C-g` or `C-f C-b`, you name it.
IME in most languages `M-.` usually jumps to a symbol which you will
rarely want to use for a new search.
Stefan
- Re: etags to xref changed navigation, (continued)
- Re: etags to xref changed navigation, Eli Zaretskii, 2024/04/22
- Re: etags to xref changed navigation, Stefan Monnier, 2024/04/22
- Re: etags to xref changed navigation, Eli Zaretskii, 2024/04/22
- Re: etags to xref changed navigation, Stefan Monnier, 2024/04/22
- Re: etags to xref changed navigation, Phillip Susi, 2024/04/23
- Re: etags to xref changed navigation, Stefan Monnier, 2024/04/23
- Re: etags to xref changed navigation, Eli Zaretskii, 2024/04/23
- Re: etags to xref changed navigation, Stefan Monnier, 2024/04/23
- Re: etags to xref changed navigation, Eli Zaretskii, 2024/04/24
- Re: etags to xref changed navigation, Dmitry Gutov, 2024/04/24
- Re: etags to xref changed navigation,
Stefan Monnier <=
- Re: etags to xref changed navigation, Dmitry Gutov, 2024/04/25
Re: etags to xref changed navigation, Phillip Susi, 2024/04/23
Re: etags to xref changed navigation, Philip Kaludercic, 2024/04/22