xplr icon indicating copy to clipboard operation
xplr copied to clipboard

How can I use "emacsclient -t" as EDITOR for xplr?

Open oscarvarto opened this issue 9 months ago • 5 comments

I can use nvim as EDITOR, as well as "emacsclient -c" (it opens a GUI window). But I'd like to use the emacsclient in a terminal (-t option). However, if I execute something like (using fish shell):

EDITOR="emacsclient -t" xplr

then I get the following error in xplr:

01:56:02|ERROR) process exited with code exit status: 1 

It is possible if I use emacs -nw as EDITOR, but it has the disadvantage of starting up another instance of emacs with the complete configuration (it takes time). My last resort would be to fall back to nvim, but I prefer emacs.

oscarvarto avatar Oct 16 '23 02:10 oscarvarto