bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6222: Shouldn't f1 in isearch-mode be help?


From: Lennart Borgman
Subject: bug#6222: Shouldn't f1 in isearch-mode be help?
Date: Thu, 20 May 2010 02:47:32 +0200

On Thu, May 20, 2010 at 2:38 AM, Juri Linkov <juri@jurta.org> wrote:
>>>    (define-key global-map (char-to-string help-char) 'help-command)
>>>    (define-key global-map [help] 'help-command)
>>>    (define-key global-map [f1] 'help-command)
>>
>> Thanks, I see. But shouldn't isearch do the same then?
>
> I agree that it should:

Fine, thanks.

>> What about having a function in help.el for defining a binding for all
>> three possibilities? Something like
>>
>>   (defun help-define-help-keys (map command)
>>     (define-key map (char-to-string help-char) command)
>>     (define-key map [help] command)
>>     (define-key map [f1] command))
>
> I'd rather remap all them to one key.

I don't understand, but that is just because I do not know the details
of remap I guess. Otherwise it sounds reasonable.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]