From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16479: 24.3.50; daemon freeze with tty menus Date: Sat, 25 Jan 2014 17:39:16 -0500 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390689618 7933 80.91.229.3 (25 Jan 2014 22:40:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jan 2014 22:40:18 +0000 (UTC) Cc: mvoteiza@udel.edu, 16479@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 25 23:40:22 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 1W7Btm-00054g-65 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jan 2014 23:40:22 +0100 Original-Received: from localhost ([::1]:52766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Btl-0002CE-NY for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jan 2014 17:40:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Btb-0002Bu-ON for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:40:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7BtS-0007Ye-Or for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:40:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BtS-0007YM-Kg for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W7BtR-00062C-Q5 for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jan 2014 22:40:01 +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.139068956023134 (code B ref 16479); Sat, 25 Jan 2014 22:40:01 +0000 Original-Received: (at 16479) by debbugs.gnu.org; 25 Jan 2014 22:39:20 +0000 Original-Received: from localhost ([127.0.0.1]:35967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7Bsl-000613-OD for submit@debbugs.gnu.org; Sat, 25 Jan 2014 17:39:19 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:7214) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7Bsk-00060u-1m for 16479@debbugs.gnu.org; Sat, 25 Jan 2014 17:39:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFpZOU/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av8EABK/CFFFpZOU/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="46073423" Original-Received: from 69-165-147-148.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.148]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Jan 2014 17:39:16 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AE81360B30; Sat, 25 Jan 2014 17:39:16 -0500 (EST) In-Reply-To: <83a9ekcrg2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 25 Jan 2014 11:59:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:84018 Archived-At: > 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. Stefan