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

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

bug#8317: Subject: 24.0.50; sh-script.el took my key


From: Andreas Röhler
Subject: bug#8317: Subject: 24.0.50; sh-script.el took my key
Date: Tue, 22 Mar 2011 11:18:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Am 22.03.2011 10:55, schrieb Andreas Schwab:
Andreas Röhler<andreas.roehler@online.de>  writes:

having defined "C-c (" onto some useful function here,
when in Shell-script mode `sh-function` took it.

Seems bad, as "C-c" should be a reserved key for users.

*Note (elisp) Major Mode Conventions::

    * The key sequences bound in a major mode keymap should usually
      start with `C-c', followed by a control character, a digit, or `{',
      `}', `<', `>', `:' or `;'.  The other punctuation characters are
      reserved for minor modes, and ordinary letters are reserved for
      users.

So while C-c ( should not be bound by a major mode, it can still be
bound by a minor mode, and you should move your binding to a letter.

Andreas.


Thanks and sorry for the noise.







reply via email to

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