all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier@iro.umontreal.ca>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Emacs Bug Tracker <submit@emacsbugs.donarmstrong.com>,
	Harry Putnam <reader@newsguy.com>,
	emacs-devel@gnu.org
Subject: bug#1999: no emacs server variable `server-name'
Date: Fri, 23 Jan 2009 02:56:04 -0500	[thread overview]
Message-ID: <jwvk58mfoe7.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <f7ccd24b0901221603r7efdcd53w3dc52a1a64b15679@mail.gmail.com>(Juanma Barranquero's message of "Fri, 23 Jan 2009 01:03:03 +0100")

>> 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






  parent reply	other threads:[~2009-01-23  7:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 23:25 no emacs server variable `server-name' Harry Putnam
2009-01-23  0:03 ` bug#1995: " Juanma Barranquero
2009-01-23  0:03 ` Juanma Barranquero
2009-01-23  5:00   ` bug#1995: marked as done (no emacs server variable `server-name') Emacs bug Tracking System
2009-01-23  7:56   ` Stefan Monnier [this message]
2009-01-23  8:24     ` no emacs server variable `server-name' Juanma Barranquero

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=jwvk58mfoe7.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1999@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=reader@newsguy.com \
    --cc=submit@emacsbugs.donarmstrong.com \
    /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.