From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 14942@debbugs.gnu.org
Subject: bug#14942: 24.3.50; Improve key descriptions for facemenu menu items
Date: Fri, 29 Apr 2016 16:35:18 +0300 [thread overview]
Message-ID: <83eg9ownah.fsf@gnu.org> (raw)
In-Reply-To: <87zisc8sfa.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 29 Apr 2016 15:18:17 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 29 Apr 2016 15:18:17 +0200
> Cc: 14942@debbugs.gnu.org
>
> Drew Adams <drew.adams@oracle.com> writes:
>
> > `C-h f facemenu-set-invisible' says that the command is bound to
> > <C-down-mouse-2> <sp> v, <menu-bar> <edit> <props> <sp> v.
>
> [...]
>
> > This would be a lot more helpful for users if we simply used reasonable
> > names for the menu-item pseudo-function keys. Instead of <sp> use
> > <special-properties> and things suddenly become much clearer.
>
> What is <sp> meant to express, anyway? I thought perhaps it was a
> keyboard shortcut, but nothing I press after C-down-mouse-2 seem to do
> anything...
>
> And neither does the v.
Use the source, Lars:
(defvar facemenu-special-menu
(let ((map (make-sparse-keymap "Special")))
(define-key map [?s] (cons (purecopy "Remove Special")
'facemenu-remove-special))
(define-key map [?t] (cons (purecopy "Intangible")
'facemenu-set-intangible))
(define-key map [?v] (cons (purecopy "Invisible")
'facemenu-set-invisible))
(define-key map [?r] (cons (purecopy "Read-Only")
'facemenu-set-read-only))
map)
"Menu keymap for non-face text-properties.")
(defalias 'facemenu-special-menu facemenu-special-menu)
[...]
(let ((map facemenu-menu))
(define-key map [in] (cons (purecopy "Indentation")
'facemenu-indentation-menu))
(define-key map [ju] (cons (purecopy "Justification")
'facemenu-justification-menu))
(define-key map [s2] (list (purecopy "--")))
(define-key map [sp] (cons (purecopy "Special Properties") <<<<<<<<<
^^^^ 'facemenu-special-menu))
(define-key map [bg] (cons (purecopy "Background Color")
'facemenu-background-menu))
(define-key map [fg] (cons (purecopy "Foreground Color")
'facemenu-foreground-menu))
(define-key map [fc] (cons (purecopy "Face")
'facemenu-face-menu)))
next prev parent reply other threads:[~2016-04-29 13:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 5:30 bug#14942: 24.3.50; Improve key descriptions for facemenu menu items Drew Adams
2016-04-29 13:18 ` Lars Ingebrigtsen
2016-04-29 13:35 ` Eli Zaretskii [this message]
2016-04-29 13:39 ` Lars Ingebrigtsen
2016-04-29 13:57 ` Eli Zaretskii
2016-04-29 14:10 ` Lars Ingebrigtsen
2016-04-29 16:10 ` Andreas Schwab
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=83eg9ownah.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=14942@debbugs.gnu.org \
--cc=larsi@gnus.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.