all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: peter hodgson <pclhodgson@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: customize isearch-repeat-forward
Date: Thu, 13 Sep 2007 21:03:37 -0500	[thread overview]
Message-ID: <87wsuuvw92.fsf@comcast.net> (raw)


'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 <M-e>, 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 <M-r>; 

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 <M-r> again, i get:

"Pending I-search: key"

and there's still no cursor movement; further pressing <M-r> toggles
between this two 'Pending...' messages;

BUT IF i press <Enter> after i type in "key", or after i get either of
the 'Pending...' messages, THEN when i press <M-r> 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 

             reply	other threads:[~2007-09-14  2:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14  2:03 peter hodgson [this message]
2007-09-14  6:36 ` customize isearch-repeat-forward Mathias Megyei
2007-09-14  7:10   ` imputerate
2007-09-14  7:16     ` Mathias Megyei
     [not found] ` <mailman.840.1189751796.18990.help-gnu-emacs@gnu.org>
2007-09-14  8:15   ` imputerate

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wsuuvw92.fsf@comcast.net \
    --to=pclhodgson@comcast.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.