unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* server-start and server-name doesn't seem to work
@ 2009-10-16 18:07 Harry Putnam
  2009-10-16 18:25 ` Óscar Fuentes
  2009-10-16 20:34 ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Harry Putnam @ 2009-10-16 18:07 UTC (permalink / raw)
  To: emacs-devel

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)







^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-10-17  5:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16 18:07 server-start and server-name doesn't seem to work Harry Putnam
2009-10-16 18:25 ` Ó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

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