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

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

Re: How to backspace in isearch-forward-regexp


From: Bernardo
Subject: Re: How to backspace in isearch-forward-regexp
Date: Wed, 15 Jul 2009 20:25:57 +1000
User-agent: Thunderbird 2.0.0.22 (X11/20090605)



(I apologize if this is a duplicate post. I tried using the email
gateway, but it didn't seem to work, or it takes too long.)

After installing GNU Emacs on some new boxes recently, I finally
realized one thing that is behaving differently than what I'm used to.

When I'm using isearch-forward-regexp, I can type letter by letter,
and it will update the first match found.  I used to be able to hit
backspace while typing to remove the last character entered in the
search string, in case I made a mistake entering the string.

Now, when I hit backspace, it exits isearch-forward-regexp and sends
the backspace directly to the buffer I was searching in, usually
deleting the previous character at the end of the last match.

I have a feeling this must have something to do with the binding of
the backspace key in Cygwin.

I'm using Emacs 23.0.92.1 on Cygwin 1.5.


does it happen when you start Emacs with -Q command line option?
(it's not happening here but i'm not running the Cygwin version)

in the meantime something like this:
(define-key isearch-mode-map [backspace] 'isearch-delete-char)

in your init file (.emacs) could provide a relief




reply via email to

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