From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: [bojohan+mail@dd.chalmers.se: replace-regexp at end of buffer] Date: Tue, 27 Feb 2007 18:56:02 +0100 Message-ID: References: <87fy8rzi19.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172599038 17560 80.91.229.12 (27 Feb 2007 17:57:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2007 17:57:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 27 18:57:02 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HM6ZO-0005py-Kh for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 18:56:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM6ZO-0005cI-AX for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 12:56:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HM6Yt-0005Rz-Mj for emacs-devel@gnu.org; Tue, 27 Feb 2007 12:56:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HM6Ys-0005R2-00 for emacs-devel@gnu.org; Tue, 27 Feb 2007 12:56:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM6Yr-0005Qw-Qs for emacs-devel@gnu.org; Tue, 27 Feb 2007 12:56:25 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HM6Yr-0004mK-AN for emacs-devel@gnu.org; Tue, 27 Feb 2007 12:56:25 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HM6Ye-0005oS-Hc for emacs-devel@gnu.org; Tue, 27 Feb 2007 18:56:13 +0100 Original-Received: from gamma02.me.chalmers.se ([129.16.50.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Feb 2007 18:56:12 +0100 Original-Received: from bojohan+news by gamma02.me.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Feb 2007 18:56:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gamma02.me.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:2+XdBHFov42uIdIzng/1NGJMhD0= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66935 Archived-At: Chong Yidong writes: > perform-replace is a subroutine of query-replace, which does not > exhibit any problem (it corrects the buffer position when this case > occurs). It is not used in generic Elisp code, which should be using > replace-match instead. > > Therefore, no fix is required or desired. This affects regexp replacement. Try M-x replace-regexp (this command was already mentioned), or query-replace-regexp if you like. -- Johan Bockgård