From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 f785ff4: Clarify documentation of before/after-change-functions Date: Tue, 09 Aug 2016 13:59:25 -0400 Message-ID: References: <20160809165416.24861.65995@vcs.savannah.gnu.org> <20160809165416.A7F9A220165@vcs.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470766194 5702 195.159.176.226 (9 Aug 2016 18:09:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2016 18:09:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 09 20:09:46 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXBTE-0001Dr-HQ for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2016 20:09:44 +0200 Original-Received: from localhost ([::1]:37263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXBTB-0006bi-F0 for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2016 14:09:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXBJX-0004yL-C9 for emacs-devel@gnu.org; Tue, 09 Aug 2016 13:59:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXBJW-0002j7-JK for emacs-devel@gnu.org; Tue, 09 Aug 2016 13:59:43 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:16585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXBJP-0002eN-Nw; Tue, 09 Aug 2016 13:59:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CsIACvDapX/37q92hdHAGDKIobsFuBfYYXBAICgUo7EgEBAQEBAQFdJ4RfAQEEViMQCzQSFBgNiGjBMgEBAQEGAiWKd4UMhHIdAQSZOZBfh3KFfJAsJQQrgkWBUSCHXgEBAQ X-IPAS-Result: A0CsIACvDapX/37q92hdHAGDKIobsFuBfYYXBAICgUo7EgEBAQEBAQFdJ4RfAQEEViMQCzQSFBgNiGjBMgEBAQEGAiWKd4UMhHIdAQSZOZBfh3KFfJAsJQQrgkWBUSCHXgEBAQ X-IronPort-AV: E=Sophos;i="5.28,495,1464667200"; d="scan'208";a="250738645" Original-Received: from 104-247-234-126.cpe.teksavvy.com (HELO pastel.home) ([104.247.234.126]) by smtp.teksavvy.com with ESMTP; 09 Aug 2016 13:59:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C6AFC64E07; Tue, 9 Aug 2016 13:59:25 -0400 (EDT) In-Reply-To: <20160809165416.A7F9A220165@vcs.savannah.gnu.org> (Eli Zaretskii's message of "Tue, 9 Aug 2016 16:54:16 +0000 (UTC)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206516 Archived-At: > -This variable holds a list of functions to call before any buffer > -modification. Each function gets two arguments, the beginning and end > +This variable holds a list of functions to call before most buffer > +modifications. Each function gets two arguments, the beginning and end This looks wrong. It should be called before *every* modification. syntax-ppss relies on this property, for example. And I can't think of any reason why we couldn't preserve that property. In which case is it not run? Stefan