From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Defcustom write-file-functions and write-contents-functions?
Date: Sun, 4 Jan 2004 22:41:31 -0600 (CST) [thread overview]
Message-ID: <200401050441.i054fV506235@raven.dms.auburn.edu> (raw)
In-Reply-To: <rjk747ydb5.fsf@sheridan.dina.kvl.dk> (message from Per Abrahamsen on Sun, 04 Jan 2004 15:54:22 +0100)
Per Abrahamsen wrote:
Luc Teirlinck <teirllm@dms.auburn.edu> writes:
> Do you really want to make those two functions customizable through
> Custom?
If not, it would probably be a good idea to add a comment to the
defvar stating why they are not declared with decustom.
As soon as it is clear whether we want the new hook `before-save-hook'
(which I personally believe would be a good idea), I could add some
comments to the documentation strings of `write-file-functions' and
`write-contents-functions' as well as to their description in
`(elisp)Saving Buffers'. Basically, people have been trying to use
especially `write-file-functions' for things it was not intended for
and can not be used for, because it is not guaranteed to run. If we
add `before-save-hook', we can tell people to use that customizable,
normal, unconditionally run hook instead.
Sincerely,
Luc.
next prev parent reply other threads:[~2004-01-05 4:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-31 14:38 Defcustom write-file-functions and write-contents-functions? Simon Josefsson
2003-12-31 16:57 ` Luc Teirlinck
2003-12-31 17:26 ` Simon Josefsson
2003-12-31 19:27 ` Luc Teirlinck
2003-12-31 19:56 ` Simon Josefsson
2003-12-31 20:10 ` Luc Teirlinck
2004-01-01 5:52 ` Eli Zaretskii
2004-01-01 12:22 ` Simon Josefsson
2004-01-01 14:45 ` Eli Zaretskii
2004-01-04 23:33 ` Stefan Monnier
2004-01-05 0:14 ` Luc Teirlinck
2004-01-05 0:31 ` Miles Bader
2004-01-05 0:46 ` Simon Josefsson
2004-01-05 17:56 ` Richard Stallman
2004-01-05 18:38 ` Simon Josefsson
2004-01-04 14:54 ` Per Abrahamsen
2004-01-05 4:41 ` Luc Teirlinck [this message]
2004-01-07 2:07 ` Luc Teirlinck
2004-01-07 3:03 ` Luc Teirlinck
2004-01-07 15:05 ` 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=200401050441.i054fV506235@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--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.