From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: record_unwind_save_match_data in autocmp_chars Date: Sat, 03 Oct 2009 11:43:53 +0200 Message-ID: <83ab08q0bq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1254563209 17760 80.91.229.12 (3 Oct 2009 09:46:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2009 09:46:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 03 11:46:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mu1Bp-000543-KO for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2009 11:46:10 +0200 Original-Received: from localhost ([127.0.0.1]:51926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mu1Bp-0003ah-18 for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2009 05:46:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mu1Bh-0003ZY-Ti for emacs-devel@gnu.org; Sat, 03 Oct 2009 05:46:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mu1Bg-0003ZE-87 for emacs-devel@gnu.org; Sat, 03 Oct 2009 05:46:00 -0400 Original-Received: from [199.232.76.173] (port=36559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mu1Bg-0003ZB-1P for emacs-devel@gnu.org; Sat, 03 Oct 2009 05:46:00 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:4547) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mu1Bf-0007Hc-Lh for emacs-devel@gnu.org; Sat, 03 Oct 2009 05:45:59 -0400 Original-Received: from mtaout2.012.net.il ([84.95.2.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mu1Be-0003Ig-8z for emacs-devel@gnu.org; Sat, 03 Oct 2009 05:45:58 -0400 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KQX00800N0QYF00@i_mtaout2.012.net.il> for emacs-devel@gnu.org; Sat, 03 Oct 2009 11:45:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.44.55]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KQX001B2N4JUO10@i_mtaout2.012.net.il>; Sat, 03 Oct 2009 11:45:56 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by mx20.gnu.org: Solaris 9.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:115879 Archived-At: composite.c:autocmp_chars calls record_unwind_save_match_data before it starts looping on an element of composition-function-table. However, since the loop calls fast_looking_at, which is documented not to change match data, is the call to record_unwind_save_match_data really necessary? If it is still necessary, what other functions called by autocmp_chars might clobber match data?