From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.devel Subject: Re: editor for large xml files? Date: Wed, 17 Feb 2010 10:53:24 +0100 Message-ID: <4B7BBC94.4080408@online.de> References: <2AADFE343D601545A6F8F2B49E144A37EDE0118C4A@STAWINCOEXMAIL1.staff.vuw.ac.nz> <4B5DEEF6.6050006@uleth.ca> <4B5E44A6.1060908@o2.pl> <4B5EFD50.6050802@durusau.net> <4B5F49D9.5000107@vuw.ac.nz> <2BBFBDCDF4296C4482D60C88E47A0707046C841B56@PITT-EXCH-14.univ.pitt.edu> <4B7748F4.4050109@mars.ucc.ie> <2AADFE343D601545A6F8F2B49E144A37EDE0118CAF@STAWINCOEXMAIL1.staff.vuw.ac.nz> <4B79AD6C.2090203@mars.ucc.ie> <4B79B0EA.3020503@virginia.edu> <20100216015847.GW9945@proliant.indica-et-buddhica.org> <4B7A4309.6040101@oxygenxml.com> <4B7B3562.8030604@jj.em-net.ne.jp> <4B7BA887.4000100@online.de> <87fx50fcc7.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266400447 21677 80.91.229.12 (17 Feb 2010 09:54:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2010 09:54:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 17 10:54:03 2010 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.69) (envelope-from ) id 1NhgbZ-0006uC-77 for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2010 10:54:01 +0100 Original-Received: from localhost ([127.0.0.1]:59792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhgbY-0006pD-M4 for ged-emacs-devel@m.gmane.org; Wed, 17 Feb 2010 04:54:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhgZF-0006Gs-IB for emacs-devel@gnu.org; Wed, 17 Feb 2010 04:51:37 -0500 Original-Received: from [140.186.70.92] (port=45897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhgZE-0006GW-85 for emacs-devel@gnu.org; Wed, 17 Feb 2010 04:51:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhgZB-0000O0-IF for emacs-devel@gnu.org; Wed, 17 Feb 2010 04:51:36 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:59517) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhgZB-0000Nu-6K for emacs-devel@gnu.org; Wed, 17 Feb 2010 04:51:33 -0500 Original-Received: from [192.168.178.27] (p54BE90C6.dip0.t-ipconnect.de [84.190.144.198]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MErYk-1NRg8B1RzG-00GBQY; Wed, 17 Feb 2010 10:51:29 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: <87fx50fcc7.fsf@thinkpad.tsdh.de> X-Provags-ID: V01U2FsdGVkX1/2pLMHryOJAkwda5ZdaHI4m3gi8yykCm+QwDy 60DZ9MMNt2EHOGCexyELm79u8mX8UaiD4/jJnbUOTGK4Mc9+BO MiXBrwRfi8xnoAJQ/aTo5MFYzSh453T9w4Dy7w52Co= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:121165 Archived-At: Tassilo Horn wrote: > Andreas Roehler writes: > > Hi Andreas, > >> As this style >> >> (global-set-key [(control kp-divide)] 'My-Command) >> >> or >> >> (global-set-key [(control x)(c)] 'My-Other-Command) >> >> is understood by all Emacsen, suggest to keep that, declaring the >> other ones obsolete. > > Was there any discussion of declaring it obsolete? Hi Tassilo, don't know. Didn't intend to say it. > > IMO, the recommended style for making keybindings should be `kbd', which > is available in Emacs, XEmacs, and SXEmacs. > > So your 2 definitions would become: > > (global-set-key (kbd "") 'My-Command) > (global-set-key (kbd "C-x c") 'My-Other-Command) > > That's quite easy to read and write (you can simply insert the string > describe-key outputs as argument to `kbd'), and it hides how an > implementation represents the key sequences internally. Hmm, like the "control" and "meta" written out. OTOH, may perfectly live with your suggestion. Just saying: let's choose one and just one compatible form, declaring others obsolete. Thanks Andreas > > Bye, > Tassilo >