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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Nick Roberts <nickrob <at> snap.net.nz>
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: Fri, 20 Jun 2008 22:27:39 -0400
> 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.

> Presumably update_frame_tool_bar gets called in between the evaluations.

This and megabytes of code, yes.


        Stefan




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.