From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: TODO Date: Thu, 28 Feb 2008 20:52:56 -0800 Message-ID: <200802290452.m1T4qu9E007590@sallyv1.ics.uci.edu> References: <200802280200.m1S20CN2006536@localhost.localdomain> <87hcfsq0hd.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204261021 23872 80.91.229.12 (29 Feb 2008 04:57:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 04:57:01 +0000 (UTC) Cc: rms@gnu.org, nickrob@snap.net.nz, emacs-devel@gnu.org, Xavier Maillard , Stefan Monnier , "V.Rao" To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 05:57:26 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 1JUxJE-000452-61 for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 05:57:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUxIh-0005Yf-Vs for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 23:56:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUxHz-0004iZ-Ks for emacs-devel@gnu.org; Thu, 28 Feb 2008 23:56:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUxHy-0004hC-Mf for emacs-devel@gnu.org; Thu, 28 Feb 2008 23:56:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUxHy-0004gt-CT for emacs-devel@gnu.org; Thu, 28 Feb 2008 23:56:06 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JUxHr-0004kl-1M; Thu, 28 Feb 2008 23:55:59 -0500 X-ICS-MailScanner-Watermark: 1204865577.65669@/YMkXm8ZlaHhO2b9eGGV0w Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1T4qu9E007590; Thu, 28 Feb 2008 20:52:57 -0800 (PST) In-Reply-To: <87hcfsq0hd.fsf@gmx.de> (Michael Albinus's message of "Thu, 28 Feb 2008 21:39:42 +0100") Original-Lines: 26 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:90828 Archived-At: Michael Albinus writes: > Stefan Monnier writes: > > > You're talking about something different. You're talking about > > auto-starting Emacs (in daemon mode) on demand. This can already be > > done by a few changes to emacsclient.c (to make it run "emacs -f > > server-mode" if the server is not running already). > > I know it is different. I just wanted to show that the same *effect* can > be reached simply by DBus messages (or by extending emacsclient, as you > have shown). > > > What the above TODO item is talking about is the question of how to > > start Emacs without showing any frame. > > I don't see the use case where starting Emacs without a frame is > preferrable over starting it on demand. Is it that Emacs shall run as > background server process? Yep, and not only that, it is the fact that it shall not quit running when the user logs out. This is a good way to access a single emacs session (and keep all the state). The way people do it today is to use "screen" to connect to the machine, run emacs -nw -f server-start and then disconnect the screen session.