all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 12077-done@debbugs.gnu.org,
Subject: bug#12077: Abort in replace-regexp with an after-change-functions hook
Date: Tue, 19 Feb 2013 12:08:34 -0500	[thread overview]
Message-ID: <0cbobgut7x.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87wr1n22n6.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 28 Jul 2012 12:53:33 -0500")

Version: 24.4

Rob Browning wrote:

>> When this expression is evaluated, Emacs will abort.
>>
>>     (with-temp-buffer
>>       (insert "#\n*\n")
>>       (goto-char (point-min))
>>       (add-hook 'after-change-functions
>>                 (lambda (a b c) (re-search-forward "\n" nil t)))
>>       (replace-regexp "^\\*" " *"))

By experiment, this issue is present in at least 22.3 through 24.2.93,
but is fixed in the current trunk.





  reply	other threads:[~2013-02-19 17:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120727200247.7276.54835.reportbug@susie.zeus.nullprogram.com>
2012-07-28 17:53 ` bug#12077: Abort in replace-regexp with an after-change-functions hook Rob Browning
2013-02-19 17:08   ` Glenn Morris [this message]
2013-02-19 18:04     ` Glenn Morris

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=0cbobgut7x.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12077-done@debbugs.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.