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: Fri, 20 Jun 2008 14:38:25 +1200 (NZST) Message-ID: <20080620023825.6AED48FC6D@kahikatea.snap.net.nz> Reply-To: Nick Roberts , 451@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1213934846 16141 80.91.229.12 (20 Jun 2008 04:07:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 04:07:26 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 20 06:08:09 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 1K9Xuy-0004t0-Pl for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jun 2008 06:08:09 +0200 Original-Received: from localhost ([127.0.0.1]:41649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9Xu9-00049h-UR for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jun 2008 00:07:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9Xu5-00049S-3O for bug-gnu-emacs@gnu.org; Fri, 20 Jun 2008 00:07:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9Xu4-00049G-MU for bug-gnu-emacs@gnu.org; Fri, 20 Jun 2008 00:07:12 -0400 Original-Received: from [199.232.76.173] (port=54860 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9Xu4-00049D-Ah for bug-gnu-emacs@gnu.org; Fri, 20 Jun 2008 00:07:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41612) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K9Xu3-0000HA-Oy for bug-gnu-emacs@gnu.org; Fri, 20 Jun 2008 00:07: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 m5K479Cc023360; Thu, 19 Jun 2008 21:07:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5K3o3ig018061; Thu, 19 Jun 2008 20:50:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Nick Roberts Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 20 Jun 2008 03:50:03 +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 submit@emacsbugs.donarmstrong.com id=B.121393340516852 (code B ref -1); Fri, 20 Jun 2008 03:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Jun 2008 03:43:25 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5K3hG4r016846 for ; Thu, 19 Jun 2008 20:43:18 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:54530) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K9XWt-0007cd-AC for emacs-pretest-bug@gnu.org; Thu, 19 Jun 2008 23:43:15 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K9XWp-0002lo-Pi for emacs-pretest-bug@gnu.org; Thu, 19 Jun 2008 23:43:15 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.25]:37663) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9XWp-0002kk-24 for emacs-pretest-bug@gnu.org; Thu, 19 Jun 2008 23:43:11 -0400 Original-Received: from kahikatea.snap.net.nz (137.62.255.123.dynamic.snap.net.nz [123.255.62.137]) by viper.snap.net.nz (Postfix) with ESMTP id 7A3263DA11D for ; Fri, 20 Jun 2008 14:40:33 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 6AED48FC6D; Fri, 20 Jun 2008 14:38:25 +1200 (NZST) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 20 Jun 2008 00:07:12 -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:18462 gmane.emacs.pretest.bugs:22657 Archived-At: In the event loop (?), update_frame_tool_bar calls x-gtk-map-stock (in x-win.el) which uses string-match. This changes the match data that I need for my application. I don't know what the rules are about using string-match from C code but as a minimum x-gtk-map-stock should wrap save-match-data around the call to it. In GNU Emacs 23.0.60.19 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of 2008-06-20 on kahikatea.snap.net.nz Windowing system distributor `The X.Org Foundation', version 11.0.70200000 configured using `configure 'CFLAGS=-g3' '--enable-font-backend'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_NZ.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Change Log Minor modes in effect: isearch-buffers-minor-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent input: C-x C-s C-x C-b C-x C-f s r c / s t C-h f g t x - s t C-g C-h C-h C-g C-x C-g s t o c k C-s g t k f C-s c a l l 1 C-s C-s C-M-S-a C-S-s C-S-s C-S-x V G C-s c a l l 1 C-a C-r C-r C-s C-s C-s C-s C-s M-x r e p o r t SPC C-g C-s C-w C-w C-w C-w C-s C-r C-r C-r C-M-a C-s C-s C-s C-s C-s c a l l 1 C-s C-w C-r C-r C-r C-s C-s M-x r e p o r t SPC e m SPC SPC Recent messages: Type C-x 4 C-o RET to restore the other window. Mark saved where search started [3 times] Annotating... Mark saved where search started Redisplaying annotation...done (Spanned from 1979.6 to 5.6 days old) Mark set Annotating... done Mark saved where search started [2 times] Quit Mark saved where search started [4 times] -- Nick http://www.inet.net.nz/~nickrob