bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14281: 24.3; replace-match leaves point at wrong place


From: Stefan Monnier
Subject: bug#14281: 24.3; replace-match leaves point at wrong place
Date: Wed, 15 May 2013 15:18:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>   (my-msg "DEBUG: 01a evil-track-last-insertion match-beginning=%s
> match-end=%s match-data=%s" (match-beginning 0) (match-end 0) (match-data))
[...]
> 2013-05-15T09:15:21.604604 DEBUG: 01a evil-track-last-insertion
> match-beginning=0 match-end=5 match-data=(#<marker at 1 in Redacted.cc>

Hmm... I wonder how we get there:
match-beginning=0 would seem to indicate that the last successful match
was not made against a buffer but against a string, but in that case
(match-data) should not return markers but integers instead!


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]