From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Jarek Czekalski <jarekczek@poczta.onet.pl>
Cc: emacs-devel@gnu.org
Subject: Re: news and docs for command-error-function
Date: Mon, 30 Dec 2013 08:09:32 -0500 [thread overview]
Message-ID: <jwvlhz2qyqt.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <52C00BE3.9000307@poczta.onet.pl> (Jarek Czekalski's message of "Sun, 29 Dec 2013 12:47:47 +0100")
> I thought it would be good to describe 3 things:
> 1. suggested way to use this variable (add-function)
All *-function variables should usually be modified via add-function, so
there's no need to include it in the docstring.
> 2. the change in its handling introduced in 24.4
Yes, it should be in NEWS, together wit the various other *-function
variables (and some fields, such as process-filter and process-sentinel)
whose default value was changed from nil to a function.
> 3. the way it could be substituted before 24.4 (a lisp snippet, like in
> http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00819.html)
This is a problem solved in 24.4 rather than introduced in 24.4, so 24.4
is not the place to document how it could have been solved earlier.
> Now I also think both the variable and the function should go to NEWS.
The function should not be documented. It's more convenient to
have it defined as a symbol than as a lambda expression, but it should
not be called other than via the variable.
Stefan
next prev parent reply other threads:[~2013-12-30 13:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 11:47 news and docs for command-error-function Jarek Czekalski
2013-12-30 13:09 ` Stefan Monnier [this message]
2013-12-30 13:42 ` Jarek Czekalski
2013-12-30 20:11 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlhz2qyqt.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=jarekczek@poczta.onet.pl \
/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.