From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: server-start and server-name doesn't seem to work Date: Fri, 16 Oct 2009 22:12:29 -0400 Message-ID: References: <87aazrp607.fsf@newsguy.com> <874opygau8.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 1255745572 13516 80.91.229.12 (17 Oct 2009 02:12:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2009 02:12:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harry Putnam Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 17 04:12:42 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 1Myymf-0000ru-Kt for ged-emacs-devel@m.gmane.org; Sat, 17 Oct 2009 04:12:41 +0200 Original-Received: from localhost ([127.0.0.1]:57295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Myyme-0006vE-S5 for ged-emacs-devel@m.gmane.org; Fri, 16 Oct 2009 22:12:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyymZ-0006v7-Ri for emacs-devel@gnu.org; Fri, 16 Oct 2009 22:12:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyymV-0006tS-1m for emacs-devel@gnu.org; Fri, 16 Oct 2009 22:12:35 -0400 Original-Received: from [199.232.76.173] (port=56264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyymU-0006tP-RK for emacs-devel@gnu.org; Fri, 16 Oct 2009 22:12:30 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:15101 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyymU-0004i9-E6 for emacs-devel@gnu.org; Fri, 16 Oct 2009 22:12:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtAEAM/E2EpFpY7q/2dsb2JhbACBUdZ9hDEEh30 X-IronPort-AV: E=Sophos;i="4.44,577,1249272000"; d="scan'208";a="47725614" Original-Received: from 69-165-142-234.dsl.teksavvy.com (HELO ceviche.home) ([69.165.142.234]) by ironport2-out.pppoe.ca with ESMTP; 16 Oct 2009 22:12:29 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7B6B1B40DB; Fri, 16 Oct 2009 22:12:29 -0400 (EDT) In-Reply-To: <874opygau8.fsf@newsguy.com> (Harry Putnam's message of "Fri, 16 Oct 2009 18:47:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116191 Archived-At: > From what I see... server-name is not available as a variable *until* > you do `server-start'. At least in a freshly started emacs the cmd > M-x set-variable server-name shows `no match' You don't need to M-x server-start, but you do need to load server.el before you can use set-variable on that var. So either do M-x load-library RET server RET M-x set-variable RET server-name RET "foo" RET M-x server-mode RET or do M-: (setq server-name "foo") RET M-x server-mode RET I prefer this latter one, personally. > But no matter how I go at it... it appears not to work if I name the > server. > at least `emacsclient -s name -c' fails. I can only say that it works for me. Stefan