unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "N. Jackson" <nljlistbox2@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Pop up context menu (at point) with <menu> key rather than mouse
Date: Sat, 10 Nov 2018 12:11:08 -0500	[thread overview]
Message-ID: <87bm6wluxf.fsf@moondust.localdomain> (raw)
In-Reply-To: 83ftwaaw3k.fsf@gnu.org

At 21:29 +0200 on Friday 2018-11-09, Eli Zaretskii wrote:
>
> From mouse.el:
>
>   ;; By binding these to down-going events, we let the user use the up-going
>   ;; event to make the selection, saving a click.
>   (global-set-key [C-down-mouse-1] 'mouse-buffer-menu)
>   (if (not (eq system-type 'ms-dos))
>       (global-set-key [S-down-mouse-1] 'mouse-appearance-menu))
>   ;; C-down-mouse-2 is bound in facemenu.el.
>   (global-set-key [C-down-mouse-3]
>     `(menu-item ,(purecopy "Menu Bar") ignore
>       :filter (lambda (_)
> 		(if (zerop (or (frame-parameter nil 'menu-bar-lines) 0))
> 		    (mouse-menu-bar-map)
> 		  (mouse-menu-major-mode-map)))))

Hmm... where is `menu-item' defined?

  C-h f menu-item RET
    => [No match]

  C-h r i menu-item RET
    => No `menu-item' in index

  C-u M-x xref-find-definitions RET menu-item RET
    =>  No definitions found for: menu-item





  reply	other threads:[~2018-11-10 17:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09 19:19 Pop up context menu (at point) with <menu> key rather than mouse N. Jackson
2018-11-09 19:29 ` Eli Zaretskii
2018-11-10 17:11   ` N. Jackson [this message]
2018-11-10 17:27     ` Yuri Khan
2018-11-10 17:50       ` N. Jackson
2018-11-10 18:00     ` Eli Zaretskii

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=87bm6wluxf.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=help-gnu-emacs@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.
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).