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: Inconsistency in font-lock Date: Thu, 26 Apr 2007 17:51:58 +0200 Message-ID: <4630CA9E.90402@gmx.at> References: <462FC009.6000208@gmx.at> <463043F6.1010404@gmx.at> 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 1177604333 8144 80.91.229.12 (26 Apr 2007 16:18:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2007 16:18:53 +0000 (UTC) Cc: Herbert Euler , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 18:18:49 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 1Hh6g9-0000qx-MH for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 18:18:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh6lt-0005ru-Ux for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 12:24:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hh6lp-0005qF-CS for emacs-devel@gnu.org; Thu, 26 Apr 2007 12:24:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hh6lm-0005nY-Hr for emacs-devel@gnu.org; Thu, 26 Apr 2007 12:24:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh6lm-0005nL-7L for emacs-devel@gnu.org; Thu, 26 Apr 2007 12:24:34 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hh6g0-0005Rt-NA for emacs-devel@gnu.org; Thu, 26 Apr 2007 12:18:37 -0400 Original-Received: (qmail invoked by alias); 26 Apr 2007 16:18:35 -0000 Original-Received: from M3173P029.adsl.highway.telekom.at (EHLO [88.117.44.157]) [88.117.44.157] by mail.gmx.net (mp028) with SMTP; 26 Apr 2007 18:18:35 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/Xb9BstqbXmwn+CI8vblGnqrNLKme1KvaTeahm3m Mw5eUPcn4bXye/ 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:70197 Archived-At: > Whether the function has it optional or not is not the issue. The issue is > that the code calls it with 3 arguments, so we should just say so rather > than impose that the third be optional. OK with me. > Check the docstring of other foo-function(s) variables and you'll see that's > how we normally document them: > > after-change-functions is a variable defined in `C source code'. > Its value is nil > > > Documentation: > List of functions to call after each text change. > Three arguments are passed to each function: the positions of > the beginning and end of the range of changed text, > and the length in bytes of the pre-change text replaced by that range. > ... > > The after-change-functions can of course decide to leave the 3rd argument > as optional. Sure. Just loudly / verbose is quite hysterical nowadays.