emacs-devel
[Top][All Lists]
Advanced

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

Re: binding c-h in isearch


From: Juri Linkov
Subject: Re: binding c-h in isearch
Date: Sun, 20 Apr 2008 01:59:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> > It is difficult to remmeber all nice features of isearch.
>> > Would it be possible to bind c-h to isearch-mode-help in isearch?
>>
>> There's the following code in isearch.el:
>>
>>     ;; Turned off because I find I expect to get the global
>>     ;; definition--rms.
>>     ;; ;; Instead bind C-h to special help command for isearch-mode.
>>     ;; (define-key map "\C-h" 'isearch-mode-help)
>>
>> So it seems that Richard found it inconvenient.  Could someone try and
>> work out some clever way to reconcile the two functionalities?
>>
>> E.g. provide the generic help on C-h but the isearch-specific help on
>> C-h C-h, or vice versa?
>
> Since this can of worms has been opened and stirred...
>
> FWIW, I disagree with the approach being considered (Juri's suggestion etc.). 
> It
> is complicated for nothing. The simplest approach is the best: C-h during
> isearch should give the isearch bindings - bind C-h to `isearch-mode-help'.
>
> That is the convention, and it is a good one. This is like C-h following any
> other prefix key. Richard is just wrong about this. Why jump through hoops?

Isearch mode is a mode, not a prefix key.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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