[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Showing hidden subtree automatically if point is hidde
Re: [Orgmode] Re: Showing hidden subtree automatically if point is hidden when the buffer is opened
Wed, 29 Jul 2009 13:41:10 +0800
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
User <address@hidden> writes:
> Bastien <bastienguerry <at> googlemail.com> writes:
>> If you load this *after* loading the saveplace hook then it should
>> be okay. Thanks to Nick Dokos for shaking my brain on this :)
> Well, wasn't my original solution with the null timer much nicer?
> You didn't have to worry about making sure you put org-mode hook
> last and that it loads after saveplace hook.
Yes, but it's not straightforward to understand.
To me, "running a task when Emacs is idle for 0 seconds" is very similar
to "run immediately" - that's why I didn't understand why you'd put this
Why not checking if this run-with-idle-timer trick is necessary? My
understanding is that org-mode hooks will be called *after* saveplace
restores the point.
(I just want to avoid unnecessary tricks for people who use Worg as a
place to learn things.)
> I tend to favor solutions which avoid such potential problems. :)
If it ain't broken, don't fix it ;)