From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Debugger and mode-line Date: Sat, 08 Jul 2006 10:58:39 -0400 Message-ID: References: <44A2B0A0.8060601@soem.dk> <44A3F003.4010802@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152370743 17754 80.91.229.2 (8 Jul 2006 14:59:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2006 14:59:03 +0000 (UTC) Cc: Thien-Thi Nguyen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 08 16:58:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FzEGe-0002GY-4h for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2006 16:58:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzEGd-0005E5-OX for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2006 10:58:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FzEGP-0005DS-0F for emacs-devel@gnu.org; Sat, 08 Jul 2006 10:58:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FzEGN-0005Ch-0q for emacs-devel@gnu.org; Sat, 08 Jul 2006 10:58:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzEGM-0005Ce-Rk for emacs-devel@gnu.org; Sat, 08 Jul 2006 10:58:30 -0400 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FzEGy-0002Hg-95; Sat, 08 Jul 2006 10:59:08 -0400 Original-Received: from localhost ([70.55.141.234]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060708145822.HTNW10262.tomts22-srv.bellnexxia.net@localhost>; Sat, 8 Jul 2006 10:58:22 -0400 Original-Received: by localhost (Postfix, from userid 20848) id 1C73D8CDE; Sat, 8 Jul 2006 10:58:39 -0400 (EDT) Original-To: Andreas Schwab In-Reply-To: (Andreas Schwab's message of "Sat, 08 Jul 2006 16:23:14 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56790 Archived-At: >> + match_data = Fmatch_data (Qnil, Qnil, Qnil); >> display_mode_element (&it, 0, 0, 0, format, Qnil, 0); >> + Fset_match_data (match_data, Qnil); > You'll need to protect match_data from GC, since display_mode_element can > call eval. And from non-local exits as well, I believe, Stefan