From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: question about markers, replace-match, and undo Date: Fri, 27 Apr 2007 11:13:16 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1177697645 20422 80.91.229.12 (27 Apr 2007 18:14:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2007 18:14:05 +0000 (UTC) To: =?UTF-8?Q?Johan_=22Bockg=C3=A5rd=22?= , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 27 20:14:04 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 1HhUxB-0000vP-UC for ged-emacs-devel@m.gmane.org; Fri, 27 Apr 2007 20:13:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhV33-0007xl-M5 for ged-emacs-devel@m.gmane.org; Fri, 27 Apr 2007 14:20:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhV30-0007xW-UD for emacs-devel@gnu.org; Fri, 27 Apr 2007 14:19:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhV2w-0007xK-De for emacs-devel@gnu.org; Fri, 27 Apr 2007 14:19:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhV2w-0007xH-8r for emacs-devel@gnu.org; Fri, 27 Apr 2007 14:19:54 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HhUx3-0005Tu-Ao for emacs-devel@gnu.org; Fri, 27 Apr 2007 14:13:49 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l3RIDl0M023995 for ; Fri, 27 Apr 2007 12:13:47 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l3RI3bXT028147 for ; Fri, 27 Apr 2007 12:13:46 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-82-83.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 2653086961177697600; Fri, 27 Apr 2007 11:13:20 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:70275 Archived-At: > > I'm not saying there is necessarily a bug here; I don't know.=20 > > I'm asking how I can get `undo' to restore not only the text > > but the marker positions. >=20 > FWIW, the markers are correctly restored in Emacs 21. Ah, thanks Johan.=20 So is this an Emacs 22 bug, or is the current behavior intended and a = fix for an Emacs 21 bug?=20 If this is the intended behavior, can anyone help with how to force the = previous behavior (i.e. restore the markers to their original = positions)?