From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Debugger and mode-line Date: Sun, 16 Jul 2006 21:41:07 -0400 Message-ID: References: <44A2B0A0.8060601@soem.dk> <44A3F003.4010802@soem.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1153100543 26346 80.91.229.2 (17 Jul 2006 01:42:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2006 01:42:23 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 17 03:42:22 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 1G2I7l-0001i1-Mx for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2006 03:42:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2I7l-0002g9-6q for ged-emacs-devel@m.gmane.org; Sun, 16 Jul 2006 21:42:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G2I6e-0001cm-R0 for emacs-devel@gnu.org; Sun, 16 Jul 2006 21:41:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G2I6e-0001bz-Ac for emacs-devel@gnu.org; Sun, 16 Jul 2006 21:41:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2I6e-0001bm-5q for emacs-devel@gnu.org; Sun, 16 Jul 2006 21:41:08 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G2I9D-0000gx-0R for emacs-devel@gnu.org; Sun, 16 Jul 2006 21:43:47 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1G2I6d-0007tu-3h; Sun, 16 Jul 2006 21:41:07 -0400 Original-To: Thien-Thi Nguyen In-reply-to: (message from Thien-Thi Nguyen on 16 Jul 2006 06:26:29 -0400) 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:57137 Archived-At: how about the following? is it true that using `record_unwind_save_match_data' means it is not necessary to use a separate auto var? Yes. Would someone please install this change: *** xdisp.c 1 Jul 2006 23:29:04 -0000 1.1109 --- xdisp.c 16 Jul 2006 10:24:53 -0000 *************** *** 16542,16547 **** --- 16542,16548 ---- kboard-local variables in the mode_line_format will get the right values. */ push_frame_kboard (it.f); + record_unwind_save_match_data (); display_mode_element (&it, 0, 0, 0, format, Qnil, 0); pop_frame_kboard ();