From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Carmody Newsgroups: gmane.emacs.help Subject: Re: Why function behaves differently when bound to different key combo? Date: Fri, 28 Nov 2008 08:22:49 +0200 Organization: Saunalahti Customer Message-ID: <87r64w1i9y.fsf@nonospaz.fatphil.org> References: <6daf5632-fd9e-4ade-a2d3-b23ca738f9da@r37g2000prr.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227854454 2298 80.91.229.12 (28 Nov 2008 06:40:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2008 06:40:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 07:41:56 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5x33-00008Y-CT for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2008 07:41:53 +0100 Original-Received: from localhost ([127.0.0.1]:59085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5x1t-0007gb-LZ for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2008 01:40:41 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!newsfeed1.funet.fi!newsfeeds.funet.fi!feeder1.news.saunalahti.fi!reader1.news.saunalahti.fi!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:HAMjdcCwbU0zYslK94Hf5Vf5NGA= Original-Lines: 35 Original-NNTP-Posting-Host: 83.143.57.195 Original-X-Complaints-To: newsmaster@saunalahti.com Original-X-Trace: reader1.news.saunalahti.fi 1227853342 83.143.57.195 (Fri, 28 Nov 2008 08:22:22 EET) Original-NNTP-Posting-Date: Fri, 28 Nov 2008 08:22:22 EET Original-Xref: news.stanford.edu gnu.emacs.help:164852 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60180 Archived-At: "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 /.