From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#2648: 23.0.60; remove C-c ` from rcirc track minor mode Date: Thu, 12 Mar 2009 17:36:52 +0000 Organization: University of Cambridge Message-ID: References: Reply-To: Leo , 2648@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236881152 22654 80.91.229.12 (12 Mar 2009 18:05:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 18:05:52 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 12 19:07:05 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LhpHP-0001QI-Cd for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 19:05:50 +0100 Original-Received: from localhost ([127.0.0.1]:60126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhpG2-0002u7-MR for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 14:03:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhpFz-0002u1-0T for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:03:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhpFx-0002tN-EB for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:03:46 -0400 Original-Received: from [199.232.76.173] (port=50005 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhpFx-0002tH-AO for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:03:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37523) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhpFv-0006cY-QC for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:03:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2CI3fTo018123; Thu, 12 Mar 2009 11:03:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2CHj5cD013595; Thu, 12 Mar 2009 10:45:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Leo Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 12 Mar 2009 17:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2648 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123687944012045 (code B ref -1); Thu, 12 Mar 2009 17:45:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Mar 2009 17:37:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2CHbEtM012036 for ; Thu, 12 Mar 2009 10:37:16 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhoqH-0000as-9I for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 13:37:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhoqF-0000Z7-Sq for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 13:37:12 -0400 Original-Received: from [199.232.76.173] (port=43357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhoqE-0000Yj-6X for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 13:37:10 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:41335 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhoqD-0003A5-QL for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 13:37:10 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lhoq7-0002fq-PG for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 17:37:04 +0000 Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Mar 2009 17:37:03 +0000 Original-Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Mar 2009 17:37:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:JLoeZOYKiJ7LH636Lutu9H9MkDI= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 12 Mar 2009 14:03:46 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26266 Archived-At: On 2009-03-12 13:45 +0000, Stefan Monnier wrote: >> 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.) It seems not many packages are consciously following this guideline. > So, I think only the C-c ` binding should stay and the others should > be removed. Then ERC will also have to be changed. > 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. One way or another. Given that AUCTeX is one of the major editing environments for LaTeX/TeX, it seems entirely unnecessary for a released emacs to cause any pain to those users, particularly when this can be fixed with minimal changes. > Stefan -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system