[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to set a key in an article.
From: |
Uwe Brauer |
Subject: |
Re: how to set a key in an article. |
Date: |
Tue, 09 Feb 2010 11:52:08 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.21 (linux) |
>>>>> On Tue, 09 Feb 2010 08:40:07 +0900, Katsumi Yamaoka <yamaoka@jpl.org>
>>>>> wrote:
>>>>> Uwe Brauer wrote:
>> When reading an article (mail/news) describe-mode
>> Tells me that I am in article-mode.
>> I want to bind the function icalendar-extract-buffer to some
>> key.
>> I tried
>> (add-hook 'gnus-article-mode-hook 'my-article-keys)
>> (defun my-article-keys ()
>> (interactive)
>> (local-set-key "C-\\" 'icalendar-extract-ical-from-buffer))
> Use "\C-\\" , [(control ?\\)] , [(control \\)] or (kbd "C-\\") .
>> Or
>> (local-set-key [(control c) i] 'icalendar-extract-ical-from-buffer)
> Use "\C-ci" , [(control ?c) ?i] , [(control c) ?i] or (kbd "C-c i") .
"\C-ci" worked, thanks.
That is really strange because I thought (local-set-key
[(control c) i] 'icalendar-extract-ical-from-buffer) is the
most general, inoperable form for key binding concerning
Xemacs and GNU emacs. And it worked in all other setting,
summary keys, group keys etc.
Anyway.
Thanks
Uwe