all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Documentation for compile.el and grep.el?
Date: Sat, 26 Feb 2005 15:42:31 +0200	[thread overview]
Message-ID: <01c51c09$Blat.v2.4$2a500da0@zahav.net.il> (raw)
In-Reply-To: <16927.61541.434287.242519@farnswood.snap.net.nz> (message from Nick Roberts on Sat, 26 Feb 2005 16:43:33 +1300)

> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Sat, 26 Feb 2005 16:43:33 +1300
> 
> building.texi says:
> 
> >    When the compiler process terminates, for whatever reason, the mode
> > line of the `*compilation*' buffer changes to say `signal' instead of
> > `run'.
> 
> In reality it seems to say `exit' when the compiler process terminates followed
> by the exit code in square brackets e.g [0] for normal, [1] for abnormal.

It could _also_ say `signal' if the subprocess was interrupted by a
signal.  But the text you cited is incorrect as it stands, and should
be fixed.

> Given the extensive changes to compile.el and grep.el, I'm surprised that the
> documentation has changed so little.
> 
> For example, compilation-directory-properties does something (mouse-2: visit
> current directory) but I don't know what it is. The relevant ChangeLog entry
> says:
> 
> > (compilation-first-column, compilation-error)
> > (compilation-directory-matcher, compilation-page-delimiter)
> > (compilation-mode-font-lock-keywords, compilation-debug)
> > (compilation-error-face, compilation-warning-face)
> > (compilation-info-face, compilation-line-face)
> > (compilation-column-face, compilation-enter-directory-face)
> > (compilation-leave-directory-face, compilation-skip-threshold)
> > (compilation-skip-visited, compilation-context-lines): New vars.
> 
> > (compilation-warning-face, compilation-info-face)
> > (compilation-message-face): New faces.
> 
> > (compilation-error-regexp-alist-alist): New constant.
> 
> > (compilation-face, compilation-directory-properties)
> > (compilation-assq, compilation-error-properties, compilation-start)
> > (define-compilation-mode, compilation-loop)
> > (compilation-set-window): New functions.
> 
> which is rather opaque, to say the least.

Some of these are mentioned in etc/NEWS, and they are not marked with
a "+++', which means the documentation was not yet updated to reflect
that change.  Someone will do that before the release.

> GDB developers are required to write documentation with their patches. I
> think that it makes little sense to check the manual in great detail if
> authors don't provide the relevant documentation in the first place.

In Emacs, we do this differently: a significant change should be
described in etc/NEWS when it is checked in.  Later, when the time
comes to release a version, one of the jobs that should be done is to
go through NEWS and update the documentation for every change.

It is also okay to change the docs right when the changes are
committed to CVS, but that is not required, and might actually be
worse if the person who wrote the code doesn't speak English well or
cannot write good documentation.

  reply	other threads:[~2005-02-26 13:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26  3:43 Documentation for compile.el and grep.el? Nick Roberts
2005-02-26 13:42 ` Eli Zaretskii [this message]
2005-02-26 21:20   ` Nick Roberts
2005-02-26 22:28     ` Eli Zaretskii
2005-02-27 20:41     ` Richard Stallman
2005-02-28  0:55       ` Nick Roberts
2005-02-27  0:33 ` Richard Stallman

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='01c51c09$Blat.v2.4$2a500da0@zahav.net.il' \
    --to=eliz@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 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.