1

Windows 10, Emacs 25.1, Package helm

Here content of my Helm-mini:

step1

As you can see there are buffer with extensions .log and buffers with extenstions .txt If I want to show only buffer with extensions .txt

I use pattern: .txt

Here result: step1

Question: Is it possible to show all buffers with extenstions .log and extensions .txt ?

2

As you can see from the mode line, you can type C-h m for help. It says you can use regular expression to match the buffer name, so this pattern might work for you:

^.*.txt\|.*.log

or more accurately

^.*\.\(txt\|log\)
  • 1
    It's very long expression. It's very difficult for me to remeber it. It's will be good if expression is more simple. Something like this: .log|.txt – Alex Nov 23 '17 at 8:16
  • 1
    @Alex you can ask the maintainer of helm for help by filing an issue on github github.com/emacs-helm/helm – xuchunyang Nov 23 '17 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.