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: Emacs 23.1 flushes stdin on startup Date: Sat, 29 Aug 2009 23:10:29 -0700 (PDT) Message-ID: <200908300610.n7U6ATbK009790@godzilla.ics.uci.edu> 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 1251612759 12986 80.91.229.12 (30 Aug 2009 06:12:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Aug 2009 06:12:39 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 30 08:12:32 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 1MhdeR-00066w-5A for ged-emacs-devel@m.gmane.org; Sun, 30 Aug 2009 08:12:31 +0200 Original-Received: from localhost ([127.0.0.1]:55038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhdeQ-0006lT-6Y for ged-emacs-devel@m.gmane.org; Sun, 30 Aug 2009 02:12:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhdeF-0006l9-0Q for emacs-devel@gnu.org; Sun, 30 Aug 2009 02:12:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mhde9-0006hp-V3 for emacs-devel@gnu.org; Sun, 30 Aug 2009 02:12:18 -0400 Original-Received: from [199.232.76.173] (port=57326 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mhde9-0006hS-HE for emacs-devel@gnu.org; Sun, 30 Aug 2009 02:12:13 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:42831) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Mhde8-00086J-VW for emacs-devel@gnu.org; Sun, 30 Aug 2009 02:12:13 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7U6AUCv007543; Sat, 29 Aug 2009 23:10:30 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7U6ATbK009790; Sat, 29 Aug 2009 23:10:29 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 28 Aug 2009 20:48:40 -0400") Original-Lines: 15 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7U6AUCv007543 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@godzilla.ics.uci.edu X-detected-operating-system: 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:114871 Archived-At: Stefan Monnier writes: > > 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' ? > > The problem is that we don't want to control whether we query or not, > but also the decision we take based on the (expected) result. > So maybe your code should use a similar xterm-background-mode which can > be set to `dark', `light' or `check'. Sounds like a good idea. I'll do that after Ted's patch is checked in.