From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#16565: 24.3.50; x-popup-menu just returns nil Date: Tue, 28 Jan 2014 06:39:59 +0100 Message-ID: <877g9kzmts.fsf@web.de> References: <87r47urvcy.fsf@web.de> <83d2jd9zig.fsf@gnu.org> <874n4ptfhy.fsf@web.de> <87ppnc7qc1.fsf@web.de> <83sis8938y.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390887674 29687 80.91.229.3 (28 Jan 2014 05:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2014 05:41:14 +0000 (UTC) Cc: 16565@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 28 06:41:20 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 1W81QF-0003hP-3o for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 06:41:19 +0100 Original-Received: from localhost ([::1]:35381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W81QE-0000Vn-Nr for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 00:41:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W81Q6-0000Ve-02 for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 00:41:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W81Py-0001Cl-DS for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 00:41:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W81Py-0001Ch-Af for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 00:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W81Px-0002Zk-RW for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 00:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jan 2014 05:41:01 +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.13908876109832 (code B ref 16565); Tue, 28 Jan 2014 05:41:01 +0000 Original-Received: (at 16565) by debbugs.gnu.org; 28 Jan 2014 05:40:10 +0000 Original-Received: from localhost ([127.0.0.1]:38630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W81P7-0002YV-Nm for submit@debbugs.gnu.org; Tue, 28 Jan 2014 00:40:10 -0500 Original-Received: from mout.web.de ([212.227.17.12]:62488) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W81P4-0002YK-EZ for 16565@debbugs.gnu.org; Tue, 28 Jan 2014 00:40:07 -0500 Original-Received: from drachen.dragon ([90.186.218.106]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0Ltnmz-1V79uB3gcX-0118eA for <16565@debbugs.gnu.org>; Tue, 28 Jan 2014 06:40:04 +0100 In-Reply-To: <83sis8938y.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Jan 2014 05:47:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:BTSBE5JUPHjmvtdLvkSGFIOamA5NlHd3veulBveyTKyt8Es0OFf QeGf/1JclsopadlzDq0qdT0khQxkDMiRPfDwIZj5+W4XSUPMapmVmFQWQbvHlWnTnU6YEQg Yt/vAoNynGwIIM7ubREe2D07yr6IRRj6MWL3rdgZDeixUeQ+EXSaWRaac9a4XQnBaV4wcdt Eq09pWMmNwCmwr5DgfJ/Q== 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:84156 Archived-At: 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? Anyway, the mouse tooltip over Qnil shows the same integer. So I think xmenu_show returns nil in the bad case. 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. I tried to step through `create_and_show_popup_menu' as well, but that makes any input from X impossible at some point, I had to kill gdb from the console. Michael.