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

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

bug#23179: 25.0.92; Restore `M-,' to continue etags search


From: Dmitry Gutov
Subject: bug#23179: 25.0.92; Restore `M-,' to continue etags search
Date: Tue, 9 Apr 2019 02:34:51 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 08.04.2019 22:55, Juri Linkov wrote:

If project-search searches for a regexp, then using a read-regexp
is the right thing.

Sure.

It doesn't have to. fileloop-continue is intended to be used with different
commands (e.g. some with dired- prefix as well).

Maybe an alias with another prefix is in order?

I don't think so. Or else the next step would be to set up multiple
different key bindings, one for each alias. Which is obviously silly.

Then all these commands could share the same key prefix.

You might remember this thread: http://lists.gnu.org/archive/html/emacs-devel/2019-02/msg00424.html

It ended up with me not doing what you're asking for now.

       3. no keybinding

There's no keybinding for project-search either. The user is welcome to
choose some.

Maybe 'M-g M-n'?

That's 'next-error', isn't it?

Again, the user is welcome to choose whatever key binding that suits them.

project-find-regexp, which is a lot handier IMO, has no default key binding
either. I'm using 'C-x g'.

Maybe something like 'M-g f r' with a mnemonics "go find regexp".

Do we have other commands to put under 'M-g f'? Otherwise, seems like a waste of a keystroke.

Overall, I'm not sure; the M-g bindings, so far, all end up with navigation to a single location. Which might be suitable for the fileloop based commands, but less so for the xref ones.

Please go ahead and see if there's general support for this or that new key binding, but since we never had bindings for rgrep, as well as many other frequently-used commands, I don't necessarily feel they're essential.

They could help, though. Aand menu items as well, if we figure out how to distinguish project-find-regexp vs. project-search, and showcase both kinds of commands there.





reply via email to

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