help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Commands with more than one keybinding in menus


From: Stefan Monnier
Subject: Re: Commands with more than one keybinding in menus
Date: Wed, 14 Aug 2013 10:09:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> | (put 'outline-cycle :advertised-binding [TAB])
                                            ^^^^^
There's no such binding.  You probably meant [?\t].

> | (put 'outshine-cycle-buffer :advertised-binding [BACKTAB])
                                                    ^^^^^^^^^
                                                    [backtab]

> | (put 'outline-promote :advertised-binding [M-S-left])
> | (put 'outline-demote :advertised-binding [M-S-right])

These look OK.

> | (put 'outline-up-heading :advertised-binding [M-\# M-u])
                                                 ^^^^^^^^^^
                                                 [?\M-# ?\M-u]

> | (put 'outorg-edit-as-org :advertised-binding [M-\# M-\#])
                                                 ^^^^^^^^^^^
                                                 [?\M-# ?\M-#]

> I should mention that I use a specialised macro to define keybindings
> conditional on point position, in order to not mess with user setting
> (this is a minor-mode).

Without seeing this macro and/or its use, it's hard to tell.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]