From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: emacs --daemon should provide a way to get its process id Date: Sun, 2 Nov 2008 03:18:35 +0100 Message-ID: References: <18699.23113.985700.25955@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225592332 18413 80.91.229.12 (2 Nov 2008 02:18:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2008 02:18:52 +0000 (UTC) Cc: Ulrich Mueller , emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 02 03:19:53 2008 connect(): Connection refused 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 1KwSZF-0003fc-H9 for ged-emacs-devel@m.gmane.org; Sun, 02 Nov 2008 03:19:53 +0100 Original-Received: from localhost ([127.0.0.1]:49711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwSY8-000136-Mu for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2008 22:18:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwSY4-00012x-QC for emacs-devel@gnu.org; Sat, 01 Nov 2008 22:18:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwSY0-00011q-5I for emacs-devel@gnu.org; Sat, 01 Nov 2008 22:18:40 -0400 Original-Received: from [199.232.76.173] (port=32894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwSY0-00011g-0J for emacs-devel@gnu.org; Sat, 01 Nov 2008 22:18:36 -0400 Original-Received: from mail-gx0-f16.google.com ([209.85.217.16]:37559) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwSXz-00011c-Vm for emacs-devel@gnu.org; Sat, 01 Nov 2008 22:18:36 -0400 Original-Received: by gxk9 with SMTP id 9so346399gxk.18 for ; Sat, 01 Nov 2008 19:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=6tdANbwkiH2zdY5GCE/9Yu2AY0BstRHzAOVecACvcUs=; b=pQR0H5EjRqx+ITfptPJgHrNLNMZWZ6fS/fIjMJ9NNDe8VNtzAPY6LPZ/BgXWGZAsEF vlL2ITai6PmbBlxlgWx3661NsSOv4JHvSvVYs0S8c1Ht3ofnmHG61tZnWrPpTZTUjcJm TL+1NJMLZ6JkGXJl3yC30PML1wHZcqCJLWzIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=b1wz526iOATW68PzPaOvUit7DUya1QK5tiG/4B+BzsAtAXdAjhdcdysw9yZ11IZUSK cnE+YpH3bhzeon4xDHTOY/JHPAI0alyBHitD2mdo5yEYopT6WJj79iFOu+VrAwJLa3l/ Zabu7Uvrf1F9Zs4cL4DnLCTruAF+Ty4RCMR0I= Original-Received: by 10.100.214.15 with SMTP id m15mr2116587ang.81.1225592315376; Sat, 01 Nov 2008 19:18:35 -0700 (PDT) Original-Received: by 10.100.13.13 with HTTP; Sat, 1 Nov 2008 19:18:35 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:105254 Archived-At: On Sun, Nov 2, 2008 at 02:55, Stefan Monnier wrote: > You can use the --eval argument to make the daemon write its (emacs-pid) > to some file. I think that'll be enough for now. Also, if server.el is configured to use TCP, the emacs pid is written to the server authentication file. Juanma