From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.devel Subject: server-start and server-name doesn't seem to work Date: Fri, 16 Oct 2009 13:07:20 -0500 Organization: Still searching... Message-ID: <87aazrp607.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255716544 30629 80.91.229.12 (16 Oct 2009 18:09:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Oct 2009 18:09:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 16 20:08:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MyrEN-0007tr-K3 for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2009 20:08:47 +0200 Original-Received: from localhost ([127.0.0.1]:48684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyrEN-000846-1r for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2009 14:08:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyrE3-0007oA-K8 for emacs-devel@gnu.org; Fri, 16 Oct 2009 14:08:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyrDz-0007im-Lw for emacs-devel@gnu.org; Fri, 16 Oct 2009 14:08:27 -0400 Original-Received: from [199.232.76.173] (port=38199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyrDz-0007iV-G0 for emacs-devel@gnu.org; Fri, 16 Oct 2009 14:08:23 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:45640) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyrDz-0001lG-1K for emacs-devel@gnu.org; Fri, 16 Oct 2009 14:08:23 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MyrDg-0007Zp-EQ for emacs-devel@gnu.org; Fri, 16 Oct 2009 20:08:04 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Oct 2009 20:08:04 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Oct 2009 20:08:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:SP38htNgGnTZucDcA2ZzvGOCyok= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116183 Archived-At: 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 server-name foo ' 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 server-name foo 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)