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

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

Re: Why function behaves differently when bound to different key combo?


From: Phil Carmody
Subject: Re: Why function behaves differently when bound to different key combo?
Date: Fri, 28 Nov 2008 08:22:49 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

"seberino@spawar.navy.mil" <seberino@spawar.navy.mil> writes:

> Normally incremental search can be repeated by pressing C-s multiple
> times.
>
> Why if I remap incremental search to C-f I CANNOT repeat it by
> pressing C-f multiple times?....
>
> Here is how I remapped it...
>
> (global-set-key "\^f" 'isearch-forward)

"""
C-s runs the command isearch-forward
  which is an interactive compiled Lisp function in `isearch.el'.

Do incremental search forward.
With a prefix argument, do an incremental regular expression search instead.

As you type characters, they add to the search string and are found.
The following non-printing keys are bound in `isearch-mode-map'.
"""

And isearch-mode-map contains this:

       (19 . isearch-repeat-forward)

(19 is C-s.) So you need to rebind that too.

Phil
-- 
I tried the Vista speech recognition by running the tutorial. I was 
amazed, it was awesome, recognised every word I said. Then I said the 
wrong word ... and it typed the right one. It was actually just 
detecting a sound and printing the expected word! -- pbhj on /.


reply via email to

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