[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Temporally/occasionally turn off hooks?
From: |
Thorsten Jolitz |
Subject: |
Re: [O] Temporally/occasionally turn off hooks? |
Date: |
Wed, 30 Jan 2013 13:21:49 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) |
Bernt Hansen <address@hidden> writes:
Hi Bernt,
> I would leave the hook always enabled but make it smart enough to skip
> inserting timestamps when you don't want them. Something like the
> following:
>
> f9-T will toggle adding the timestamps ON and OFF
> f9-t will always insert a timestamp at point
> C-RET and M-RET will use the hook which checks if the variable
> bh/insert-inactive-timestamps is t before adding the timestamp,
> otherwise it does nothing.
great, thank you!
--
cheers,
Thorsten