From: Andreas Roehler <andreas.roehler@online.de>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: editor for large xml files?
Date: Wed, 17 Feb 2010 10:53:24 +0100 [thread overview]
Message-ID: <4B7BBC94.4080408@online.de> (raw)
In-Reply-To: <87fx50fcc7.fsf@thinkpad.tsdh.de>
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
>
next prev parent reply other threads:[~2010-02-17 9:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B7BBC94.4080408@online.de \
--to=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.