From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: lennart.fricke@kabelmail.de Newsgroups: gmane.emacs.bugs Subject: bug#12744: 24.1; key-binding and local-key-binding return invalid keymap Date: Sat, 27 Oct 2012 18:52:32 +0200 Message-ID: <87ip9vzwkv.fsf@tee.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351360553 6640 80.91.229.3 (27 Oct 2012 17:55:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2012 17:55:53 +0000 (UTC) To: 12744@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 19:56:02 2012 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 1TSAc4-0002LV-Gk for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2012 19:56:00 +0200 Original-Received: from localhost ([::1]:47726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSAbw-0001Sc-Ic for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2012 13:55:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSAbs-0001ON-LX for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 13:55:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSAbr-00015s-5v for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 13:55:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSAbr-00015h-2h for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 13:55:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TSAe2-0002bk-C4 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 13:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lennart.fricke@kabelmail.de Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Oct 2012 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13513606269960 (code B ref -1); Sat, 27 Oct 2012 17:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2012 17:57:06 +0000 Original-Received: from localhost ([127.0.0.1]:36039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSAd7-0002aZ-0M for submit@debbugs.gnu.org; Sat, 27 Oct 2012 13:57:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57414) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TS9hl-0001IU-Lh for submit@debbugs.gnu.org; Sat, 27 Oct 2012 12:57:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TS9fY-0001Gd-Pb for submit@debbugs.gnu.org; Sat, 27 Oct 2012 12:55:34 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:52785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS9fY-0001GY-MD for submit@debbugs.gnu.org; Sat, 27 Oct 2012 12:55:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS9fX-0000cW-60 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 12:55:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TS9fV-0001G8-JC for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 12:55:31 -0400 Original-Received: from smtpa1.mediabeam.com ([194.25.41.13]:55111 helo=smtpa2.mediabeam.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS9fV-0001FI-9a for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2012 12:55:29 -0400 Original-Received: from IMAP1 (balancer7.mediabeam.com [10.100.1.80]) by smtpa2.mediabeam.com (8.13.8/8.13.1) with ESMTP id q9RGtOQd001608 for ; Sat, 27 Oct 2012 18:55:24 +0200 Original-Received: from localhost (178-24-204-58-dynip.superkabel.de [178.24.204.58] (may be forged)) (authenticated bits=0) by smtpa.mediabeam.com (8.13.8/8.13.1) with ESMTP id q9RGtNkL001596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 27 Oct 2012 18:55:24 +0200 X-mediaBEAM-Originating-IP: [178.24.204.58] X-mediaBEAM-AUTHID: [Lennart.Fricke@kabelmail.de] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 27 Oct 2012 13:57:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:66118 Archived-At: TWhen the buffer is in org-mode and i trigger tmm-menubar neither the Org nor the Tbl menu are in the list. It seems to me. That (key-binding [menu-bar]) returns a wrong keymap. It starts with a nested keymap: (keymap (keymap (keymap (show . undefined) (hide . undefined) (headings .. undefined) (Org menu-item "Org" ...) (Tbl menu-item "Tbl" ...)) keymap (headings... But there's nothing about that nesting in the docs. In 23.4.1 on Windows there are no nested keymaps: (keymap (show . undefined) (hide . undefined) (headings . undefined) (Org menu-item "Org" ...) (Tbl menu-item "Tbl"...) keymap (headings ... But the org-mode-map is similar and has the following as part of a keymap: (menu-bar keymap (show . undefined) (hide . undefined) (headings . undefined) (Org menu-item "Org" (keymap "Org"... Best regards Lennart Fricke In GNU Emacs 24.1.1 (i686-redhat-linux-gnu, GTK+ Version 2.24.11) of 2012-08-13 on buildvm-23.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11203000 Configured using: `configure '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' '--with-gpm=no' '--with-wide-int' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'LDFLAGS=-Wl,-z,relro '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x C-x C-f o r t e s t / t e s t . o r g M-x t m m - m M-x o r g - v e r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit test.org has auto save data; consider M-x recover-this-file Quit Org-mode version 7.8.11 goto-history-element: Beginning of history; no preceding item goto-history-element: End of history; no default available Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode view tmm electric org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-compat org-entities org-macs noutline outline easy-mmode format-spec regexp-opt cal-menu easymenu calendar cal-loaddefs time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)