From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [n_schumacher@web.de: modification hooks called only once in c-mode] Date: Mon, 13 Aug 2007 11:40:26 +0200 Message-ID: <46C0270A.7040709@gmx.at> References: <874pj6j3te.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186998097 26652 80.91.229.12 (13 Aug 2007 09:41:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2007 09:41:37 +0000 (UTC) Cc: cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 13 11:41:33 2007 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 1IKWQX-0001Ur-HU for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 11:41:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKWQX-0007LE-0M for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 05:41:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKWQU-0007L9-5o for emacs-devel@gnu.org; Mon, 13 Aug 2007 05:41:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKWQS-0007Kx-N7 for emacs-devel@gnu.org; Mon, 13 Aug 2007 05:41:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKWQS-0007Ku-Ib for emacs-devel@gnu.org; Mon, 13 Aug 2007 05:41:28 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IKWQR-0004Ns-Rb for emacs-devel@gnu.org; Mon, 13 Aug 2007 05:41:28 -0400 Original-Received: (qmail invoked by alias); 13 Aug 2007 09:41:26 -0000 Original-Received: from N770P023.adsl.highway.telekom.at (EHLO [62.47.40.55]) [62.47.40.55] by mail.gmx.net (mp028) with SMTP; 13 Aug 2007 11:41:26 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/lYsoeXVTl9tc+lQRCa1osvMTW+yjs4p/0b+vYwv Dj7yZBYudfbE6t User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-Detected-Kernel: 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:76443 Archived-At: > A side benefit of the change is that now (after|before)-change-function keep > their values while they run, so we can change (after|before)-change-functions > from an (after|before)-change-function (syntax.el enjoys doing that). > > A side benefit of the change is that now (after|before)-change-function keep > their values while they run, so we can change (after|before)-change-functions >>from an (after|before)-change-function (syntax.el enjoys doing that). In the particular case `c-after-change' uses `c-save-buffer-state' which binds (after|before)-change-functions to nil (probably for XEmacs compatibility). Wouldn't syntax.el be affected by that?