User <spamfilteracco...@gmail.com> 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
first.

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 ;)

-- 
 Bastien


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to