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

Previous Next

Package: emacs;

Reported by: "Stefan Monnier" <monnier <at> iro.umontreal.ca>

Date: Fri, 23 Jan 2009 08:05:05 UTC

Severity: normal

Merged with 1995

Found in version 23.0.60

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

Bug is archived. No further changes may be made.

Full log


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

From: "Stefan Monnier" <monnier <at> iro.umontreal.ca>
To: "Juanma Barranquero" <lekktu <at> gmail.com>
Cc: "Harry Putnam" <reader <at> newsguy.com>,
        "Emacs Bug Tracker" <submit <at> debbugs.gnu.org>,
        <emacs-devel <at> gnu.org>
Subject: Re: no emacs server variable `server-name'
Date: Fri, 23 Jan 2009 02:56:04 -0500
>> 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.")

We could add a * indeed, although I'm not convinced it's very useful to
set it interactively.

>   (put 'server-name 'variable-interactive "M")

No idea what this does.

> if not a defcustom.

That's another option.


        Stefan




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.