Pergunta

In Emacs - is there a way I can search an extended command by regex right in the minibuffer? That is - I want to filter commands by regexp and then choose the one I need using IDO or Icicles.

Foi útil?

Solução 3

I've always suspected that Icicles provdies that.

M-x <command-regexp> [PageUp/PageDown]

to browse the commands mathching regexp, and

M-x <command-regexp> [Shift-Tab]

to see the list of commands matching regexp. More here.

Outras dicas

When using ido you can turn on regexp matching by pressing C-t. I use smex and ido together and it works beautifully.

While they are not regexps, the default completion mechanism accepts a * to stand for "anything", so you can do M-x foo*bar ? and it will list all the commands whose name looks like "...foo...bar...".

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top