[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mention other ways than add-hook also
From: |
Dan Jacobson |
Subject: |
Re: mention other ways than add-hook also |
Date: |
Sun, 05 Sep 2004 09:52:16 +0800 |
rms> In the manual, after all the setq hook examples were changed to
rms> add-hook examples, users end up with miles long hooks as they adjust
rms> their hooks without starting a new emacs.
rms> I don't quite understand. Are you saying that people add various
rms> versions of the same hook without removing old versions?
I mean in the course of adjusting their .emacs, they might use a lot
of eval-last-sexp, eval-region, etc., upon which their hooks just grow
and grow, with results perhaps OK, but not necessarily the same as
what will be when they start a fresh emacs the next day.
So mention that problem, and mention that somebody else might be
tampering with their hooks beyond the bounds of their .emacs file[?!]
so that is why they should still use add-hook... or maybe if they only
adjust the hook in one spot in their .emacs, they can use setq hook.