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#16565: 24.3.50; x-popup-menu just returns nil Date: Tue, 28 Jan 2014 18:31:17 +0200 Message-ID: <83ha8o83vu.fsf@gnu.org> References: <87r47urvcy.fsf@web.de> <83d2jd9zig.fsf@gnu.org> <874n4ptfhy.fsf@web.de> <87ppnc7qc1.fsf@web.de> <83sis8938y.fsf@gnu.org> <877g9kzmts.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1390926739 7363 80.91.229.3 (28 Jan 2014 16:32:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2014 16:32:19 +0000 (UTC) Cc: 16565@debbugs.gnu.org To: Michael Heerdegen , "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 28 17:32:24 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 1W8BaI-0000Yd-AG for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 17:32:22 +0100 Original-Received: from localhost ([::1]:38163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8BaH-0006bl-Mh for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 11:32:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Ba7-0006UK-6W for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 11:32:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8BZz-00039S-AL for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 11:32:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8BZz-00039F-7I for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 11:32:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W8BZy-0004WR-Ar for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 11:32: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: Tue, 28 Jan 2014 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16565 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16565-submit@debbugs.gnu.org id=B16565.139092668817339 (code B ref 16565); Tue, 28 Jan 2014 16:32:02 +0000 Original-Received: (at 16565) by debbugs.gnu.org; 28 Jan 2014 16:31:28 +0000 Original-Received: from localhost ([127.0.0.1]:39452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8BZP-0004Va-FO for submit@debbugs.gnu.org; Tue, 28 Jan 2014 11:31:27 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37756) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8BZM-0004VN-5A for 16565@debbugs.gnu.org; Tue, 28 Jan 2014 11:31:25 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N0400900DTSRK00@a-mtaout22.012.net.il> for 16565@debbugs.gnu.org; Tue, 28 Jan 2014 18:31:22 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N040093SDW9NR40@a-mtaout22.012.net.il>; Tue, 28 Jan 2014 18:31:21 +0200 (IST) In-reply-to: <877g9kzmts.fsf@web.de> 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:84172 Archived-At: > From: Michael Heerdegen > Cc: 16565@debbugs.gnu.org > Date: Tue, 28 Jan 2014 06:39:59 +0100 > > Eli Zaretskii writes: > > > If you start GDB in the src directory, or let it otherwise read the > > file src/.gdbinit, you can know for sure: the "xtype" command will > > tell you what kind of Lisp data is in 'selection': > > > > (gdb) p selection > > (gdb) xtype > > > > If "xtype" says it's a Lisp symbol, another command "xsymbol" will > > tell you what symbol is that, it will say "nil" if it is nil. > > I don't have a command xtype, only ptype. What do I miss? The first part of my instructions: either invoke GDB from the src directory, or type this inside GDB: (gdb) source /path/to/src/.gdbinit (It is possible that automatic loading of .gdbinit failed because latest GDB versions refuse to load these init files by default.) > Anyway, the mouse tooltip over Qnil shows the same integer. > > So I think xmenu_show returns nil in the bad case. Yes. > I continued debugging xmenu_show and found that after the call to > `create_and_show_popup_menu', `menu_item_selection' is only != 0 in the > good case. Perhaps Jan could help us out, then. Jan, it sounds like GTK doesn't like what we do with the menu, for some reason. Thanks.