From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Gary ." Newsgroups: gmane.emacs.help Subject: Re: emacs daemon.. but quietly Date: Tue, 23 Mar 2010 19:30:46 +0100 Message-ID: <20100323183046.GA3980@mimosa.garydjones.name> References: <20100322182946.GA8597@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269369344 14886 80.91.229.12 (23 Mar 2010 18:35:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2010 18:35:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 23 19:35:39 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nu8x0-0000Gm-RX for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Mar 2010 19:35:39 +0100 Original-Received: from localhost ([127.0.0.1]:43150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu8x0-00075E-7Q for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Mar 2010 14:35:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nu8wT-0006y0-HR for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 14:35:05 -0400 Original-Received: from [140.186.70.92] (port=53560 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu8wS-0006wR-2d for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 14:35:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nu8wQ-0001bz-6Z for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 14:35:03 -0400 Original-Received: from mail-fx0-f222.google.com ([209.85.220.222]:35401) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nu8wQ-0001bZ-1x for help-gnu-emacs@gnu.org; Tue, 23 Mar 2010 14:35:02 -0400 Original-Received: by fxm22 with SMTP id 22so2219504fxm.34 for ; Tue, 23 Mar 2010 11:35:00 -0700 (PDT) Original-Received: by 10.223.60.142 with SMTP id p14mr80737fah.47.1269369300215; Tue, 23 Mar 2010 11:35:00 -0700 (PDT) Original-Received: from localhost (77-58-243-207.dclient.hispeed.ch [77.58.243.207]) by mx.google.com with ESMTPS id z10sm12115049fka.1.2010.03.23.11.34.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Mar 2010 11:34:59 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20100322182946.GA8597@tomas> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72462 Archived-At: > You might just redirect that to /dev/null like so: > > emacs --daemon > /dev/null 2>&1 I was right, I had tried this, or something like it, and it didn't work, at least not perfectly. It might be that I forgot to do the "2>&1", I'm not sure, but anyway your way works just fine. It doesn't work if I try it with the emacsclient --alternate-editor "trick", I just get dumped back to the command line instead of it starting any kind of emacs. I guess I will have to decide between the two methods. I'm leaning towards mine (yours and mine), because it means there is never a delay when starting emacs, which is somehow gratifying (I find a delay when starting the first bash session of the day acceptable, although in fact I might even try emacs --daemon > /dev/null 2>&1 & meaning I might not even see that)