From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Minor request: full support of "ESC" as Meta key Date: Wed, 27 May 2009 21:18:56 +0200 Message-ID: <5002669B-85ED-4E82-B792-7ECE06BEFBDB@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9Os4-0003GW-QB for emacs-orgmode@gnu.org; Wed, 27 May 2009 15:33:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9Orx-0003Ad-6P for emacs-orgmode@gnu.org; Wed, 27 May 2009 15:33:04 -0400 Received: from [199.232.76.173] (port=58416 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9Orw-0003AS-KS for emacs-orgmode@gnu.org; Wed, 27 May 2009 15:32:56 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:38993) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9Orw-0003X9-4u for emacs-orgmode@gnu.org; Wed, 27 May 2009 15:32:56 -0400 Received: by mail-ew0-f162.google.com with SMTP id 6so4973488ewy.42 for ; Wed, 27 May 2009 12:32:55 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Paolo Petta Cc: emacs-orgmode@gnu.org Hi Paolo, I have applied your patch, only moving some of the bindings into the org-use-extra-keys form. Thanks! - Carsten On May 26, 2009, at 7:50 PM, Paolo Petta wrote: > Dear Carsten - > > many thanks for following up on this (and to the list for bearing > with me!) --- more in a direct/private email. > > Paolo > > On Tue, 26 May 2009, Carsten Dominik wrote: > >> Date: Tue, 26 May 2009 19:25:01 +0200 >> From: Carsten Dominik >> To: Paolo Petta >> Cc: emacs-orgmode@gnu.org >> Subject: Re: [Orgmode] Minor request: full support of "ESC" as Meta >> key >> Hi Paolo, >> >> normally, meta key bindings should automatically also affect ESC >> bindings. So it should not be necessary, even though I see that I >> have done this in some cases, very like upon requests like your's. >> >> If you try to come up with a list of affected bindings/commands, I >> will add these specific bindings. However, as you have noticed, >> some keys in orgstruct-mode may be difficult. >> >> - Carsten >> >> On May 24, 2009, at 2:15 AM, Paolo Petta wrote: >> >>> [Dear moderator: >>> this is of course a minor remark, and it is clearly not up to me to >>> decide whether it is worth while being recorded at all, let alone >>> being spread to the mailing list! >>> But I still do hope it is not considered a downright abuse of your >>> time!] >>> I only just started to look into Org: As "OS-hopper" using emacs >>> regularly on different versions of Linux, Windows, and Mac OS, the >>> comprehensive cross-platform support that Org promises is highly >>> appealing. >>> But trying to use Org relying on the Escape key as 'Meta', I >>> discovered that Org's support in this regard is currently spotty. >>> While for some key combinations both the [?\e (...)] and the >>> [(meta ...)] variants are defined, it is only the [(meta ...)] >>> definitions that are fully covered. For example, org-insert-todo- >>> heading - one of the very first org-specific key-combinations >>> introduced in the very useful Org tutorial - is mapped only to >>> [(meta shift return)], the "ESC-based" equivalent [?\e (shift >>> return)] is missing (org.el, line 13905). >>> While I've tried to patch up org.el the best I could with the >>> missing keymap definitions (and so far I have not run into >>> problems), I am not proficient enough an elisp programmer to dare >>> provide my fixes: e.g. I'm not at all sure to have made the >>> correct additions to the section introduced with the comment >>> ";; Special treatment needed for TAB and RET" on line 6836 of >>> org.el; >>> the specification of disputed keys on line 331ff in org.el would >>> be another example. >>> I would therefore like to ask to please consider putting 'full' >>> coverage for both keymap variants on the todo list for an upcoming >>> release. >>> With many thanks in advance! >>> Paolo >>> -- >>> Paolo Petta >>> +43-1-5336112-12(Tel) >>> Austrian Research Inst. for Artificial Intelligence >>> +43-1-5336112-77(Fax) >>> Freyung 6/6, A 1010 Vienna, Austria, Europe Paolo.Petta <@> >>> ofai.at >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Remember: use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- > Paolo Petta > +43-1-5336112-12(Tel) > Austrian Research Inst. for Artificial Intelligence > +43-1-5336112-77(Fax) > Freyung 6/6, A 1010 Vienna, Austria, Europe Paolo.Petta <@> > ofai.at