From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: rename jit-lock-function jit-lock-from Date: Wed, 04 Aug 2010 13:05:39 +0900 Message-ID: References: <4C57EA79.5010006@online.de> <4C5824C4.2070005@online.de> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280894762 25009 80.91.229.12 (4 Aug 2010 04:06:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2010 04:06:02 +0000 (UTC) Cc: Andreas =?iso-8859-1?Q?R=F6hler?= , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 04 06:06:01 2010 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.69) (envelope-from ) id 1OgVEq-0002QX-Nc for ged-emacs-devel@m.gmane.org; Wed, 04 Aug 2010 06:05:57 +0200 Original-Received: from localhost ([127.0.0.1]:51221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgVEp-00045B-Pg for ged-emacs-devel@m.gmane.org; Wed, 04 Aug 2010 00:05:55 -0400 Original-Received: from [140.186.70.92] (port=57635 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgVEi-00041x-53 for emacs-devel@gnu.org; Wed, 04 Aug 2010 00:05:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgVEg-0003w5-VA for emacs-devel@gnu.org; Wed, 04 Aug 2010 00:05:47 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:38282) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgVEg-0003vt-DP; Wed, 04 Aug 2010 00:05:46 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.195]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id o7445frf014182; Wed, 4 Aug 2010 13:05:41 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id o7445fL03122; Wed, 4 Aug 2010 13:05:41 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by vgate01.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id o7445eL14719; Wed, 4 Aug 2010 13:05:40 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Wed, 4 Aug 2010 13:05:40 +0900 Original-Received: from dhlpc061 ([10.114.112.39] [10.114.112.39]) by relay11.aps.necel.com with ESMTP; Wed, 4 Aug 2010 13:05:40 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 4B88812400C; Wed, 4 Aug 2010 13:05:40 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Juanma Barranquero's message of "Tue, 3 Aug 2010 16:23:58 +0200") Original-Lines: 23 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) 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:128211 Archived-At: Juanma Barranquero writes: >> A function calling themself function not =A0IMHO, as its character as a >> function is visible already. > > Many of them are called XXX-function because they are the default > value for the XXX-function variable. > > It's similar to the functions called XXX-hook which are default values > for the corresponding hook vars. To be fair, even in those cases, I think most current uses of a "-function" suffix in function names are confusing. A name like "XXX-default-function" _does_ seems good for that usage, as it explicitly states what it's used for, but just "XXX-function" does not, and indeed is positively confusing, I think, for the reasons Andreas mentions. -Miles --=20 History, n. An account mostly false, of events mostly unimportant, which are brought about by rulers mostly knaves, and soldiers mostly fools.