From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: start emacs without creating frames and connect with emacsclient later Date: Thu, 21 Aug 2008 23:55:22 +0100 Message-ID: <48ADF25A.40102@harpegolden.net> References: <200808131610.m7DGAkvk020047@sallyv1.ics.uci.edu> <200808211720.m7LHKSne001960@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219359495 20375 80.91.229.12 (21 Aug 2008 22:58:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 22:58:15 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 22 00:59:08 2008 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 1KWJ7Q-0001iM-DZ for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2008 00:59:05 +0200 Original-Received: from localhost ([127.0.0.1]:51709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWJ6S-0006yn-BC for ged-emacs-devel@m.gmane.org; Thu, 21 Aug 2008 18:58:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWJ4G-0005xI-2F for emacs-devel@gnu.org; Thu, 21 Aug 2008 18:55:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWJ4E-0005wE-74 for emacs-devel@gnu.org; Thu, 21 Aug 2008 18:55:47 -0400 Original-Received: from [199.232.76.173] (port=47852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWJ4E-0005w6-1m for emacs-devel@gnu.org; Thu, 21 Aug 2008 18:55:46 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:55046) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWJ45-0005pZ-HY; Thu, 21 Aug 2008 18:55:37 -0400 Original-Received: from golden1.harpegolden.net (86-43-169-151.b-ras2.prp.dublin.eircom.net [86.43.169.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 0DBD381E2; Thu, 21 Aug 2008 23:55:29 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: <200808211720.m7LHKSne001960@sallyv1.ics.uci.edu> X-Enigmail-Version: 0.95.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:102795 Archived-At: Dan Nicolaescu wrote: > "Richard M. Stallman" writes: > > > Should something like this go in? We do have a feature freeze, but this > > is quite simple, and it completes the multi-tty functionality, which is > > one of the major features of 23.1. > > > > I think it should go in > > provided you write the text for etc/NEWS AND all the relevant manuals. > > I'll update the all the docs whenever it gets checked in. > > Here's a new version of the patch, now it has code to detach from the > terminal, so it is a real daemon (how scary, emacs is haunted by daemons > now). > FWIW (Which may not be much...), I'm not sure that [not opening an initial frame yet retaining ability to open frames] and [daemonizing (detaching from the process group)] and [starting an emacsclient server] should be conflated to quite such a degree. IMO, a most useful use case for no initial full frame would be in conjunction with systray support i.e. something like emacs --tray (or better a customize variable) that means emacs docks into the systray while obeying X session management. That way one could start emacs like a mail client such as kmail, at gui login, and it would be in the systray, popping up new frames on left click, and perhaps having a right click menu {new frame, start/stop server, quit} or the like. Not sure any of that need to _daemonize_ though (not saying daemonizing isn't useful!) - in fact it might be counterproductive, as emacs might kind of "escape" the session manager.