emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding with-editor to Emacs?


From: Jim Porter
Subject: Re: Adding with-editor to Emacs?
Date: Fri, 1 Sep 2023 10:25:59 -0700

On 9/1/2023 9:12 AM, Eli Zaretskii wrote:
From: Jonas Bernoulli <jonas@bernoul.li>
Cc: rms@gnu.org
Date: Fri, 01 Sep 2023 16:38:02 +0200

I think the next step is to ask Eli and others, how they would want to
integrate the library / the functionality it provides.

I'm probably missing something because if all we want is to allow
child processes to use the current Emacs session as their editor, we
just need to inject some environment variables into
process-environment when running those child processes, and start the
server.  Emacs knows very well where to find its corresponding
emacsclient.  Why is there a need for a separate library?

I'm not totally sure *all* of what with-editor does, but it does let you do this over Tramp too (still using your local emacsclient). That requires a bit more magic to get it work.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]