all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Nicolas Richard <nrichard@ulb.ac.be>
Cc: 9730@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#9730: 24.0.50; `M-o' should not be _invoked_ in `global-set-key'
Date: Thu, 28 Apr 2016 15:25:17 +0200	[thread overview]
Message-ID: <87h9ellvb6.fsf@gnus.org> (raw)
In-Reply-To: <87fuu5vqdu.fsf@ulb.ac.be> (Nicolas Richard's message of "Thu, 28 Apr 2016 15:01:33 +0200")

Nicolas Richard <nrichard@ulb.ac.be> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>
>>>> What is...  the heirarKey menu?  :-)
>>>
>>> It's the "kind of menu" that gets displayed in the minibuffer when you
>>> hit M-o.
>>
>> Where is that defined?  I tried looking for the code in question, but it
>> seems to be happening outside the normal Emacs...  channels...
>
> It's in facemenu.el
>
> See (info "(elisp) Defining Menus")
>
> Here's a simple example :
>
> (global-set-key
>  (kbd "s-s")
>  (let ((keymap (make-sparse-keymap "Options are...")))
>    (define-key keymap (kbd "s-d") (cons "Doctor" 'doctor))
>    (define-key keymap (kbd "s-b") (cons "Butterfly power" 'butterfly))
>    keymap))

Yes, but what's the code that ends up calling `message'?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2016-04-28 13:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11 18:30 bug#9730: 24.0.50; `M-o' should not be _invoked_ in `global-set-key' Drew Adams
2011-10-11 18:59 ` Stefan Monnier
2011-10-11 19:30   ` Drew Adams
2016-04-28 11:34   ` Lars Ingebrigtsen
2016-04-28 12:10     ` Stefan Monnier
2016-04-28 12:46       ` Lars Ingebrigtsen
2016-04-28 13:01         ` Nicolas Richard
2016-04-28 13:25           ` Lars Ingebrigtsen [this message]
2016-04-28 13:50             ` Nicolas Richard
2016-05-01 19:13               ` Lars Ingebrigtsen
2016-04-28 13:33         ` Stefan Monnier
2016-04-28 13:37           ` Lars Ingebrigtsen

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=87h9ellvb6.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=9730@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=nrichard@ulb.ac.be \
    /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.