From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.1 flushes stdin on startup Date: Fri, 28 Aug 2009 21:07:49 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87eiqvnzii.fsf@lifelogs.com> References: <4A789738.8090008@roaringpenguin.com> <87r5vquzrc.fsf@jumptrading.com> <87vdkukt0s.fsf@lifelogs.com> <87hbvsauii.fsf@lifelogs.com> <200908281809.n7SI9Mf0022931@godzilla.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 1251511706 27073 80.91.229.12 (29 Aug 2009 02:08:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 02:08:26 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 29 04:08:20 2009 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 1MhDMa-0005EB-7R for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 04:08:20 +0200 Original-Received: from localhost ([127.0.0.1]:54365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhDMZ-0004mp-Ha for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2009 22:08:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhDMT-0004mC-C3 for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:08:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhDMP-0004lc-2F for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:08:12 -0400 Original-Received: from [199.232.76.173] (port=48820 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhDMN-0004lZ-Kt for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:08:07 -0400 Original-Received: from blockstar.com ([208.100.47.114]:59471 helo=mail.blockstar.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhDMN-0005pt-Ay for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:08:07 -0400 Original-Received: from heechee (c-98-227-29-141.hsd1.il.comcast.net [98.227.29.141]) by mail.blockstar.com (Postfix) with ESMTP id 252643E010C; Fri, 28 Aug 2009 21:08:12 -0500 (CDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: (Stefan Monnier's message of "Fri, 28 Aug 2009 20:48:40 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/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:114810 Archived-At: On Fri, 28 Aug 2009 20:48:40 -0400 Stefan Monnier wrote: >> Please see bug#4234, I have a patch there to allow emacs to read the >> background color from xterm so that it can set the correct >> background-mode (and not just default to 'light). >> When that code is allowed to be checked in, >> `xterm-enable-modify-other-keys' will not be appropriate anymore. >> Maybe `xterm-enable-terminal-query' ? SM> The problem is that we don't want to control whether we query or not, SM> but also the decision we take based on the (expected) result. SM> So maybe your code should use a similar xterm-background-mode which can SM> be set to `dark', `light' or `check'. Dan, since you are driving #4234, do you want to just fold my patch into yours and change it to be consistent with your naming, whatever it is when you and Stefan come to agreement? It would certainly be easier since my side is done and not critical for quick inclusion. Thanks Ted