From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: query-replace's recursive edit: switched buffers and got lost Date: Sat, 23 Mar 2002 09:14:37 -0700 (MST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200203231614.g2NGEbD02274@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1016900382 13020 127.0.0.1 (23 Mar 2002 16:19:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2002 16:19:42 +0000 (UTC) Cc: gnu-emacs-bug@moderators.isc.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16ooF4-0003Nt-00 for ; Sat, 23 Mar 2002 17:19:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16ooF3-0005dF-00; Sat, 23 Mar 2002 11:19:41 -0500 Original-Received: from mr1.ash.ops.us.uu.net ([198.5.241.86]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16ooAL-0005Nj-00 for ; Sat, 23 Mar 2002 11:14:49 -0500 Original-Received: from pele.santafe.edu by mr1.ash.ops.us.uu.net with ESMTP (peer crosschecked as: pele.santafe.edu [192.12.12.119]) id QQmhlg22763 for ; Sat, 23 Mar 2002 16:14:43 GMT Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g2NGEba07914; Sat, 23 Mar 2002 09:14:37 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g2NGEbD02274; Sat, 23 Mar 2002 09:14:37 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: jidanni@yahoo.com.tw In-Reply-To: (message from Dan Jacobson on 22 Mar 2002 18:27:26 +0800) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:111 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:111 Does this give good results? *** replace.el.~1.130.~ Wed Feb 20 17:29:45 2002 --- replace.el Sat Mar 23 05:20:09 2002 *************** *** 1128,1134 **** (save-excursion (funcall search-function search-string limit t) (setq real-match-data (match-data))) ! (save-excursion (recursive-edit)) (goto-char opos)) (set-match-data real-match-data) ;; Before we make the replacement, --- 1129,1136 ---- (save-excursion (funcall search-function search-string limit t) (setq real-match-data (match-data))) ! (save-window-excursion ! (save-excursion (recursive-edit))) (goto-char opos)) (set-match-data real-match-data) ;; Before we make the replacement, _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs