GNU bug report logs -
#23576
[documentation] ‘Using Emacs as a Server’: ‘M-x set-variable RET server-name RET foo RET’
Previous Next
Reported by: Dmitry Alexandrov <321942 <at> gmail.com>
Date: Wed, 18 May 2016 19:26:01 UTC
Severity: minor
Fixed in version 26.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23576 in the body.
You can then email your comments to 23576 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23576
; Package
emacs
.
(Wed, 18 May 2016 19:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dmitry Alexandrov <321942 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 18 May 2016 19:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Chapter 38 ‘Using Emacs as a Server’ in ‘GNU Emacs Manual’ says [0] the
following:
You can run multiple Emacs servers on the same machine by giving
each one a unique “server name”, using the variable server-name. For
example, M-x set-variable RET server-name RET foo RET sets the
server name to ‘foo’.
[0]
https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html
First of all, ‘M-x set-variable RET server-name RET foo RET’ just does
not work, returning “Value ‘foo’ does not match type string of
server-name”. It actually should be ‘M-x set-variable RET server-name
RET "foo" RET’, since ‘server-name’ requires a string.
However, I found this example pretty confusing in general: when the
server is not started yet, setting ‘server-name’ with ‘M-x set-variable’
is impossible (variable does not exist yet); when the server is already
running, there is no much sense in setting it, since it does not rename
the instance on-the-fly.
¿Would not it be more useful to give as an example of how to start
multiple Emacs servers something like:
$ emacs --eval '(setq server-name "foo")' --daemon
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Wed, 18 May 2016 19:54:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dmitry Alexandrov <321942 <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 18 May 2016 19:54:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 23576-done <at> debbugs.gnu.org (full text, mbox):
> From: Dmitry Alexandrov <321942 <at> gmail.com>
> Date: Wed, 18 May 2016 22:25:38 +0300
>
> Chapter 38 ‘Using Emacs as a Server’ in ‘GNU Emacs Manual’ says [0] the
> following:
>
> You can run multiple Emacs servers on the same machine by giving
> each one a unique “server name”, using the variable server-name. For
> example, M-x set-variable RET server-name RET foo RET sets the
> server name to ‘foo’.
>
> [0]
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html
>
> First of all, ‘M-x set-variable RET server-name RET foo RET’ just does
> not work, returning “Value ‘foo’ does not match type string of
> server-name”. It actually should be ‘M-x set-variable RET server-name
> RET "foo" RET’, since ‘server-name’ requires a string.
Fixed on the release branch.
> However, I found this example pretty confusing in general: when the
> server is not started yet, setting ‘server-name’ with ‘M-x set-variable’
> is impossible (variable does not exist yet);
Fixed on master branch.
> when the server is already running, there is no much sense in
> setting it, since it does not rename the instance on-the-fly.
But it affects the next one.
> ¿Would not it be more useful to give as an example of how to start
> multiple Emacs servers something like:
>
> $ emacs --eval '(setq server-name "foo")' --daemon
I added this, but I don't think it should replace what's in the
manual: not all the uses of the server are in daemon sessions.
Thanks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 16 Jun 2016 11:24:04 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 14 Nov 2017 17:28:02 GMT)
Full text and
rfc822 format available.
bug Marked as fixed in versions 26.1.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 14 Nov 2017 17:28:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 13 Dec 2017 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.