From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Luc Teirlinck <teirllm@dms.auburn.edu>, emacs-devel@gnu.org
Subject: Re: Defcustom write-file-functions and write-contents-functions?
Date: 04 Jan 2004 18:33:45 -0500 [thread overview]
Message-ID: <jwv3cavnvf6.fsf-monnier+emacs/devel@asado.iro.umontreal.ca> (raw)
In-Reply-To: <ilu4qvgu5ga.fsf@latte.josefsson.org>
> You convinced me, thanks for the feedback. How about this patch,
> instead?
> * files.el (before-save-hook): Add.
> (basic-save-buffer): Use before-save-hook.
Please don't. There are already plenty of hooks run at that place
and the code is hairy enough as it is.
> * emacs-lisp/copyright.el: Use before-save-hook instead of
> write-file-functions.
Better provide a copyright-auto-update-mode that will do the
hook manipulation.
Stefan
next prev parent reply other threads:[~2004-01-04 23:33 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 [this message]
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
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
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=jwv3cavnvf6.fsf-monnier+emacs/devel@asado.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=teirllm@dms.auburn.edu \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).