From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#16818: Acknowledgement (Undo in region after markers in undo history relocated) Date: Thu, 20 Feb 2014 09:38:52 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d25e4da31f804f2d7760b X-Trace: ger.gmane.org 1392907221 13033 80.91.229.3 (20 Feb 2014 14:40:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2014 14:40:21 +0000 (UTC) Cc: 16818@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 20 15:40:28 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WGUnb-0006Qt-93 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 15:40:27 +0100 Original-Received: from localhost ([::1]:38955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGUna-00082z-Sd for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 09:40:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGUnP-0007xz-Q8 for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:40:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGUnI-0003Y9-NW for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:40:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGUnI-0003Y5-KK for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:40:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WGUnI-0005ju-07 for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2014 09:40:08 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Feb 2014 14:40:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16818-submit@debbugs.gnu.org id=B16818.139290714321906 (code B ref 16818); Thu, 20 Feb 2014 14:40:07 +0000 Original-Received: (at 16818) by debbugs.gnu.org; 20 Feb 2014 14:39:03 +0000 Original-Received: from localhost ([127.0.0.1]:33208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGUmE-0005hD-Gc for submit@debbugs.gnu.org; Thu, 20 Feb 2014 09:39:02 -0500 Original-Received: from mail-oa0-f52.google.com ([209.85.219.52]:52092) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGUmA-0005gh-MP for 16818@debbugs.gnu.org; Thu, 20 Feb 2014 09:38:59 -0500 Original-Received: by mail-oa0-f52.google.com with SMTP id i4so1873336oah.11 for <16818@debbugs.gnu.org>; Thu, 20 Feb 2014 06:38:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ab5TlQIbpiG1Ft8vv2bMfD19JbRLya7RUaZ6OtMFl40=; b=rpBXa2N4d9ohyCxtcCDRjQGSYPgZMOG+JgHzW6gCr/51S9SQeq9oWwJcTpSp9ezlee Ix0hvT34vHFKadwpTS8071k5BPTlzAwCfQzVQVqZi7VEHVi8qawga9ZS3LqRwNf6/6rX qgIVjbfRp7LHmYLqH9e1RA6xAVCIaaS+7Oauma9jQ0ueZaJ92T2ncmgZmoHA9fezUj3W ZuTasEPdCgAJ4+wofIksHRHYo+O7JnT0Ia4JsSh7YS/1h6gWwVpjZWSQacg3I7w1UmNG pFzZt4m2kh7PqwRi6Cc33QM7FqHaHSAEdZX/V18cEMaxMayLuI296SlveOAc0RvjR62t 2MSQ== X-Received: by 10.60.123.75 with SMTP id ly11mr1772595oeb.1.1392907132737; Thu, 20 Feb 2014 06:38:52 -0800 (PST) Original-Received: by 10.76.21.84 with HTTP; Thu, 20 Feb 2014 06:38:52 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85942 Archived-At: --047d7b5d25e4da31f804f2d7760b Content-Type: text/plain; charset=ISO-8859-1 > I don't see that. It's set *and* read in undo-elt-in-region. Not > sure exactly what is the purpose, tho. I found no purpose at all for it. The more pertinent question is: > the general question comes up: how is the undo history meant to know > about marker relocations? I think the marker adjustment entries in the undo history are invalid when a marker is relocated elsewhere. I don't see code to deal with that, so how you would like it to happen? --047d7b5d25e4da31f804f2d7760b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> I don't see that. It's set *and* read in undo= -elt-in-region. Not
> sure exactly what is the purpose, tho.

I= found no purpose at all for it.

The more pertinent question is:

> the general question comes up: how is the undo history meant to kn= ow
> about marker relocations?

I think the marker adjustment e= ntries in the undo history are invalid
when a marker is relocated elsewh= ere. I don't see code to deal with
that, so how you would like it to happen?

--047d7b5d25e4da31f804f2d7760b--