[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus: how to redefine a keymap
From: |
Francis Moreau |
Subject: |
Re: gnus: how to redefine a keymap |
Date: |
Sat, 24 Oct 2009 14:16:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
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
- gnus: how to redefine a keymap, Francis Moreau, 2009/10/23
- Message not available
- Message not available
- Re: gnus: how to redefine a keymap,
Francis Moreau <=