From: Miles Bader <miles@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: "Andreas Röhler" <andreas.roehler@online.de>,
"Emacs developers" <emacs-devel@gnu.org>
Subject: Re: rename jit-lock-function jit-lock-from
Date: Wed, 04 Aug 2010 13:05:39 +0900 [thread overview]
Message-ID: <buoeiefqay4.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <AANLkTi=GJBp+OOzNbaxrvUOcrepQKk+Q6RZXA2sNg=h4@mail.gmail.com> (Juanma Barranquero's message of "Tue, 3 Aug 2010 16:23:58 +0200")
Juanma Barranquero <lekktu@gmail.com> 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.
next prev parent reply other threads:[~2010-08-04 4:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 10:07 rename jit-lock-function jit-lock-from Andreas Röhler
2010-08-03 13:52 ` Juanma Barranquero
2010-08-03 14:16 ` Andreas Röhler
2010-08-03 14:23 ` Juanma Barranquero
2010-08-04 4:05 ` Miles Bader [this message]
2010-08-04 4:11 ` Juanma Barranquero
2010-08-04 13:23 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=buoeiefqay4.fsf@dhlpc061.dev.necel.com \
--to=miles@gnu.org \
--cc=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).