unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnu.org>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: datatypes in Elisp Info: mention "things" for which there is no "thing" datatype - e.g. faces
Date: 23 Jun 2005 13:24:15 -0400	[thread overview]
Message-ID: <jk3br9j8ao.fsf@glug.org> (raw)
In-Reply-To: <MEEKKIABFKKDFJMPIOEBCEMKCLAA.drew.adams@oracle.com>

"Drew Adams" <drew.adams@oracle.com> writes:

> Finally, I'm ignorant: Just why is `face' not treated similarly to
> `function' - why isn't `face' a datatype? If the answer expresses a
> general rule, then perhaps that rule should also be included in the
> doc, to clarify things.

probably the general rule is not to introduce too many fundamental
types, as doing so exponentiates complexity, unless absolutely
necessary.  for faces, it doesn't appear to be necessary.

i got on a kick of documenting internals (to exercise a pet doc
extraction system i wrote) for a personal project and am now wondering
how it was that enthusiasm triumphed over experience Yet Again...  so,
while i agree that the documentation could make more distinction between
fundamental and composed (or "defined-by-conventional-use") types, i
figure that doing so might be a bad idea because it would constrain the
implementation.

since `facep' works like `functionp' (fsvo "like"), that should be what
programmers rely on.  if in the future faces become fundamental, that
transition will be easier to handle if prior internals were left
unexposed (ignorance is bliss).

thi

  reply	other threads:[~2005-06-23 17:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-23 16:00 datatypes in Elisp Info: mention "things" for which there is no "thing" datatype - e.g. faces Drew Adams
2005-06-23 17:24 ` Thien-Thi Nguyen [this message]
2005-06-23 17:34   ` Drew Adams
2005-06-24  1:28 ` Miles Bader
2005-06-24 13:58   ` Drew Adams
2005-06-24 17:38   ` Kevin Rodgers
2005-06-24 18:41   ` Luc Teirlinck
2005-06-24 21:22     ` Luc Teirlinck
2005-06-24 22:16     ` Miles Bader
2005-06-24  5:36 ` Richard M. Stallman
2005-06-24  6:32   ` Kenichi Handa
2005-06-25  0:31     ` Richard M. Stallman
2005-06-24 13:58   ` datatypes in Elisp Info: mention "things" for which there is no"thing" " Drew Adams
2005-06-24 14:21   ` datatypes in Elisp Info: mention "things" for which there is no "thing" " 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=jk3br9j8ao.fsf@glug.org \
    --to=ttn@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).