Skip to content

Feature Request: execute some commands (e.g. find-file, dired) on "main" frame

Some eshell commands, like find-file and dired (and whatever may alias to them), are really meant to execute on the main frame, not the popup equake frame.

Consider an alias alias e 'find-file $1'. Regrettably, it fires into the equake frame. As well, even hiding the equake frame first still has that effect, as in alias e '(equake--hide-or-destroy-frame (alist-get (equake--get-monitor) equake--frame)); find-file-other-window $1'.

I'm familiar with find-file-other-frame, but that creates a new frame. I would prefer to use an existing one (typically I have only one) --- so let's call it "the main one that's not equake". Is there a way to fire some commands targeting "the main" frame? Could display-buffer-use-some-frame be part of the answer?