[Top][All Lists]
[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:49:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
>> window. So it is necessary to bind `same-window-buffer-names' and
>> `same-window-regexps' to nil temporarily to force displaying the Help
>> buffer in another window.
>
> That works around the problem but doesn't fix it. You can specify
> `same-window' in special-display-regexp, for example. Or you could
> encounter similar problems by setting display-buffer-function, etc...
> A real fix is to make sure we return to the proper window and buffer
> when we get back to the main search loop.
Currently I see no place in the main search loop to do this,
and implementing this properly would add too much complexity
to already very complex isearch mode. So if this works in 99%
cases, I think this wourkaround would be ok.
>> + (while (< i 256)
>> + (define-key map (vector i) 'isearch-other-control-char)
>> + (setq i (1+ i)))
>
> This doesn't look right. You probably just want to use
>
> (define-key map [t] 'isearch-other-control-char)
I tested this, and it works correctly. Thanks for the hint.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: binding c-h in isearch, (continued)
- Re: binding c-h in isearch, joakim, 2008/04/17
- Re: binding c-h in isearch, Juri Linkov, 2008/04/17
- Re: binding c-h in isearch, Stefan Monnier, 2008/04/17
- Re: binding c-h in isearch, Juri Linkov, 2008/04/19
- Re: binding c-h in isearch, Lennart Borgman (gmail), 2008/04/19
- Re: binding c-h in isearch, Juri Linkov, 2008/04/19
- Re: binding c-h in isearch, Lennart Borgman (gmail), 2008/04/19
- Re: binding c-h in isearch, Juri Linkov, 2008/04/20
- Re: binding c-h in isearch, Lennart Borgman (gmail), 2008/04/20
- Re: binding c-h in isearch, Stefan Monnier, 2008/04/19
- Re: binding c-h in isearch,
Juri Linkov <=
- Re: binding c-h in isearch, Johan Bockgård, 2008/04/18
RE: binding c-h in isearch, Drew Adams, 2008/04/19
Re: binding c-h in isearch, Juri Linkov, 2008/04/19
RE: binding c-h in isearch, Drew Adams, 2008/04/19