>>>>> On Tue, 09 Feb 2010 08:40:07 +0900, Katsumi Yamaoka <[email protected]> >>>>> 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 _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
