GNU bug report logs - #5989
23.1.96; bug 4209 not completely fixed (regression in re-search-forward)

Previous Next

Package: emacs;

Reported by: "Christopher J. Madsen" <cjm <at> cjmweb.net>

Date: Tue, 20 Apr 2010 18:27:01 UTC

Severity: normal

Tags: confirmed, notabug

Found in versions 25.0.94, 23.4, 24.5

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #16 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 5989 <at> debbugs.gnu.org
Subject: bug#5989: 23.1.96;
 bug 4209 not completely fixed (regression in re-search-forward)
Date: Wed, 1 Jun 2016 21:29:36 -0400
found 5989 23.4
found 5989 24.5
found 5989 25.0.94
tag 5989 + confirmed
quit

I can reproduce this on recent Emacs, with a small change to the
recipe since enable-multibyte-characters can no longer be set
directly:

(set-buffer (get-buffer-create "*Test Buffer*"))
(set-buffer-multibyte nil) ; instead of setting `enable-multibyte-characters'

(insert "\xC2\x4C\xEF\x77\xC6\x69\x8C\x0A")

(goto-char (point-min))

(message "looking-at: %s" (looking-at
"\\`\xC2\x4C\xEF\x77\xC6\x69\x8C\x0A"))

(message "re-search-forward: %s"
         (re-search-forward "\\`\xC2\x4C\xEF\x77\xC6\x69\x8C\x0A" 100 t))




This bug report was last modified 8 years and 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.