From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Commands with more than one keybinding in menus Date: Wed, 14 Aug 2013 10:09:33 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376489424 17197 80.91.229.3 (14 Aug 2013 14:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 14:10:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 14 16:10:27 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9bmK-0003Pp-Bs for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 16:10:24 +0200 Original-Received: from localhost ([::1]:51683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9bmJ-00039r-S9 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 10:10:23 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Injection-Info: mx05.eternal-september.org; posting-host="5f9eb4794e6106418b4e0289199f5f03"; logging-data="16677"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AJndCLMUZbvpMD93NW+Cf" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:rwHjYJuWeUbj/IPK25hoOiyFHF4= sha1:8oft39E/RtCnbXeRaSxifIfHnos= Original-Xref: usenet.stanford.edu gnu.emacs.help:200614 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92881 Archived-At: > | (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