From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: minibuffer and current-local-map
Date: Wed, 07 Nov 2007 17:30:01 +0100 [thread overview]
Message-ID: <877ikuyq5y.fsf@escher.local.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 2649 bytes --]
The value returned by current-local-map for the minibuffer seems to be
wrong (both in the trunk and in Emacs 22.1), containing partial
reduplication:
(keymap
(C-tab . file-cache-minibuffer-complete)
(10 . minibuffer-complete-and-exit)
(13 . minibuffer-complete-and-exit)
keymap
(menu-bar keymap
(minibuf "Minibuf" keymap
(tab menu-item "Complete" minibuffer-complete
([9]
. " (TAB)")
:help "Complete as far as possible")
(space menu-item "Complete Word" minibuffer-complete-word
([32]
. " (SPC)")
:help "Complete at most one word")
(63 menu-item "List Completions" minibuffer-completion-help
([63]
. " (?)")
:help "Display all possible completions")
"Minibuf" keymap
(return menu-item "Enter" exit-minibuffer
(nil)
:help "Terminate input and exit minibuffer")
(quit menu-item "Quit" keyboard-escape-quit
([134217755 27]
. " (M-ESC ESC)")
:help "Abort input and exit minibuffer")
"Minibuf")
keymap
(minibuf "Minibuf" keymap
(return menu-item "Enter" exit-minibuffer
(nil)
:help "Terminate input and exit minibuffer")
(quit menu-item "Quit" keyboard-escape-quit
([134217755 27]
. " (M-ESC ESC)")
:help "Abort input and exit minibuffer")
"Minibuf"))
(27 keymap
(118 . switch-to-completions)
keymap
(114 . previous-matching-history-element)
(115 . next-matching-history-element)
(112 . previous-history-element)
(110 . next-history-element))
(prior . switch-to-completions)
(C-tab . file-cache-minibuffer-complete)
(63 . minibuffer-completion-help)
(32 . minibuffer-complete-word)
(9 . minibuffer-complete)
keymap
(menu-bar keymap
(minibuf "Minibuf" keymap
(return menu-item "Enter" exit-minibuffer
(nil)
:help "Terminate input and exit minibuffer")
(quit menu-item "Quit" keyboard-escape-quit
([134217755 27]
. " (M-ESC ESC)")
:help "Abort input and exit minibuffer")
"Minibuf"))
(C-tab . file-cache-minibuffer-complete)
(9 . self-insert-command)
(up . previous-history-element)
(prior . previous-history-element)
(down . next-history-element)
(next . next-history-element)
(27 keymap
(114 . previous-matching-history-element)
(115 . next-matching-history-element)
(112 . previous-history-element)
(110 . next-history-element))
(10 . exit-minibuffer)
(13 . exit-minibuffer)
(7 . abort-recursive-edit))
As a result of this, typing <C-down-mouse-3> in the minibuffer pops up a
confusing context menu, see the attached screen shots.
Steve Berman
[-- Attachment #2: minibuf-menu1 --]
[-- Type: image/png, Size: 44545 bytes --]
[-- Attachment #3: minibuf-menu2 --]
[-- Type: image/png, Size: 33873 bytes --]
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next reply other threads:[~2007-11-07 16:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 16:30 Stephen Berman [this message]
2007-11-08 4:42 ` minibuffer and current-local-map Richard Stallman
2007-11-08 7:20 ` Stephen Berman
2007-11-08 23:37 ` Richard Stallman
2007-11-09 22:00 ` Richard Stallman
2007-11-30 16:42 ` Jason Rumney
2007-11-30 23:36 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2008-01-06 19:36 Glenn Morris
2008-01-07 11:31 ` Richard Stallman
2008-01-07 12:43 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877ikuyq5y.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.