From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Maintenance suggestion on an emacs mode Date: Thu, 24 Apr 2008 22:36:17 +0200 Message-ID: <4810EF41.9050205@gmail.com> 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> <874p9r9f3e.fsf@photon.caeruleus.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209069432 29460 80.91.229.12 (24 Apr 2008 20:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 20:37:12 +0000 (UTC) Cc: Chong Yidong , Paul R , Stefan Monnier , Emacs Devel To: Ralf Angeli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 24 22:37:46 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 1Jp8CG-0007jQ-BZ for ged-emacs-devel@m.gmane.org; Thu, 24 Apr 2008 22:37:38 +0200 Original-Received: from localhost ([127.0.0.1]:41226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jp8BZ-0003ub-DB for ged-emacs-devel@m.gmane.org; Thu, 24 Apr 2008 16:36:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jp8BG-0003jy-6r for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:36:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jp8BE-0003hz-Hn for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:36:33 -0400 Original-Received: from [199.232.76.173] (port=60010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jp8BE-0003hm-CZ for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:36:32 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jp8BC-0003CV-U6 for emacs-devel@gnu.org; Thu, 24 Apr 2008 16:36:31 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:60691 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jp8B1-00008k-5K; Thu, 24 Apr 2008 22:36:20 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <874p9r9f3e.fsf@photon.caeruleus.net> X-Antivirus: avast! (VPS 080424-0, 2008-04-24), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-Scan-Result: No virus found in message 1Jp8B1-00008k-5K. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Jp8B1-00008k-5K 144dc23e3ceecfdce54cd09a619280df 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:95914 Archived-At: Ralf Angeli wrote: > * 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. I suggested moving this to the defcustom instead (and of course updating its doc string). Is not that easier for the user? > 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) > >