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

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

Re: Custom backspace delete in mini-buffer


From: Lennart Borgman (gmail)
Subject: Re: Custom backspace delete in mini-buffer
Date: Fri, 08 Aug 2008 02:10:09 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Drew Adams wrote:
It works fine, but there is a problem. When I am in i-search mode, pressing backspace deletes the last character in the
window, not in the i-search mini-buffer.

I do not know much about elisp. The function above I just "stole" together. What can I do?

I don't have time to look at this now - hopefully someone else will help you.
But here's one piece of info that might help a little: isearch does not use the
minibuffer (for normal searching); it uses the echo area. It reads your input
events without using the minibuffer, and it echoes your keys to the echo area in
an incremental way.

I am not sure and I have no idea why it should be needed, but try this

  (define-key isearch-mode-map [backspace] 'isearch-delete-char)





reply via email to

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