all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: RE: question about markers, replace-match, and undo
Date: Sun, 29 Apr 2007 09:08:55 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMEECADBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <yoij647ftdhz.fsf@gamma02.me.chalmers.se>

> > Can you send a program to construct the test case that fails for you?
> > Then I will test my patch and make sure it fixes your problem.
> 
Johan> I tested it like this:
...

What Johan did is essentially what I did, so I think this is fixed. Thanks.

What I did (see my initial report):

emacs -Q
type mnopqrs in a buffer
C-SPC at (before) m
C-SPC after s
C-s mnopqrs RET
(replace-match "ABC")
C-_
Look at mark-ring and (mark).

I also reported a bug (?) about `buffer-has-markers-at'. In this case, even though the bugged result above is two markers before m and no marker after s, `buffer-has-markers-at' returns t for the position after s.

  reply	other threads:[~2007-04-29 16:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-27 16:44 question about markers, replace-match, and undo Drew Adams
2007-04-27 17:43 ` Johan Bockgård
2007-04-27 18:13   ` Drew Adams
2007-04-28  4:07 ` Richard Stallman
2007-04-28  4:13   ` Drew Adams
2007-04-29 14:27     ` Richard Stallman
2007-04-29 15:19       ` Johan Bockgård
2007-04-29 16:08         ` Drew Adams [this message]
2007-04-30 22:09         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EIENLHALHGIMHGDOLMIMEECADBAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.