GNU bug report logs - #1995
no emacs server variable `server-name'

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Fri, 23 Jan 2009 00:10:04 UTC

Severity: normal

Merged with 1999

Found in version 23.0.60

Done: Chong Yidong <cyd <at> stupidchicken.com>

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 1995 in the body.
You can then email your comments to 1995 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1995; Package emacs. (Fri, 23 Jan 2009 00:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 00:10:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Harry Putnam <reader <at> newsguy.com>
Cc: emacs-devel <at> gnu.org, Emacs Bug Tracker <submit <at> debbugs.gnu.org>
Subject: Re: no emacs server variable `server-name'
Date: Fri, 23 Jan 2009 01:03:03 +0100
Package: emacs
Version: 23.0.60

> Reading parts of the documentation I see:
> (info "(emacs)Emacs Server")
>     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'.  The `emacsclient' program can
>  specify a server by name, using the `-s' option (*note emacsclient
>  Options::).

There are several ways to set it (with --daemon=myname, or --eval, or
M-: (setq ...)), but you're right: the documentation states that it is
settable with set-variable, and it is not. At the very least it should
be

  (defvar server-name "server"
     "*Name of the server process.")
  (put 'server-name 'variable-interactive "M")

if not a defcustom.

    Juanma




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Fri, 23 Jan 2009 05:00:03 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Fri, 23 Jan 2009 05:00:03 GMT) Full text and rfc822 format available.

Message #10 received at 1995-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Harry Putnam <reader <at> newsguy.com>, 1995-done <at> debbugs.gnu.org
Subject: Re: no emacs server variable `server-name'
Date: Thu, 22 Jan 2009 23:54:13 -0500
> you're right: the documentation states that it is
> settable with set-variable, and it is not. At the very least it should
> be
>
>   (defvar server-name "server"
>      "*Name of the server process.")
>   (put 'server-name 'variable-interactive "M")
>
> if not a defcustom.

I don't see any problem with making server-name a defcustom, so I went
ahead and did that.




Message #11 received at 1995-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Harry Putnam <reader <at> newsguy.com>, 1995-done <at> debbugs.gnu.org
Subject: Re: no emacs server variable `server-name'
Date: Fri, 23 Jan 2009 09:20:44 +0100
On Fri, Jan 23, 2009 at 05:54, Chong Yidong <cyd <at> stupidchicken.com> wrote:

> I don't see any problem with making server-name a defcustom

I don't see a problem, either. But often these kind of small changes
bring the biggest discussions...

    Juanma




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 20 Feb 2009 15:24:05 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 23 Jan 2010 02:10:04 GMT) Full text and rfc822 format available.

Merged 1995 1999. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 23 Jan 2010 02:10:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Feb 2010 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.