From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Andreas Schwab <schwab@linux-m68k.org>, 13319@debbugs.gnu.org
Subject: bug#13319: 24.2.91; emacsclient doesn't find server with nonstandard name
Date: Thu, 15 Jul 2021 17:56:19 +0200 [thread overview]
Message-ID: <87czrjina4.fsf@gnus.org> (raw)
In-Reply-To: <8738ym3ren.fsf@web.de> (Michael Heerdegen's message of "Mon, 31 Dec 2012 21:20:16 +0100")
Michael Heerdegen <michael_heerdegen@web.de> writes:
>> > Obviously this is not fulfilled here. And it is no useful behavior. If
>> > only one server is running (and the socket is located under the
>> > canonical path), emacsclient should find and use it.
>>
>> This is questionable. How does it know that a random socket is a emacs
>> server socket?
>
> Here on Debian, it looks under /tmp/emacs$UID. Can there be any other
> socket?
This was eight years ago, and some things have changed in this area
(like the location of the server socket), but the issue still remains, I
think? That is, the client won't look around for a socket with a
non-standard name.
But I tend to think that this is actually the correct behaviour --
having emacsclient guess at what socket name to use sounds a bit too
DWIM to me: I may deliberately have set up a server to do one very
specific thing under a non-standard name, and I would not want any
random emacsclient invocation to use that special server just because it
can't find the standard socket. (Which I may just have forgotten to
start the server for.)
So I think this behaves as it should. Anybody else got another opinion?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-07-15 15:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-31 17:11 bug#13319: 24.2.91; emacsclient doesn't find server with nonstandard name Michael Heerdegen
2012-12-31 19:34 ` Andreas Schwab
2012-12-31 20:20 ` Michael Heerdegen
2021-07-15 15:56 ` Lars Ingebrigtsen [this message]
2021-07-16 1:08 ` Michael Heerdegen
2021-07-16 8:49 ` Lars Ingebrigtsen
2021-07-16 11:24 ` Eli Zaretskii
2021-07-16 12:51 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czrjina4.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=13319@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.