[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: doc of prompt change with minor mode for read-key-sequence?
From: |
Drew Adams |
Subject: |
RE: doc of prompt change with minor mode for read-key-sequence? |
Date: |
Mon, 18 Sep 2006 08:38:59 -0700 |
It is the map for a global minor mode, Icicles. It
functions as a menu-bar
menu map, and there are also keyboard sequences bound in it.
To make the menu-bar menu work, you need to give a prompt string aka
menu name to the map that you put on the prefix key menu-bar.
But you don't
need to give a prompt string aka menu name to the overall keymap for
Icicles. That never needs to operate as a menu.
So try removing the arg to make-sparse-keymap when you make the
overall keymap, and see if everything works right.
Thank you; that took care of it.
I think maybe I used the name in the call to `make-sparse-keymap' because I
figured it wouldn't hurt, and I might use it someday as a pop-up-menu
(somehow). This part of the doc string might have given me that impression:
"The optional arg string supplies a menu name for the keymap
in case you use it as a menu with `x-popup-menu'."
I think I figured "in case you use it" meant that it would only be used in
that case, and I didn't know at the time whether I might use it in that way
in some context. Actually, I don't really remember. Anyway, thanks. I know
now that I should reserve supplying the name for when I really want a menu.
- doc of prompt change with minor mode for read-key-sequence?, Drew Adams, 2006/09/12
- Re: doc of prompt change with minor mode for read-key-sequence?, Richard Stallman, 2006/09/13
- RE: doc of prompt change with minor mode for read-key-sequence?, Drew Adams, 2006/09/13
- Re: doc of prompt change with minor mode for read-key-sequence?, Stefan Monnier, 2006/09/13
- RE: doc of prompt change with minor mode for read-key-sequence?, Drew Adams, 2006/09/13
- Re: doc of prompt change with minor mode for read-key-sequence?, Stefan Monnier, 2006/09/13
- Re: doc of prompt change with minor mode for read-key-sequence?, Richard Stallman, 2006/09/13
- RE: doc of prompt change with minor mode for read-key-sequence?, Drew Adams, 2006/09/14
- Re: doc of prompt change with minor mode for read-key-sequence?, Richard Stallman, 2006/09/18
- RE: doc of prompt change with minor mode for read-key-sequence?,
Drew Adams <=
- Re: doc of prompt change with minor mode for read-key-sequence?, Richard Stallman, 2006/09/18
- Re: doc of prompt change with minor mode for read-key-sequence?, Stefan Monnier, 2006/09/22