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

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> online.de>

Date: Tue, 22 Mar 2011 08:14:01 UTC

Severity: minor

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 8317 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> online.de>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 8317 <at> debbugs.gnu.org
Subject: Re: bug#8317: Subject: 24.0.50; sh-script.el took my key
Date: Tue, 22 Mar 2011 11:18:15 +0100
Am 22.03.2011 10:55, schrieb Andreas Schwab:
> Andreas Röhler<andreas.roehler <at> 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.






This bug report was last modified 14 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.