From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: read-event in batch mode Date: Sun, 02 Feb 2014 12:11:28 +0000 Message-ID: <87iosx90jz.fsf@spindle.srvr.nix> References: <831tzo74oz.fsf@gnu.org> <83sis45h3a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391343108 15892 80.91.229.3 (2 Feb 2014 12:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2014 12:11:48 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 02 13:11:55 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W9vtz-0002My-CP for ged-emacs-devel@m.gmane.org; Sun, 02 Feb 2014 13:11:55 +0100 Original-Received: from localhost ([::1]:41013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9vty-0001AA-Q6 for ged-emacs-devel@m.gmane.org; Sun, 02 Feb 2014 07:11:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9vtr-00018z-Jt for emacs-devel@gnu.org; Sun, 02 Feb 2014 07:11:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9vtn-00068I-8T for emacs-devel@gnu.org; Sun, 02 Feb 2014 07:11:47 -0500 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:43372 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9vth-00060A-Dc; Sun, 02 Feb 2014 07:11:37 -0500 Original-Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id s12CBSjE023393; Sun, 2 Feb 2014 12:11:28 GMT Emacs: the prosecution rests its case. In-Reply-To: <83sis45h3a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 31 Jan 2014 17:03:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-DCC-wuwien-Metrics: spindle 1290; Body=3 Fuz1=3 Fuz2=3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169343 Archived-At: On 31 Jan 2014, Eli Zaretskii said: >> From: Stefan Monnier >> Cc: emacs-devel@gnu.org >> Date: Fri, 31 Jan 2014 09:09:14 -0500 >> >> > Does any port for a supported platform need this fragment, or can we >> > safely delete it? What about the daemon -- does it need this "when >> > detaching from the terminal", and if so, why? >> >> I suspect this code was written so that "emacs --batch" can read input >> from stdin. If the other code works for that, than we can presumably >> get rid of this code. > > Well, the systems that support D-Bus certainly don't need it, as they > haven't been using that code since last May. Windows doesn't need > that, either. That would be around the time when emacs --daemon started "acting up" by going into an unresponsive CPU-chewing loop whenever it asked a question on the console during startup. I have to start Emacs these days by starting a non-daemon Emacs, answering various questions (mostly from desktop.el), quitting (and saving a fixed desktop file), then restarting in daemon mode... -- NULL && (void)