From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#451: 23.0.60; x-gtk-map-stock destroys match data Date: Sat, 21 Jun 2008 17:07:54 +1200 Message-ID: <18524.36010.681991.485230@kahikatea.snap.net.nz> References: <20080620023825.6AED48FC6D@kahikatea.snap.net.nz> Reply-To: Nick Roberts , 451@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214026052 22866 80.91.229.12 (21 Jun 2008 05:27:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 05:27:32 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 451@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 21 07:28:15 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K9ve3-000547-2U for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2008 07:28:15 +0200 Original-Received: from localhost ([127.0.0.1]:47409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9vdD-0003sf-SJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jun 2008 01:27:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9vd5-0003q9-8y for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 01:27:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9vd3-0003oP-7m for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 01:27:14 -0400 Original-Received: from [199.232.76.173] (port=36824 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9vd2-0003o7-TQ for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 01:27:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53010) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K9vd2-0006V1-Fl for bug-gnu-emacs@gnu.org; Sat, 21 Jun 2008 01:27:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5L5R9S9008320; Fri, 20 Jun 2008 22:27:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5L5F53Q005000; Fri, 20 Jun 2008 22:15:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Nick Roberts Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Jun 2008 05:15:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 451 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 451-submit@emacsbugs.donarmstrong.com id=B451.12140249003615 (code B ref 451); Sat, 21 Jun 2008 05:15:05 +0000 Original-Received: (at 451) by emacsbugs.donarmstrong.com; 21 Jun 2008 05:08:20 +0000 Original-Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.25]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5L58GHo003609 for <451@emacsbugs.donarmstrong.com>; Fri, 20 Jun 2008 22:08:18 -0700 Original-Received: from kahikatea.snap.net.nz (30.31.255.123.static.snap.net.nz [123.255.31.30]) by viper.snap.net.nz (Postfix) with ESMTP id 0BC563DA048; Sat, 21 Jun 2008 17:08:16 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id CF3AC8FC6D; Sat, 21 Jun 2008 17:07:55 +1200 (NZST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.2.50.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Jun 2008 01:27:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18474 gmane.emacs.pretest.bugs:22663 Archived-At: > > 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