From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: y-or-n-p and emacs --daemon Date: Thu, 04 Dec 2008 00:29:10 -0500 Message-ID: References: <18742.25383.80136.946560@a1i15.kph.uni-mainz.de> <87ocztcy3t.fsf@grumblesmurf.org> <87abbdm4t8.fsf@cyd.mit.edu> <200812031953.mB3Jr4qh027604@mothra.ics.uci.edu> <874p1lj7bp.fsf@cyd.mit.edu> <200812040302.mB432Xv5000150@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228368655 19806 80.91.229.12 (4 Dec 2008 05:30:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 05:30:55 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org, Espen Wiborg To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 04 06:31:58 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 1L86of-00055T-HO for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 06:31:57 +0100 Original-Received: from localhost ([127.0.0.1]:50558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L86nV-00083C-4D for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 00:30:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L86m3-0007i5-KQ for emacs-devel@gnu.org; Thu, 04 Dec 2008 00:29:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L86m2-0007he-3v for emacs-devel@gnu.org; Thu, 04 Dec 2008 00:29:15 -0500 Original-Received: from [199.232.76.173] (port=37731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L86m1-0007hU-QN for emacs-devel@gnu.org; Thu, 04 Dec 2008 00:29:13 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:45060 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L86m1-0004G4-CA for emacs-devel@gnu.org; Thu, 04 Dec 2008 00:29:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar0EAPL4NknO+Jkl/2dsb2JhbACBbc5FgwGBI4JC X-IronPort-AV: E=Sophos;i="4.33,712,1220241600"; d="scan'208";a="30630053" Original-Received: from 206-248-153-37.dsl.teksavvy.com (HELO pastel.home) ([206.248.153.37]) by ironport2-out.teksavvy.com with ESMTP; 04 Dec 2008 00:29:12 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AC5F88BAF; Thu, 4 Dec 2008 00:29:10 -0500 (EST) In-Reply-To: <200812040302.mB432Xv5000150@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 3 Dec 2008 19:02:33 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:106548 Archived-At: >> answer is ignored (or is it?). > It's not ignored, the input is not setup right. > strace shows: > select(1, [], NULL, NULL, {100000, 0} > ^^^ > select is waiting on a empty set of descriptors Oh, I see. > so noninteractive || IS_DAEMON is probably missing in some place(s). Yes sounds right, tho I'd probably use FRAME_INITIAL_P (SELECTED_FRAME ()) isntead. Stefan