From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: weber Newsgroups: gmane.emacs.help Subject: Re: Isearch functionality Date: Sat, 04 Aug 2007 15:03:27 -0000 Organization: http://groups.google.com Message-ID: <1186239807.386359.248730@b79g2000hse.googlegroups.com> References: <1185888195.759240.180330@d55g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1186242104 23352 80.91.229.12 (4 Aug 2007 15:41:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2007 15:41:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 04 17:41:41 2007 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 1IHLl3-0005UF-Ao for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 17:41:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHLl1-0000im-En for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 11:41:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b79g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 189.6.212.239 Original-X-Trace: posting.google.com 1186239807 990 127.0.0.1 (4 Aug 2007 15:03:27 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 4 Aug 2007 15:03:27 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b79g2000hse.googlegroups.com; posting-host=189.6.212.239; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150743 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:46318 Archived-At: On Aug 4, 5:48 am, Dieter Wilhelm wrote: > weber writes: > > I'd like to implement a command inside isearch that deletes the > > current match _from the buffer_ (not from the search string) > > I'd try the key sequence M-% within isearch, it switches to > query-replace and you can replace the current search string with "". > > (You can bail out of query-replace by typing RET or q *or* C-s for > further searches 8-)) > > -- > Best wishes > > H. Dieter Wilhelm > Darmstadt, Germany Cool! that will useful in a lot of other situations as well! Regards, weber