[Top][All Lists]

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

bug#2648: 23.0.60; remove C-c ` from rcirc track minor mode

From: Stefan Monnier
Subject: bug#2648: 23.0.60; remove C-c ` from rcirc track minor mode
Date: Thu, 12 Mar 2009 09:45:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

> rcirc track mode defines the following keys.

> (define-key rcirc-track-minor-mode-map (kbd "C-c `") 
> 'rcirc-next-active-buffer)
> (define-key rcirc-track-minor-mode-map (kbd "C-c C-@") 
> 'rcirc-next-active-buffer)
> (define-key rcirc-track-minor-mode-map (kbd "C-c C-SPC") 
> 'rcirc-next-active-buffer)

> When this mode is enabled, those keys become GLOBAL and therefore can
> easily step on bindings from other packages. One of them is AUCTeX.

> I think it is entirely redundant to bind 'C-c `'. I'd propose this key
> be removed when emacs is released. Otherwise it will confuse AUCTeX
> users. Whenever there's an error, AUCTeX will ask users to type C-c ` to
> get to the error, but instead this key will run
> rcirc-next-active-buffer.

The Elisp manual says:

      The key sequences bound in a minor mode should consist of `C-c'
   followed by one of `.,/?`'"[]\|~!#$%^&*()-_+='.  (The other punctuation
   characters are reserved for major modes.)

So, I think only the C-c ` binding should stay and the others should
be removed.  As for the conflict with AUCTeX, I'm not sure what we
should do.  Maybe use some other key.  Arguably, buffer-local minor
modes should take precedence over global minor modes, in which case
AUCTeX's C-c ` binding would take precedence, but this is a "TODO"
feature, so it doesn't help us here.


reply via email to

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