From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: C-s and delete under Windows Date: Mon, 30 Mar 2009 12:07:59 -0600 Message-ID: References: <8abd1937-f23c-4c21-85f8-147568bcf42c@y9g2000yqg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238434878 18210 80.91.229.12 (30 Mar 2009 17:41:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 17:41:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 19:42:36 2009 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 1LoLUu-0001B8-0d for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 19:42:08 +0200 Original-Received: from localhost ([127.0.0.1]:42523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoLTW-0005mT-Ju for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 13:40:42 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 30 Mar 2009 12:06:26 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help In-Reply-To: <8abd1937-f23c-4c21-85f8-147568bcf42c@y9g2000yqg.googlegroups.com> Original-Lines: 19 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.129.129 Original-X-Trace: sv3-Sh6QIKupwp9q7SRRNbYkaphkTdBCZmvzrjOoofmBbnIftiXj5KSn1XZjmFWASAR7r8SuWVfwLMVSR+Q!JUXxbuE+Q+OiA19BkkyhfvFmnoXMGnvSr8jlb+OIEGGYROpBdNfHjI8zyG7O/2U0pd5TUz+NvCNu!C2hMiEkqPJgE6KIoU+2i8uS4JXJid4g= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 X-Original-Bytes: 2241 Original-Xref: news.stanford.edu gnu.emacs.help:168106 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:63393 Archived-At: Ulrich Scholz wrote: > Hi, under Linux, deleting while searching (C-s, type something, and > then press delete) removes letters from the search string and > continues to search. Under Windows, the behavior is different: it > ends the search and deletes characters from my file. > > How can I implement the Linux behavior under Windows? > > Maybe the problem is my .emacs on Windows. I use the following: > > (global-set-key [backspace] 'backward-delete-char-untabify) That might be the culprit. Do your delete and backspace keys work the same? Are they bound to same function? I think that backspace should remove the last character from the isearch string and leave you in the search routine. Delete should erase character right after instance of seach string at cursor and break out of search. At least that's how my Emacs (nt5.0) has always worked. If you just want to use C-s or C-r for cursor movement you can do C-space at any point to break out of isearch.