all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* no emacs server variable `server-name'
@ 2009-01-22 23:25 Harry Putnam
  2009-01-23  0:03 ` bug#1995: " Juanma Barranquero
  2009-01-23  0:03 ` Juanma Barranquero
  0 siblings, 2 replies; 6+ messages in thread
From: Harry Putnam @ 2009-01-22 23:25 UTC (permalink / raw)
  To: emacs-devel

I've only been using emacsclient a short while.
I thought maybe I'd like to try having two servers.  One with gnus
running and another for some perl scripting I'm working on.

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::).
  
In a recent cvs of emacs-23  






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

* bug#1995: no emacs server variable `server-name'
  2009-01-22 23:25 no emacs server variable `server-name' Harry Putnam
@ 2009-01-23  0:03 ` Juanma Barranquero
  2009-01-23  0:03 ` Juanma Barranquero
  1 sibling, 0 replies; 6+ messages in thread
From: Juanma Barranquero @ 2009-01-23  0:03 UTC (permalink / raw)
  To: Harry Putnam; +Cc: Emacs Bug Tracker, emacs-devel

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






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

* Re: no emacs server variable `server-name'
  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   ` bug#1999: no emacs server variable `server-name' Stefan Monnier
  1 sibling, 2 replies; 6+ messages in thread
From: Juanma Barranquero @ 2009-01-23  0:03 UTC (permalink / raw)
  To: Harry Putnam; +Cc: Emacs Bug Tracker, emacs-devel

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




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

* bug#1995: marked as done (no emacs server variable `server-name')
  2009-01-23  0:03 ` Juanma Barranquero
@ 2009-01-23  5:00   ` Emacs bug Tracking System
  2009-01-23  7:56   ` bug#1999: no emacs server variable `server-name' Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-01-23  5:00 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]


Your message dated Thu, 22 Jan 2009 23:54:13 -0500
with message-id <87ab9ilj0q.fsf@cyd.mit.edu>
and subject line Re: no emacs server variable `server-name'
has caused the Emacs bug report #1995,
regarding no emacs server variable `server-name'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1995: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1995
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3172 bytes --]

From: Juanma Barranquero <lekktu@gmail.com>
To: Harry Putnam <reader@newsguy.com>
Cc: emacs-devel@gnu.org, Emacs Bug Tracker <submit@emacsbugs.donarmstrong.com>
Subject: Re: no emacs server variable `server-name'
Date: Fri, 23 Jan 2009 01:03:03 +0100
Message-ID: <f7ccd24b0901221603r7efdcd53w3dc52a1a64b15679@mail.gmail.com>

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



[-- Attachment #3: Type: message/rfc822, Size: 1453 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Harry Putnam <reader@newsguy.com>, 1995-done@emacsbugs.donarmstrong.com
Subject: Re: no emacs server variable `server-name'
Date: Thu, 22 Jan 2009 23:54:13 -0500
Message-ID: <87ab9ilj0q.fsf@cyd.mit.edu>

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


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

* bug#1999: no emacs server variable `server-name'
  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
  2009-01-23  8:24     ` Juanma Barranquero
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2009-01-23  7:56 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Emacs Bug Tracker, Harry Putnam, emacs-devel

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






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

* Re: no emacs server variable `server-name'
  2009-01-23  7:56   ` bug#1999: no emacs server variable `server-name' Stefan Monnier
@ 2009-01-23  8:24     ` Juanma Barranquero
  0 siblings, 0 replies; 6+ messages in thread
From: Juanma Barranquero @ 2009-01-23  8:24 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Harry Putnam, emacs-devel

On Fri, Jan 23, 2009 at 08:56, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>>   (put 'server-name 'variable-interactive "M")
>
> No idea what this does.

From `set-variable':

  If variable has a `variable-interactive' property, that is used as if
  it were the arg to `interactive' (which see) to interactively read value.

so it would've been better "MIntroduce the server name: " or some such.

> That's another option.

Even better, of course.

    Juanma




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

end of thread, other threads:[~2009-01-23  8:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` bug#1999: no emacs server variable `server-name' Stefan Monnier
2009-01-23  8:24     ` Juanma Barranquero

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.