From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: peter hodgson Newsgroups: gmane.emacs.help Subject: customize isearch-repeat-forward Date: Thu, 13 Sep 2007 21:03:37 -0500 Message-ID: <87wsuuvw92.fsf@comcast.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189735557 30701 80.91.229.12 (14 Sep 2007 02:05:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2007 02:05:57 +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 Sep 14 04:05:56 2007 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 1IW0YL-00031w-74 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2007 04:05:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IW0YK-0002KU-Fr for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2007 22:05:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IW0X7-00012t-IJ for help-gnu-emacs@gnu.org; Thu, 13 Sep 2007 22:03:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IW0X5-000111-Px for help-gnu-emacs@gnu.org; Thu, 13 Sep 2007 22:03:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IW0X5-00010m-14 for help-gnu-emacs@gnu.org; Thu, 13 Sep 2007 22:03:47 -0400 Original-Received: from rwcrmhc15.comcast.net ([216.148.227.155]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IW0X4-0002GP-JX for help-gnu-emacs@gnu.org; Thu, 13 Sep 2007 22:03:46 -0400 Original-Received: from hodgson-desktop (c-98-197-143-11.hsd1.tx.comcast.net[98.197.143.11]) by comcast.net (rwcrmhc15) with ESMTP id <20070914020344m1500c6o9fe>; Fri, 14 Sep 2007 02:03:45 +0000 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Detected-Kernel: NetCache Data OnTap 5.x 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:47569 Archived-At: 'M-x version' yields: GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11) of 2007-08-14 on palmer, modified by Ubuntu --------------------- fellow emaculates; the pleasure of your company these past weeks has prompted me to refine some of my customizations; here's what my .emacs used to say about isearch: (global-set-key "\ee" 'isearch-forward) (global-set-key "\C-f" 'isearch-repeat-forward) (global-set-key "\e'" 'isearch-exit) (global-set-key "\e3" 'isearch-backward) (global-set-key "\e2" 'isearch-repeat-backward) everything worked fine; then i changed one line: (global-set-key "\er" 'isearch-repeat-forward) and now all hell's broken loose; it starts out fine: when i press , i get "I-search:", so i type "key"; all occurences of 'key' are highlighted, and the cursor is at the end of the first occurence; then i press ; instead of having the cursor move to the next occurence of 'key', it stays where it was, and i get this message: "Pending regexp I-search: key" when i press again, i get: "Pending I-search: key" and there's still no cursor movement; further pressing toggles between this two 'Pending...' messages; BUT IF i press after i type in "key", or after i get either of the 'Pending...' messages, THEN when i press it moves the cursor through the occurences of 'key', in other words, isearch-repeat-forward; i've been eating lots of steak lately, to facilitate healing a wound; does this .emacs difficulty suggest my karma been compromised? or is there a lisp solution? thanks, imputerate