unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: [External] : A peek to the other side
Date: Tue, 22 Feb 2022 11:46:31 -0500	[thread overview]
Message-ID: <jwvley2hn83.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: SJ0PR10MB5488A4B46C87A07BAE1C7351F33B9@SJ0PR10MB5488.namprd10.prod.outlook.com

>> If you didn't you don't know how lucky you are with the integrated
>> Elisp manual. It doesn't have an integrated manual, you have to browse
>> a huge HTML file to find some API call...
> The built-in help and thorough-going introspection of
> Emacs and Elisp are in fact outgrowths from Lisp and
> the Lisp community.  Lisp has had this strength from
> the outset.

I don't know about the various forms of introspection, but at AFAIK
(none of this is 100% sure, sadly) in the specific case of docstrings,
this comes from TECO and I believe it was added to TECO by Richard while
working on the TECO version of Emacs.

> And RMS has always had a strong will to keep Emacs open and
> self-aware/self-documenting.  "Doc", in multiple senses, has always
> been important to Emacs.

While the GPL doesn't say anything about it, it's clear that's an
important part of empowering users, so it's closely linked to the ideals
of Free Software.

[ In a sense, the source code of a program is a kind of documentation of
  the corresponding assembly generated by the compiler.  ]

> Unfortunately, there's been more of a tendency in
> recent years to "name-claim" more things to be
> "internal", as if that somehow protected something or
> someone (Emacs development/developers? Elisp users?).

Note the strong difference between the "--" naming convention to
announce a function/var is internal, with the use of strong language
abstraction to make internal inaccessible.

Emacs is not in the business of preventing users from shooting
themselves in the foot, but we do try to make it easier for the users
not to shoot themselves in the foot, which is why we like to document
with "--" when a function is intended to be internal.


        Stefan




  reply	other threads:[~2022-02-22 16:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22  7:11 A peek to the other side emacsq via Users list for the GNU Emacs text editor
2022-02-22 16:11 ` [External] : " Drew Adams
2022-02-22 16:46   ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]
2022-02-22 18:25     ` Drew Adams
2022-02-22 18:43       ` Eli Zaretskii
2022-02-22 19:38         ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-26  3:45       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-23 12:24   ` Arthur Miller
2022-02-23 13:50     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-26  3:36   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-22 18:21 ` Samuel Banya
2022-02-22 19:17   ` Philip Kaludercic
2022-02-22 21:31     ` Samuel Banya
2022-02-23 12:05 ` Arthur Miller

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=jwvley2hn83.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
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).