all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: ttn@gnu.org, emacs-devel@gnu.org
Subject: Re: Changes in revision 114466
Date: Mon, 30 Sep 2013 18:38:53 +0300	[thread overview]
Message-ID: <83k3hye2uq.fsf@gnu.org> (raw)
In-Reply-To: <CAAF+z6H3we=w_BeLc53nWEor8CH9ZO7Aca8NGRaa1a2QinOc9Q@mail.gmail.com>

> Date: Mon, 30 Sep 2013 12:55:47 +0800
> From: Xue Fuqiao <xfq.free@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> IMO every user option and every command needs documentation.

First, the original issue that started this thread was about changes
in the ELisp manual, so user options and commands are not really
relevant.

In any case, please keep in mind the downsides of this "document
everything" attitude: it would bloat the Info manuals to humongous
proportions, for reasons that IMO are not good enough.

Here are some numbers obtained by a series of simplistic searches:

 . There are over 5000 commands in Emacs, and over 7500 defcustom's.

 . Out of these, the Emacs User Manual documents about 1400 commands
   and slightly less than 700 user options and variables.

 . Manuals in doc/misc document 2000 more commands and 2000 options.

So even if we assume that there's no duplicates between doc/emacs/ and
doc/misc/ manuals (I didn't check), a suggestion to document
everything would bloat the manual almost twofold.  If you ever saw the
User Manual in printed format, you know that it is already a very fat
book, holding several hundreds of pages.  Making it twice that would
most probably require to split it into two volumes, something that
makes both the book and its production significantly more expensive,
and actually shoots the FSF, who produces the book, in the foot,
because a larger and more expensive book will get sold less, and thus
cut the revenues even more.

The maintenance burden of maintaining twice more docs is also
something we shouldn't discount easily.  The process of updating and
reviewing the manuals before a release, especially a major release, is
already exceedingly long and painful, typically delaying the release
for many weeks.  Do we really want to make it even more painful?

Meanwhile, most of the stuff that is not in the manual has (barring
any bugs) doc strings, which document those commands and options quite
adequately, and are at users' fingertips even more readily than the
Info manual.  What exactly will we say in the manual, besides
reiterating those same doc strings, and why is that a necessity?

The only serious problem with the doc strings is that they lack the
"glue": the kind of overview and background material that we usually
put in the manual when we describe a significant topic.  So what would
probably be a good idea in order to improve the visibility of those
commands and options that are not in the manual is the following
measures:

 . Add a new manual to doc/misc/, which will be separate from the user
   manual.  In that manual, provide short descriptions of every
   package, with index entries that will make it easy to find those
   descriptions even if one doesn't know the package name, and state
   the file(s) in which the package lives.

 . Improve the doc strings so that "apropos-documentation" and other
   apropos commands would find stuff more efficiently.

I think this is a much more practical way of improving the user
documentation without incurring the kind of overhead that will be
required if we decide to "document everything".



  parent reply	other threads:[~2013-09-30 15:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.53349.1380335551.10747.emacs-diffs@gnu.org>
2013-09-28  7:46 ` Changes in revision 114466 Eli Zaretskii
2013-09-28 22:30   ` Xue Fuqiao
2013-09-29  2:36     ` Eli Zaretskii
2013-09-29  7:24       ` Thien-Thi Nguyen
2013-09-30  4:55         ` Xue Fuqiao
2013-09-30  5:21           ` Drew Adams
2013-09-30 10:29             ` Stephen Berman
2013-09-30 15:05               ` Drew Adams
2013-09-30 15:52                 ` Thien-Thi Nguyen
2013-10-01  2:11                 ` Stephen J. Turnbull
2013-09-30 15:42               ` Eli Zaretskii
2013-09-30 11:47             ` Andreas Röhler
2013-09-30 15:38           ` Eli Zaretskii [this message]
     [not found]           ` <<83k3hye2uq.fsf@gnu.org>
2013-09-30 16:38             ` Drew Adams
2013-10-01  3:40               ` Xue Fuqiao
2013-10-01  4:57                 ` Stephen J. Turnbull
2013-10-01  5:15                   ` Drew Adams
2013-10-01  5:27                     ` Drew Adams
2013-10-01  6:11                     ` Stephen J. Turnbull
2013-10-01  7:44                       ` Drew Adams
2013-10-01  8:29                         ` Stephen J. Turnbull

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k3hye2uq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ttn@gnu.org \
    --cc=xfq.free@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.