From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: Maintenance suggestion on an emacs mode Date: Thu, 24 Apr 2008 22:23:49 +0200 Message-ID: <874p9r9f3e.fsf@photon.caeruleus.net> References: <87wsn667kw.fsf@gmail.com> <87d4ojxgj2.fsf@gmail.com> <87zlrlskgd.fsf@photon.caeruleus.net> <87lk35wr0u.fsf@gmail.com> <87fxtdjg1z.fsf@stupidchicken.com> <87fxtcs4rh.fsf@photon.caeruleus.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209068653 26725 80.91.229.12 (24 Apr 2008 20:24:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 20:24:13 +0000 (UTC) Cc: Chong Yidong , Paul R , Emacs Devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 24 22:24:47 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jp7zn-00034E-2f for ged-emacs-devel@m.gmane.org; Thu, 24 Apr 2008 22:24:43 +0200 Original-Received: from localhost ([127.0.0.1]:40850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jp7z7-0000u2-AA for ged-emacs-devel@m.gmane.org; Thu, 24 Apr 2008 16:24:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jp7z2-0000sG-9r for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:23:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jp7z1-0000rK-OW for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:23:55 -0400 Original-Received: from [199.232.76.173] (port=57446 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jp7z1-0000rC-7J for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:23:55 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jp7z0-00015H-Fs for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:23:54 -0400 Original-Received: from photon.caeruleus.net (p54A535E7.dip0.t-ipconnect.de [84.165.53.231]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1Jp7yv23up-0001gw; Thu, 24 Apr 2008 22:23:50 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 23 Apr 2008 17:05:28 -0400") X-Provags-ID: V01U2FsdGVkX182Ds20rWuLqqua/RH94Cxco3cD0otfG6Rf760 8V1VmoB4y3fUH6plmtPCPax8jCCIY/XQwnlo9bL7ePvkm7jVbq BZUo94qavqewxF9yWvzpw== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95912 Archived-At: * Stefan Monnier (2008-04-23) writes: >> Another option would be to remove those bindings altogether and put the >> code for defining the key bindings into the manual for easy copying and >> pasting into the init file. > > Doesn't seem like an improvement, Then I'd suggest to just add a comment in reftex.el as proposed earlier in this thread. Following is a ChangeLog entry and patch. 2008-04-24 Ralf Angeli * textmodes/reftex.el: Explain in a comment why `reftex-extra-bindings' activates key bindings reserverd for users. --- reftex.el.~1.86.~ 2008-04-19 08:52:29.000000000 +0200 +++ reftex.el 2008-04-24 22:19:18.000000000 +0200 @@ -2403,7 +2403,10 @@ "bibtex" '(define-key bibtex-mode-map "\C-c&" 'reftex-view-crossref-from-bibtex)) -;; If the user requests so, she can have a few more bindings: +;; For most of these commands there are already bindings in place. +;; Setting `reftex-extra-bindings' really is only there to spare users +;; the hassle of defining bindings in the user space themselves. This +;; is why they violate the key binding recommendations. (when reftex-extra-bindings (loop for x in '(("\C-ct" . reftex-toc) -- Ralf