From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: Is there an error in menu handling?
Date: Tue, 06 Dec 2005 18:01:49 +0100 [thread overview]
Message-ID: <4395C3FD.5040401@student.lu.se> (raw)
I tried to play a little bit with menus. Reading the example in "(elisp)
Menu Bar" it looked to me like I could do something like
(defconst bw-keymap (make-sparse-keymap "Window Resizing")
"Keymap used by `bw-window-resize-mode'.")
(define-key bw-keymap [menu-bar bw] (cons "Resize" (make-sparse-keymap
"Resize")))
(define-key bw-keymap [menubar bw balance] '("Balance Windows" .
bw-balance))
However that did not give the expected result. Indeed "Resize" was added
to the menubar, but opening that menu item just should two items in
bold, both saying "Resize".
Did I misread the documentation?
next reply other threads:[~2005-12-06 17:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 17:01 Lennart Borgman [this message]
2005-12-06 21:25 ` Is there an error in menu handling? Stefan Monnier
2005-12-06 22:52 ` Lennart Borgman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4395C3FD.5040401@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).