News for hackers. Stuff that matters.
Re:Using Emacs as $Editor by senkora on Monday October 02, 2023 @03:58PM (#37743638)
Does it not just start a new Doom workspace for the new frame? I’m curious because I use Doom workspaces a lot and might consider setting EDITOR=emacsclient
Re:Using Emacs as $Editor by karmajunkie on Tuesday October 03, 2023 @12:13PM (#37753853)
ok, here's my actual invocation per my .zshrc:

`alias ec="emacsclient -s console -a '' -nw -r"`

It doesn't start a new doom workspace /most/ of the time. Sometimes i'll get a new one if i've got multiple editors opening up the same file, I think. But the `-s` flag starts a console server that at least keeps those out of my main emacs window (I use the gui version from emacs-plus)

Re:Using Emacs as $Editor by bruh2 on Wednesday October 04, 2023 @02:34PM (#37769605)
It only creates a new workspace if you're connecting to your main Emacs' server. If you have a separate daemon launched with `emacs --fg-daemon=cli`, then connecting with `emacsclient --socket-name=cli` won't pollute your main Emacs with a new workspace:)