all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: gnus: how to redefine a keymap
Date: Sat, 24 Oct 2009 14:16:23 +0200	[thread overview]
Message-ID: <m2d44dc7hk.fsf@gmail.com> (raw)
In-Reply-To: mailman.9394.1256383005.2239.help-gnu-emacs@gnu.org

Andreas Politz <politza@fh-trier.de> writes:

> "B. T. Raven" <nihil@nihilo.net> writes:
>

[...]

>
> Because `g' is a symbol, not a character.  On the other hand, function
> keys are mapped by symbols (like 'F6).  
>
> Anyway you should probablly stick to the `kbd' macro,  where you can
> , in most cases, declare the key as you seem to expect.
>
> (kbd "g")
> (kbd "C-g")
>
> Keys which are represented by symbols (e.g. function keys,Home,etc.)
> need to be embraced.
>
> (kbd "<f6>")
> (kbd "C-<f6>")

ah ok thanks for the tips

>>
>> How about:
>>
>> .... [(g)] .....
>>
>> or .... [?g]....
>>
>> or .... "g" .....
>>
>>
>> ??
>
> I vote for the 2nd option.
>

Just out of curiosity, why the 2nd one ? it looks to me the less
readable :)

-- 
Francis


      parent reply	other threads:[~2009-10-24 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 20:41 gnus: how to redefine a keymap Francis Moreau
2009-10-24  8:13 ` B. T. Raven
2009-10-24 11:16   ` Andreas Politz
     [not found]   ` <mailman.9394.1256383005.2239.help-gnu-emacs@gnu.org>
2009-10-24 12:16     ` Francis Moreau [this message]

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=m2d44dc7hk.fsf@gmail.com \
    --to=francis.moro@gmail.com \
    --cc=help-gnu-emacs@gnu.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.