[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hooks, again
From: |
Stefan Monnier |
Subject: |
Re: hooks, again |
Date: |
Wed, 06 May 2015 16:31:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> But as seen earlier, you have to look at the value
>> of `foo-hook' before this setq takes place to be
>> sure it's safe. So you still need "the help or
>> evaluation of the variable name or anything".
> Yes, but only once.
By the same argument, you'd also only need to do it once when using
`add-hook'.
> Che Guevara said revolutionaries aren't normal people.
So, IIUC, you're heading a revolution to kill all uses of add-hook, tho
only those performed by the end user in her ~/.emacs and only on those
few "safe" hooks like major-mode hooks where it makes no difference?
Wow, that's bold!
Stefan
- --batch on many files without reloading config (was: Re: hook syntax), Emanuel Berg, 2015/05/04
- Re: --batch on many files without reloading config, Stefan Monnier, 2015/05/05
- hooks, again (was: Re: --batch on many files without reloading config), Emanuel Berg, 2015/05/05
- Re: hooks, again, Stefan Monnier, 2015/05/05
- Message not available
- Re: hooks, again, Emanuel Berg, 2015/05/05
- Re: hooks, again, Stefan Monnier, 2015/05/05
- Message not available
- Re: hooks, again, Emanuel Berg, 2015/05/05
- Re: hooks, again, Stefan Monnier, 2015/05/06
- Re: hooks, again, Emanuel Berg, 2015/05/06
- Re: hooks, again,
Stefan Monnier <=
- Message not available
- Re: hooks, again, Emanuel Berg, 2015/05/06
- Re: hooks, again, Stefan Monnier, 2015/05/06
- Message not available
- Re: hooks, again, Emanuel Berg, 2015/05/10