* Re: editor for large xml files?
[not found] ` <4B7B3562.8030604@jj.em-net.ne.jp>
2010-02-17 8:27 ` editor for large xml files? Andreas Roehler
@ 2010-02-17 8:27 ` Andreas Roehler
[not found] ` <4B7BA887.4000100@online.de>
2 siblings, 0 replies; 8+ messages in thread
From: Andreas Roehler @ 2010-02-17 8:27 UTC (permalink / raw)
To: Charles Muller; +Cc: TEI-L, XEmacs Beta Discussion, emacs-devel
Dear Emacs developers,
forward you this mail, where implementing Emacs-Keys into XML-Editor Oxygen is the issue.
As Emacs-Keys have been qualified "arcane", here my suggestion:
Keys itself are fine, cua-mode is available for beginners.
"arcane" indeed might turn the way defining it due to different formats.
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.
Thanks all
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/
Charles Muller wrote:
> George Bina wrote:
>
>> Sure, I am listening ;).
>>
>> Currently we have more than 1000 open issues recorded on our issue
>> tracking system so to have this with an increased priority please send
>> us feedback through our features survey page, in the Other features
>> entry enter for example "Emacs key bindings":
>> http://www.oxygenxml.com/survey.html
>
> My personal opinion is that this sort of thing should rank at about
> 1,001 on the list of priorities. <oXygen/> is doing enough things well,
> so no need to waste energy attempting to replicate Emacs' most arcane
> and problematic features!
>
> Regards,
>
> Chuck
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: editor for large xml files?
[not found] ` <4B7B3562.8030604@jj.em-net.ne.jp>
@ 2010-02-17 8:27 ` Andreas Roehler
2010-02-17 8:27 ` Andreas Roehler
[not found] ` <4B7BA887.4000100@online.de>
2 siblings, 0 replies; 8+ messages in thread
From: Andreas Roehler @ 2010-02-17 8:27 UTC (permalink / raw)
To: Charles Muller; +Cc: TEI-L, XEmacs Beta Discussion, emacs-devel
Dear Emacs developers,
forward you this mail, where implementing Emacs-Keys into XML-Editor Oxygen is the issue.
As Emacs-Keys have been qualified "arcane", here my suggestion:
Keys itself are fine, cua-mode is available for beginners.
"arcane" indeed might turn the way defining it due to different formats.
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.
Thanks all
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/
Charles Muller wrote:
> George Bina wrote:
>
>> Sure, I am listening ;).
>>
>> Currently we have more than 1000 open issues recorded on our issue
>> tracking system so to have this with an increased priority please send
>> us feedback through our features survey page, in the Other features
>> entry enter for example "Emacs key bindings":
>> http://www.oxygenxml.com/survey.html
>
> My personal opinion is that this sort of thing should rank at about
> 1,001 on the list of priorities. <oXygen/> is doing enough things well,
> so no need to waste energy attempting to replicate Emacs' most arcane
> and problematic features!
>
> Regards,
>
> Chuck
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: editor for large xml files?
[not found] ` <4B7BA887.4000100@online.de>
@ 2010-02-17 9:20 ` Tassilo Horn
2010-02-17 9:53 ` Andreas Roehler
2010-02-18 3:29 ` (kbd) for key bindings (was: editor for large xml files?) Steve Revilak
0 siblings, 2 replies; 8+ messages in thread
From: Tassilo Horn @ 2010-02-17 9:20 UTC (permalink / raw)
To: Andreas Roehler
Cc: Charles Muller, TEI-L, emacs-devel, XEmacs Beta Discussion
Andreas Roehler <andreas.roehler@online.de> 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?
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 "<C-kp-divide>") '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.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: editor for large xml files?
2010-02-17 9:20 ` Tassilo Horn
@ 2010-02-17 9:53 ` Andreas Roehler
2010-02-18 3:29 ` (kbd) for key bindings (was: editor for large xml files?) Steve Revilak
1 sibling, 0 replies; 8+ messages in thread
From: Andreas Roehler @ 2010-02-17 9:53 UTC (permalink / raw)
To: Tassilo Horn; +Cc: emacs-devel
Tassilo Horn wrote:
> Andreas Roehler <andreas.roehler@online.de> 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 "<C-kp-divide>") '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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* (kbd) for key bindings (was: editor for large xml files?)
2010-02-17 9:20 ` Tassilo Horn
2010-02-17 9:53 ` Andreas Roehler
@ 2010-02-18 3:29 ` Steve Revilak
2010-02-18 7:18 ` (kbd) for key bindings Miles Bader
1 sibling, 1 reply; 8+ messages in thread
From: Steve Revilak @ 2010-02-18 3:29 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 902 bytes --]
>From: Tassilo Horn <tassilo@member.fsf.org>
>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 "<C-kp-divide>") '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.
I'd never heard of (kbd) before, but I like that representation a lot.
It's the same syntax that describe-key outputs, and it's also the same
syntax that people use when writing about emacs key bindings (e.g.,
the emacs tutorial). If you understand what "C-x C-f" means, then you
basically know how to supply arguments to kbd.
Steve
(who just re-wrote all of his custom key bindings)
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: (kbd) for key bindings
2010-02-18 3:29 ` (kbd) for key bindings (was: editor for large xml files?) Steve Revilak
@ 2010-02-18 7:18 ` Miles Bader
2010-02-18 10:17 ` Stephen J. Turnbull
0 siblings, 1 reply; 8+ messages in thread
From: Miles Bader @ 2010-02-18 7:18 UTC (permalink / raw)
To: Steve Revilak; +Cc: emacs-devel
Steve Revilak <steve@srevilak.net> writes:
> I'd never heard of (kbd) before, but I like that representation a lot.
> It's the same syntax that describe-key outputs, and it's also the same
> syntax that people use when writing about emacs key bindings (e.g.,
> the emacs tutorial). If you understand what "C-x C-f" means, then you
> basically know how to supply arguments to kbd.
I'm not sure kbd is really the best "universal solution" though.
The fact that it's a macro can be annoying and surprising (you can't
funcall it, for instance) and its key syntax seems worryingly ad-hoc --
the "output format" that kbd purports to parse is meant for easy human
readability, not unambiguous machine parsing.
-Miles
--
Happiness, n. An agreeable sensation arising from contemplating the misery of
another.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: (kbd) for key bindings
2010-02-18 7:18 ` (kbd) for key bindings Miles Bader
@ 2010-02-18 10:17 ` Stephen J. Turnbull
2010-02-18 11:18 ` Andreas Roehler
0 siblings, 1 reply; 8+ messages in thread
From: Stephen J. Turnbull @ 2010-02-18 10:17 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel, Steve Revilak
Miles Bader writes:
> I'm not sure kbd is really the best "universal solution" though.
Thank you, Miles!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: (kbd) for key bindings
2010-02-18 10:17 ` Stephen J. Turnbull
@ 2010-02-18 11:18 ` Andreas Roehler
0 siblings, 0 replies; 8+ messages in thread
From: Andreas Roehler @ 2010-02-18 11:18 UTC (permalink / raw)
To: Stephen J. Turnbull; +Cc: Tassilo Horn, Steve Revilak, emacs-devel, Miles Bader
Stephen J. Turnbull wrote:
> Miles Bader writes:
>
> > I'm not sure kbd is really the best "universal solution" though.
>
> Thank you, Miles!
>
>
>
Thanks all,
may be it's time to write a feature request "emacs-key definitions universal solution" following the original proposal?
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-02-18 11:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2AADFE343D601545A6F8F2B49E144A37EDE0118C4A@STAWINCOEXMAIL1.staff.vuw.ac.nz>
[not found] ` <4B5DEEF6.6050006@uleth.ca>
[not found] ` <4B5E44A6.1060908@o2.pl>
[not found] ` <4B5EFD50.6050802@durusau.net>
[not found] ` <4B5F49D9.5000107@vuw.ac.nz>
[not found] ` <2BBFBDCDF4296C4482D60C88E47A0707046C841B56@PITT-EXCH-14.univ.pitt.edu>
[not found] ` <4B7748F4.4050109@mars.ucc.ie>
[not found] ` <2AADFE343D601545A6F8F2B49E144A37EDE0118CAF@STAWINCOEXMAIL1.staff.vuw.ac.nz>
[not found] ` <4B79AD6C.2090203@mars.ucc.ie>
[not found] ` <4B79B0EA.3020503@virginia.edu>
[not found] ` <20100216015847.GW9945@proliant.indica-et-buddhica.org>
[not found] ` <4B7A4309.6040101@oxygenxml.com>
[not found] ` <4B7B3562.8030604@jj.em-net.ne.jp>
2010-02-17 8:27 ` editor for large xml files? Andreas Roehler
2010-02-17 8:27 ` Andreas Roehler
[not found] ` <4B7BA887.4000100@online.de>
2010-02-17 9:20 ` Tassilo Horn
2010-02-17 9:53 ` Andreas Roehler
2010-02-18 3:29 ` (kbd) for key bindings (was: editor for large xml files?) Steve Revilak
2010-02-18 7:18 ` (kbd) for key bindings Miles Bader
2010-02-18 10:17 ` Stephen J. Turnbull
2010-02-18 11:18 ` Andreas Roehler
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).