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#15575: 24.3.50; New tty menus crash Emacs Date: Fri, 11 Oct 2013 17:17:08 +0300 Message-ID: <838uxzsxi3.fsf@gnu.org> References: <7A5C065F-4E90-4846-80EE-650AF314DCB2@swipnet.se> <83a9iiqr49.fsf@gnu.org> <5D661800-C7B5-495B-BF9D-F2E1F16C9B93@swipnet.se> <834n8qqnfx.fsf@gnu.org> <97F9A2CA-8E08-4867-93C3-5BAE8DF80D72@swipnet.se> <83txgpp0f1.fsf@gnu.org> <5AFF19E5-0778-425A-AF0C-0C027DEFB3D6@swipnet.se> <83pprcq5nt.fsf@gnu.org> <5FC82EF1-4394-44C9-A9DB-30ED99DB186F@swipnet.se> <83fvs8p9ks.fsf@gnu.org> <5257CAF9.50307@gmx.at> <83eh7srrmu.fsf@gnu.org> <5257E42D.6000507@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381501094 14640 80.91.229.3 (11 Oct 2013 14:18:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2013 14:18:14 +0000 (UTC) Cc: 15575@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 11 16:18:16 2013 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 1VUdXj-0005OY-Dz for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2013 16:18:15 +0200 Original-Received: from localhost ([::1]:54626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUdXj-0005u0-0a for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2013 10:18:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUdXc-0005tp-7F for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 10:18:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUdXX-0006HX-G7 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 10:18:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUdXX-0006HT-Cy for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 10:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VUdXW-0004wA-LJ for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 10:18: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: Fri, 11 Oct 2013 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15575-submit@debbugs.gnu.org id=B15575.138150104718934 (code B ref 15575); Fri, 11 Oct 2013 14:18:02 +0000 Original-Received: (at 15575) by debbugs.gnu.org; 11 Oct 2013 14:17:27 +0000 Original-Received: from localhost ([127.0.0.1]:43299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUdWw-0004vJ-OH for submit@debbugs.gnu.org; Fri, 11 Oct 2013 10:17:27 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39631) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUdWt-0004v8-0h for 15575@debbugs.gnu.org; Fri, 11 Oct 2013 10:17:24 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MUI00L00CXREM00@a-mtaout20.012.net.il> for 15575@debbugs.gnu.org; Fri, 11 Oct 2013 17:17:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUI00L2PD0XEJ10@a-mtaout20.012.net.il>; Fri, 11 Oct 2013 17:17:21 +0300 (IDT) In-reply-to: <5257E42D.6000507@gmx.at> 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:79187 Archived-At: > Date: Fri, 11 Oct 2013 13:42:37 +0200 > From: martin rudalics > CC: jan.h.d@swipnet.se, 15575@debbugs.gnu.org > > >> Since I never work with -nw I have no idea how to debug this. > > > > Because -nw takes control of the screen, or because you don't think > > you are familiar enough with the internals in the -nw case? > > > > If the former, I can tell you the tricks I use. > > The former. I'm used to debug emacs from another emacs but with -nw > this seems impossible. And in a cmd.exe window emacs takes control of > the window as you say. You can overcome this in one of 2 ways: . start "emacs -Q -nw", then attach the debugger to it with "gdb -p PID", set any breakpoints and type "continue" . start the debugger first, then do this: (gdb) set new-console on (gdb) run -Q -nw The "set new-console on" command causes a new console to be created by GDB before it runs the program attached to that console. > What do you use to get back to the debugger? I hope the above answers also this question (which I don't fully understand). > A minor nitpick: When I mouse-open the Tools menu and, with that menu > open, mouse-click the Emacs-Lisp menu, the Tools menu is still around. > Any simple way to close all open menus when opening a new one? This is a known bug for which I have no solution, see the comments in menu-bar.el where tty-menu-navigation-map is being constructed. (The menu item you mention is put on the menu bar by a minor mode.)