GNU bug report logs - #451
23.0.60; x-gtk-map-stock destroys match data

Previous Next

Package: emacs;

Reported by: Nick Roberts <nickrob <at> snap.net.nz>

Date: Fri, 20 Jun 2008 03:50:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nick Roberts <nickrob <at> snap.net.nz>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 451 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: bug#451: 23.0.60; x-gtk-map-stock destroys match data
Date: Sat, 21 Jun 2008 17:07:54 +1200
> > I don't think that's right.  The problem goes away if I remove the tool bar.
> > If I do:
> > (string-match "ox" "The quick lazy fox jumped")
> > in the *scratch* buffer then
> > (match-beginning 0)
> > (match-end 0)
> > give me false values immediately afterwards.

> What do you mean "immediately afterwards"?  If you get back to the
> toplevel in the mean time, the "immediately" actually runs a crapload of
> code.  I.e. it's anything but "immediate".  Your expectation is
> just wrong.

I meam using C-x C-e.  It looks like you are indeed right and that 
match-beginning and match-end can only be used programmatically.  I was
using edebug and getting strange values evaluating them (manually).  I
thought I had done that before - but clearly not.

Sorry but I don't know how to close the bug report.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




This bug report was last modified 16 years and 338 days ago.

Previous Next


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