From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Emacs making questions while starting in daemon mode Date: Mon, 05 Jul 2010 18:27:16 +0200 Message-ID: <87wrt9j3mj.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278347260 13089 80.91.229.12 (5 Jul 2010 16:27:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 16:27:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 05 18:27:39 2010 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.69) (envelope-from ) id 1OVoWA-0004VC-Lh for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 18:27:38 +0200 Original-Received: from localhost ([127.0.0.1]:34514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVoW9-0002ba-MY for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 12:27:37 -0400 Original-Received: from [140.186.70.92] (port=42946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVoW2-0002ZI-Ij for emacs-devel@gnu.org; Mon, 05 Jul 2010 12:27:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVoW1-0002Ya-K4 for emacs-devel@gnu.org; Mon, 05 Jul 2010 12:27:30 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:38722) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVoW1-0002Y9-Eg for emacs-devel@gnu.org; Mon, 05 Jul 2010 12:27:29 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OVoVy-0004Qe-NO for emacs-devel@gnu.org; Mon, 05 Jul 2010 18:27:26 +0200 Original-Received: from 219.red-88-24-228.staticip.rima-tde.net ([88.24.228.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jul 2010 18:27:26 +0200 Original-Received: from ofv by 219.red-88-24-228.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jul 2010 18:27:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 219.red-88-24-228.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:BsceuBhbwdX6dcGw18oGm87wSmE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126787 Archived-At: I've just detected the second instance of a problem that consists on asking questions to the user while emacs is starting in daemon mode (see bug#6567) Unless the user is starting emacs from a console, he can't notice the question and emacs sits there forever waiting for an answer. From the POV of the user, the emacs daemon hangs. Maybe all the features that request input from the user should bail out if they are invoked while in daemon mode and there is no console nor frame where to interact? I'm thinking of y-or-n-p, ask-user-about*, read-from-minibuffer, read-password, etc