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#16479: 24.3.50; daemon freeze with tty menus Date: Sun, 26 Jan 2014 05:52:33 +0200 Message-ID: <83bnyzbdry.fsf@gnu.org> References: <87y52fgd5g.fsf@holos.localdomain> <83ha93kk5m.fsf@gnu.org> <87eh4652o0.fsf@holos.localdomain> <83fvomlv7w.fsf@gnu.org> <83eh46lsy5.fsf@gnu.org> <838uueljdv.fsf@gnu.org> <834n52l9qh.fsf@gnu.org> <8361peilxe.fsf@gnu.org> <83y52ah2f9.fsf@gnu.org> <83vbxegxps.fsf@gnu.org> <83a9ekcrg2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1390708392 17052 80.91.229.3 (26 Jan 2014 03:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 03:53:12 +0000 (UTC) Cc: mvoteiza@udel.edu, 16479@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 26 04:53:16 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 1W7GmY-00036o-OE for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jan 2014 04:53:14 +0100 Original-Received: from localhost ([::1]:53411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7GmY-0001sU-8i for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jan 2014 22:53:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7GmR-0001sO-PX for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 22:53:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7GmN-0003aF-27 for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 22:53:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7GmM-0003aB-Ug for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 22:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W7GmM-00072J-FF for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 22:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jan 2014 03:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16479-submit@debbugs.gnu.org id=B16479.139070836827026 (code B ref 16479); Sun, 26 Jan 2014 03:53:02 +0000 Original-Received: (at 16479) by debbugs.gnu.org; 26 Jan 2014 03:52:48 +0000 Original-Received: from localhost ([127.0.0.1]:36042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7Gm8-00071q-Hb for submit@debbugs.gnu.org; Sat, 25 Jan 2014 22:52:48 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:52407) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7Gm6-00071h-27 for 16479@debbugs.gnu.org; Sat, 25 Jan 2014 22:52:47 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MZZ00800OTKSY00@a-mtaout20.012.net.il> for 16479@debbugs.gnu.org; Sun, 26 Jan 2014 05:52:44 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZZ008W8PFWL580@a-mtaout20.012.net.il>; Sun, 26 Jan 2014 05:52:44 +0200 (IST) 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:84028 Archived-At: > From: Stefan Monnier > Cc: mvoteiza@udel.edu, 16479@debbugs.gnu.org > Date: Sat, 25 Jan 2014 17:39:16 -0500 > > > emacsclient -t > > This pops down the menu, but the value of > > overriding-terminal-local-map in the original frame is not restored, > > so, for example, any cursor motion command signals an error because it > > tries to invoke tty-menu commands. > > What am I not doing correctly here? TIA. > > Maybe there's a bug in our handling of let-binding w.r.t terminal-local > variables (i.e. the unbind of overriding-terminal-local-map ands up > resetting that variable in the new terminal rather than in the terminal > where the specbind was done). > > I can't remember seeing code to handle that when I last touched the > let-binding code, so it sounds very likely: we try and handle > buffer-local and frame-local correctly (by remembering where the > binding was installed a de-install it at the right place) but we don't > do that same thing for terminal-local bindings. Could this be related to the fact that Voverriding_terminal_local_map is a per-keyboard variable?