From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: replace.el changes... Date: 21 Jun 2004 16:05:32 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087826770 14057 80.91.224.253 (21 Jun 2004 14:06:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 14:06:10 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 21 16:06:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcPQy-0002mt-00 for ; Mon, 21 Jun 2004 16:06:04 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcPQx-0001zP-00 for ; Mon, 21 Jun 2004 16:06:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcPSD-0006cL-9Y for emacs-devel@quimby.gnus.org; Mon, 21 Jun 2004 10:07:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcPS5-0006be-Ck for emacs-devel@gnu.org; Mon, 21 Jun 2004 10:07:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcPS4-0006bR-Rc for emacs-devel@gnu.org; Mon, 21 Jun 2004 10:07:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcPS4-0006bH-Om for emacs-devel@gnu.org; Mon, 21 Jun 2004 10:07:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BcPQU-0001dY-FI for emacs-devel@gnu.org; Mon, 21 Jun 2004 10:05:34 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1BcPQT-0005qq-IM for emacs-devel@gnu.org; Mon, 21 Jun 2004 10:05:34 -0400 Original-To: emacs-devel@gnu.org Original-Lines: 23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25154 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25154 Hi, I m trying to get consistent behavior into replace.el. One thing that currently is inconsistent is the following: You can use ^ to revisit previous replacements whether or not you did actually perform the replacement. When you do a replacement without going on, the replaced region is highlighted. When you go backwards in the list, the highlighting does not move backward as well, unless you are actually doing replacements. If a replacement has already been done, the stored information in the history does not contain the highlighted region. So I am going to have to either change the history information format, or don't enter actually performed replacements into that list for revisiting in the first place, or don't highlight things when going backwards in the list. Incidentally, the history is also the return value from all replacement commands: anybody know whether this is actually used anywhere? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum