unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: C-s and delete under Windows
Date: Mon, 30 Mar 2009 12:07:59 -0600	[thread overview]
Message-ID: <POmdnaV3uaCOYU3UnZ2dnUVZ_t-dnZ2d@sysmatrix.net> (raw)
In-Reply-To: <8abd1937-f23c-4c21-85f8-147568bcf42c@y9g2000yqg.googlegroups.com>

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.


  parent reply	other threads:[~2009-03-30 18:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30 12:59 C-s and delete under Windows Ulrich Scholz
2009-03-30 15:22 ` Lennart Borgman
     [not found] ` <mailman.4253.1238426543.31690.help-gnu-emacs@gnu.org>
2009-03-30 15:40   ` d7
2009-03-30 19:11     ` Lennart Borgman
2009-03-30 18:07 ` B. T. Raven [this message]
2009-03-30 20:14 ` Nikolaj Schumacher
2009-03-30 20:30   ` Lennart Borgman
2009-03-30 20:56     ` Nikolaj Schumacher
2009-03-30 21:02       ` Lennart Borgman
     [not found] ` <mailman.4269.1238444064.31690.help-gnu-emacs@gnu.org>
2009-03-31  7:18   ` d7

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=POmdnaV3uaCOYU3UnZ2dnUVZ_t-dnZ2d@sysmatrix.net \
    --to=nihil@nihilo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).