unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Which keyboard hotkey syntax should we use?
@ 2013-05-29 23:07 Andrew Pennebaker
  2013-05-30  5:14 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Pennebaker @ 2013-05-29 23:07 UTC (permalink / raw)
  To: Emacs Help

There's (kbd "...") and [...]. Could we deprecate one of these in favor of
the other for simplicity?

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Which keyboard hotkey syntax should we use?
  2013-05-29 23:07 Which keyboard hotkey syntax should we use? Andrew Pennebaker
@ 2013-05-30  5:14 ` Kevin Rodgers
  2013-05-30 14:47 ` Stefan Monnier
       [not found] ` <mailman.681.1369925415.22516.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2013-05-30  5:14 UTC (permalink / raw)
  To: help-gnu-emacs

On 5/29/13 5:07 PM, Andrew Pennebaker wrote:
> There's (kbd "...") and [...]. Could we deprecate one of these in favor of
> the other for simplicity?

You should use the syntax that you understand.

I generally prefer [...] and only occasionally resort to (kbd "...").  I like
having them both available.

-- 
Kevin Rodgers
Denver, Colorado, USA




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Which keyboard hotkey syntax should we use?
  2013-05-29 23:07 Which keyboard hotkey syntax should we use? Andrew Pennebaker
  2013-05-30  5:14 ` Kevin Rodgers
@ 2013-05-30 14:47 ` Stefan Monnier
       [not found] ` <mailman.681.1369925415.22516.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2013-05-30 14:47 UTC (permalink / raw)
  To: help-gnu-emacs

> There's (kbd "...") and [...]. Could we deprecate one of these in favor of
> the other for simplicity?

The [...] notation is the internal one, so it's probably not going away
any time soon.  We could try and deprecate the `kbd' syntax, but I think
most people would rather deprecate the [...] syntax instead ;-)


        Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Which keyboard hotkey syntax should we use?
       [not found] ` <mailman.681.1369925415.22516.help-gnu-emacs@gnu.org>
@ 2013-05-30 15:31   ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2013-05-30 15:31 UTC (permalink / raw)
  To: help-gnu-emacs

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> There's (kbd "...") and [...]. Could we deprecate one of these in
>> favor of the other for simplicity?
>
> The [...] notation is the internal one, so it's probably not going
> away any time soon.  We could try and deprecate the `kbd' syntax,
> but I think most people would rather deprecate the [...] syntax
> instead ;-)

I heard that one is more "portable" than the other. If [...] is used
under the hood, I suppose that is the one, although I don't remember
the details of the argument.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-30 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 23:07 Which keyboard hotkey syntax should we use? Andrew Pennebaker
2013-05-30  5:14 ` Kevin Rodgers
2013-05-30 14:47 ` Stefan Monnier
     [not found] ` <mailman.681.1369925415.22516.help-gnu-emacs@gnu.org>
2013-05-30 15:31   ` Emanuel Berg

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).