From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 13780@debbugs.gnu.org
Subject: bug#13780: 24.2; Making find-file-hook customizable seems to cause troublle
Date: Fri, 22 Feb 2013 09:22:20 -0500 [thread overview]
Message-ID: <jwv38wozazs.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAOnWdoisCVSF75=6ni7BHXiXqrhB5nAOU28tF5gkggZUsfWBtQ@mail.gmail.com> (Reuben Thomas's message of "Fri, 22 Feb 2013 11:43:01 +0000")
>> So until Custom is fixed to actually properly handle customisation of
>> hooks (e.g. by storing "add functions foo, bar, and baz" rather than
>> "ignore current value and just set it to (foo bar baz)").
> This sentence seems to be missing its main clause…
That's not just an appearance. Its main clause is:
So until Custom ...blabla... I think it's better to use defcustom for
hooks very sparingly, i.e. only for those hook we can reasonably
expect will only be modified by the user's customization.
Stefan
next prev parent reply other threads:[~2013-02-22 14:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 0:33 bug#13780: 24.2; Making find-file-hook customizable seems to cause troublle Reuben Thomas
2013-02-22 2:14 ` Stefan Monnier
2013-02-22 11:43 ` Reuben Thomas
2013-02-22 14:22 ` Stefan Monnier [this message]
2013-02-22 19:38 ` Reuben Thomas
2013-02-22 20:58 ` Stefan Monnier
2020-10-28 8:52 ` Stefan Kangas
2020-10-28 15:15 ` Eli Zaretskii
2020-11-25 2:18 ` Stefan Kangas
2020-11-25 15:19 ` Eli Zaretskii
2020-11-25 21:07 ` Stefan Kangas
2020-12-04 11:05 ` Stefan Kangas
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=jwv38wozazs.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=13780@debbugs.gnu.org \
--cc=rrt@sc3d.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.