From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Tfardy Newsgroups: gmane.emacs.help Subject: Re: replacing in a current line only Date: Tue, 31 Jul 2007 15:58:51 +0200 Message-ID: <5h8tgsF3ivokjU1@mid.individual.net> References: <1185877242.951363.181220@w3g2000hsg.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: sea.gmane.org 1185905337 6105 80.91.229.12 (31 Jul 2007 18:08:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2007 18:08:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 31 20:08:51 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 1IFw9K-0000I9-Gt for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2007 20:08:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFw9K-0004F7-30 for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2007 14:08:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net 7fCPLvneI6UoEUISW7lOhQFrrn8vzmRds2+wkzxONFbVBuPXoq Cancel-Lock: sha1:FMF1vFnq62I6DwlefyMtwjbvEWs= User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:150647 X-Mailman-Approved-At: Tue, 31 Jul 2007 14:08:36 -0400 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:46231 Archived-At: Peter Dyballa schrieb: > > Am 31.07.2007 um 12:20 schrieb Rafal Kurcz: > >> How can I replace the string in a current line only. > > Or did you mean to replace only some characters in that line? Then: > > C-a C-SPC C-e M-x replace-string RET RET RET Or C-a C-SPC C-e M-% RET RET when you want control what should be replaced. regards Marc