* Minor request: full support of "ESC" as Meta key @ 2009-05-24 0:15 Paolo Petta 2009-05-26 17:25 ` Carsten Dominik 0 siblings, 1 reply; 4+ messages in thread From: Paolo Petta @ 2009-05-24 0:15 UTC (permalink / raw) To: emacs-orgmode [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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Minor request: full support of "ESC" as Meta key 2009-05-24 0:15 Minor request: full support of "ESC" as Meta key Paolo Petta @ 2009-05-26 17:25 ` Carsten Dominik 2009-05-26 17:50 ` Paolo Petta 0 siblings, 1 reply; 4+ messages in thread From: Carsten Dominik @ 2009-05-26 17:25 UTC (permalink / raw) To: Paolo Petta; +Cc: emacs-orgmode 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Minor request: full support of "ESC" as Meta key 2009-05-26 17:25 ` Carsten Dominik @ 2009-05-26 17:50 ` Paolo Petta 2009-05-27 19:18 ` Carsten Dominik 0 siblings, 1 reply; 4+ messages in thread From: Paolo Petta @ 2009-05-26 17:50 UTC (permalink / raw) To: Carsten Dominik; +Cc: emacs-orgmode 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 <carsten.dominik@gmail.com> > To: Paolo Petta <paolo.petta@ofai.at> > 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Minor request: full support of "ESC" as Meta key 2009-05-26 17:50 ` Paolo Petta @ 2009-05-27 19:18 ` Carsten Dominik 0 siblings, 0 replies; 4+ messages in thread From: Carsten Dominik @ 2009-05-27 19:18 UTC (permalink / raw) To: Paolo Petta; +Cc: emacs-orgmode 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 <carsten.dominik@gmail.com> >> To: Paolo Petta <paolo.petta@ofai.at> >> 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-27 19:33 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-05-24 0:15 Minor request: full support of "ESC" as Meta key Paolo Petta 2009-05-26 17:25 ` Carsten Dominik 2009-05-26 17:50 ` Paolo Petta 2009-05-27 19:18 ` Carsten Dominik
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).