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: Tue, 26 May 2009 19:25:01 +0200 Message-ID: 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 1M90Ok-0007oG-2l for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:25:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M90Oh-0007n4-1G for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:25:09 -0400 Received: from [199.232.76.173] (port=47124 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M90Og-0007mx-NE for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:25:06 -0400 Received: from ey-out-1920.google.com ([74.125.78.149]:49699) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M90Og-0007Fs-8d for emacs-orgmode@gnu.org; Tue, 26 May 2009 13:25:06 -0400 Received: by ey-out-1920.google.com with SMTP id 13so734965eye.24 for ; Tue, 26 May 2009 10:25:05 -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, 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