Lisp HUG Maillist Archive

Isearch search-again keys

This is a repost.

How do I change the default binding of Isearch search-again keys?
Those are the keys pressed to reinvoke Isearch (pressing C-r or
C-s after pressing the initial C-r or C-s, or depending on what key
"Incremental Search" and "Reverse Incremental Search" is bound
to)

-- 
Rommel M. Martinez
ebzzry@gmail.com
http://www.bespin.org/~ebzzry


Re: Isearch search-again keys

Hi Rommel,

unlike emacs (where this is done through adding bindings to isearch- 
mode-map), lw editor uses mechanism called "logical characters",  
which is essentially a mapping between "real" characters and a  
keyword designating a logical character. :forward-search is one of  
such logical characters. Relevant functions are in echo.lisp in  
editor sources. Start with looking at logical-char= function. Its  
documentation claims "The relation between logical and real  
characters is defined by using Setf on Logical-Char=.", but this does  
not seem to be the case. I was only able to find an internal set- 
logical-char= function, but to use it you need to find out which hash- 
table to add to (this one:  (editor::editor-input-style-logical- 
characters editor::*emacs-input-style*)).

Hope this helps,
Denis.


On 4 Sep 2008, at 04:55, Rommel Martinez wrote:

>
> This is a repost.
>
> How do I change the default binding of Isearch search-again keys?
> Those are the keys pressed to reinvoke Isearch (pressing C-r or
> C-s after pressing the initial C-r or C-s, or depending on what key
> "Incremental Search" and "Reverse Incremental Search" is bound
> to)
>
> -- 
> Rommel M. Martinez
> ebzzry@gmail.com
> http://www.bespin.org/~ebzzry
>


Updated at: 2020-12-10 08:42 UTC