From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Spiteri Newsgroups: gmane.emacs.bugs Subject: M-/ in edit replacement string Date: Mon, 18 Oct 2004 16:24:02 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4173D202.5070602@falmalta.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098109455 9714 80.91.229.6 (18 Oct 2004 14:24:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2004 14:24:15 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 18 16:24:00 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CJYQZ-0004pa-00 for ; Mon, 18 Oct 2004 16:24:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJYXr-00071R-VE for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Oct 2004 10:31:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJYXq-00071I-51 for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2004 10:31:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJYXp-00070z-Hy for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2004 10:31:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJYXp-00070o-F0 for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2004 10:31:29 -0400 Original-Received: from [128.121.124.29] (helo=gidee.iserver.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CJYQS-0004vE-3d for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2004 10:23:52 -0400 Original-Received: from [10.0.0.171] ([194.158.42.114]) by gidee.iserver.net (8.12.11/8.12.6) with ESMTP id i9IENjSa019584 for ; Mon, 18 Oct 2004 08:23:47 -0600 (MDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9353 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9353 In GNU Emacs 21.2.1 (i386-msvc-nt5.0.2195) of 2002-03-19 on buffy configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In a buffer containing the following two lines only: abc def run query-replace to "abc" to "ghi". When there is the query, delete the replacement, type d, and press M-/ . An error message is given: perform-replace: Args out of range: 26, 27 When using M-/ in larger buffers, there is no error message, but there is some unexpected behaviour. Relevant input: C-x b h e l l o a b c d e f M-< M-% a b c g h i e d M-/ Relevant messages: perform-replace: Args out of range: 26, 27 -- Kevin Spiteri R&D Engineer FAL Malta Ltd. kevinspiteri@falmalta.com (+356) 21 435315 ext 124