bard / emacs-run-command

Efficient and ergonomic external command invocation for Emacs
https://bard.github.io/emacs-run-command
GNU General Public License v3.0
102 stars 8 forks source link

uniform buffer name #23

Closed p00f closed 1 year ago

p00f commented 1 year ago

I use popper: https://github.com/karthink/popper which lets you toggle windows of "temporary" buffers

Can you make the names of the term buffers uniform so I can add that regex to my popper list? Like eglot for example: "^\\*EGLOT" - anything that starts with *EGLOT

bard commented 1 year ago

Not sure what naming scheme you're suggesting here (where would "EGLOT" come from in your example?) but you can already affect the buffer name by changing the :command-name field of the command definition in a recipe.

Also, glancing at Popper's README, I see one can define popups by predicate, which I imagine would cover all scenarios.

p00f commented 1 year ago

you can already affect the buffer name by changing the :command-name field of the command definition in a recipe.

ah right thanks

Also, glancing at Popper's README, I see one can define popups by predicate, which I imagine would cover all scenarios.

How do I write this predicate? I got :command-name working but this seems better

bard commented 1 year ago

Also, glancing at Popper's README, I see one can define popups by predicate, which I imagine would cover all scenarios.

How do I write this predicate? I got :command-name working but this seems better

No idea, sorry, I'm not familiar with Popper beyond what I saw in the README.