Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: Using lisp code in query-replace-regexp
Date: Thu, 06 Nov 2014 00:41:29 +0100	[thread overview]
Message-ID: <87ioitfc5y.fsf@debian.uxu> (raw)
In-Reply-To: <mailman.12880.1415191645.1147.info-gnus-english@gnu.org>

Julien Cubizolles <j.cubizolles@free.fr> writes:

> I used replace-match-maybe-edit because I wanted to
> be prompted for each replacement, and replace-match
> wouldn't allow it. However with
> replace-match-maybe-edit, the excursion is messed up
> at the end. It wasn't the case with replace-match.

How do you mean messed up? You are using
`save-excursion' outside of `save-restriction' just as
you should.

-- 
underground experts united

  parent reply	other threads:[~2014-11-05 23:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12755.1415111824.1147.info-gnus-english@gnu.org>
2014-11-04 19:57 ` Emanuel Berg
2014-11-05 12:46   ` Julien Cubizolles
     [not found]   ` <mailman.12880.1415191645.1147.info-gnus-english@gnu.org>
2014-11-05 23:41     ` Emanuel Berg [this message]
2014-11-04 14:36 Julien Cubizolles

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=87ioitfc5y.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).