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:19:28 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87zl9jmken.fsf@lifelogs.com> References: <4A789738.8090008@roaringpenguin.com> <87r5vquzrc.fsf@jumptrading.com> <87vdkukt0s.fsf@lifelogs.com> <87hbvsauii.fsf@lifelogs.com> <19096.1406.831975.819484@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251512402 28555 80.91.229.12 (29 Aug 2009 02:20:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 02:20:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 29 04:19:55 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 1MhDXk-0007VF-6c for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 04:19:52 +0200 Original-Received: from localhost ([127.0.0.1]:52636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhDXj-0003NN-IX for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2009 22:19:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhDXf-0003NI-N6 for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:19:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhDXb-0003Me-UN for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:19:47 -0400 Original-Received: from [199.232.76.173] (port=43950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhDXb-0003MY-JE for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:19:43 -0400 Original-Received: from blockstar.com ([208.100.47.114]:51046 helo=mail.blockstar.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhDXb-0000Ju-AW for emacs-devel@gnu.org; Fri, 28 Aug 2009 22:19:43 -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 21D293E010C; Fri, 28 Aug 2009 21:19:51 -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: <19096.1406.831975.819484@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Fri, 28 Aug 2009 18:27:42 +0200") 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:114812 Archived-At: On Fri, 28 Aug 2009 18:27:42 +0200 Ulrich Mueller wrote: >>>>>> On Fri, 28 Aug 2009, Ted Zlatanov wrote: >> I haven't seen a response from Stefan (about the code rewrite) or Johan >> (about the naming). Can you please let me know if the patch is OK? UM> Sorry, but introducing a config variable to work around this problem UM> looks broken to me. UM> Isn't there any better solution? For example, can't the pending input UM> be saved and stuffed back into the input buffer, instead of discarding UM> it? Emacs already tries to DTRT so this overrides it when the user wants or it can't guess accurately. See http://article.gmane.org/gmane.emacs.help/66789 for the original post. I think (from looking at the code) that doing it without a variable would require much more complicated code, and the benefit would be small. I could certainly be wrong, though. Ted