emacs-devel
[Top][All Lists]
Advanced

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

Re: emacsclient socket ownership


From: Stefan Monnier
Subject: Re: emacsclient socket ownership
Date: Sun, 04 Nov 2018 23:46:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> so it's likely meant for the case where you `su` (or `sudo`) and want to
>> use emacsclient from root but connect to your main (non-root) Emacs server.
> Tramp methods would seem a better alternative for this.

I think they cover fairly different use-cases.   E.g. this emacsclient
trick is used when root sets his $EDITOR to emacsclient and AFAIK Tramp
isn't an option in that case.

> BTW is /tmp still the right default location for these sockets, or
> should it be eg /run or XDG_RUNTIME_DIR these days?

Good question.  /run is not an option for non-root users, I believe.



reply via email to

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