From: Harry Putnam <reader@newsguy.com>
To: emacs-devel@gnu.org
Subject: server-start and server-name doesn't seem to work
Date: Fri, 16 Oct 2009 13:07:20 -0500 [thread overview]
Message-ID: <87aazrp607.fsf@newsguy.com> (raw)
Looking thru emacs manual for a way to start a server and name it from
a running emacs session like one can do from command line with
emacs --daemon=name
I found a section of the manual under Using Emacs as a Server
(info "(emacs)Emacs Server")
The last paragraph that says:
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::).
But that doesn't appear to work here. (Running yesterdays CVS of
emacs)
After M-x server-start
If I do M-x set-variable <RET> server-name <RET> foo <RET>
I get an error saying:
set-variable: Value `foo' does not match type string of server-name
Here is the debugger output:
Debugger entered--Lisp error: (error "Value `foo' does not match type string of server-name")
signal(error ("Value `foo' does not match type string of server-name"))
error("Value `%S' does not match type %S of %S" foo string server-name)
set-variable(server-name foo nil)
call-interactively(set-variable t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
next reply other threads:[~2009-10-16 18:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-16 18:07 Harry Putnam [this message]
2009-10-16 18:25 ` server-start and server-name doesn't seem to work Óscar Fuentes
2009-10-16 18:49 ` Harry Putnam
2009-10-16 20:34 ` Stefan Monnier
2009-10-16 23:47 ` Harry Putnam
2009-10-17 2:12 ` Stefan Monnier
2009-10-17 5:41 ` Harry Putnam
2009-10-17 2:32 ` Juanma Barranquero
2009-10-17 5:44 ` Harry Putnam
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aazrp607.fsf@newsguy.com \
--to=reader@newsguy.com \
--cc=emacs-devel@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).