From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17497: 24.4.50; TTY menu glitches Date: Thu, 05 Jun 2014 18:02:16 +0300 Message-ID: <83tx7z5rif.fsf@gnu.org> References: <838upgbnra.fsf@gnu.org> <20140601171244.GA9362@aerie.jexium-island.net> <20140601171817.GB9362@aerie.jexium-island.net> <20140603184749.GA3646@aerie.jexium-island.net> <20140604083102.GA4928@aerie.jexium-island.net> <20140604202616.GA4589@aerie.jexium-island.net> <20140605082151.GA4417@aerie.jexium-island.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401980605 10902 80.91.229.3 (5 Jun 2014 15:03:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 15:03:25 +0000 (UTC) Cc: 17497@debbugs.gnu.org, dickey@his.com To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 05 17:03:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WsZCH-0005YT-5C for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 17:03:17 +0200 Original-Received: from localhost ([::1]:41942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZCG-0006N3-Pv for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 11:03:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZC7-0006Ho-MS for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 11:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsZC2-00025C-LL for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 11:03:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZC2-000258-Ix for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 11:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WsZC2-0008F0-3B for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 11:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jun 2014 15:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17497-submit@debbugs.gnu.org id=B17497.140198056431641 (code B ref 17497); Thu, 05 Jun 2014 15:03:02 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 5 Jun 2014 15:02:44 +0000 Original-Received: from localhost ([127.0.0.1]:45875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WsZBf-0008EC-S7 for submit@debbugs.gnu.org; Thu, 05 Jun 2014 11:02:43 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:43012) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WsZBZ-0008De-Lb for 17497@debbugs.gnu.org; Thu, 05 Jun 2014 11:02:37 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N6P00A00AR1WD00@mtaout26.012.net.il> for 17497@debbugs.gnu.org; Thu, 05 Jun 2014 17:59:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6P008MBAYDQU30@mtaout26.012.net.il>; Thu, 05 Jun 2014 17:59:02 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90056 Archived-At: > From: Andreas Schwab > Date: Thu, 05 Jun 2014 10:29:14 +0200 > Cc: 17497@debbugs.gnu.org > > Thomas Dickey writes: > > > start with > > static bool get_input_pending (int); > > > > The code's waiting for a while to ensure that it gets all of the bytes in > > a cursor-key/function-key/mouse-event sequence. > > No, it doesn't. It just reads whatever is pending, without paying > attention to key boundaries. In addition, the function which reads keys isn't called during menu updates, because we call update_frame_1 with its argument force_p non-zero, so update_frame_1 doesn't even pay attention whether there's input available.