[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename jit-lock-function jit-lock-from
From: |
Miles Bader |
Subject: |
Re: rename jit-lock-function jit-lock-from |
Date: |
Wed, 04 Aug 2010 13:05:39 +0900 |
Juanma Barranquero <address@hidden> writes:
>> A function calling themself function not IMHO, 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
--
History, n. An account mostly false, of events mostly unimportant, which are
brought about by rulers mostly knaves, and soldiers mostly fools.