[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-src-mode tries to cancel a nil idle timer [9.1.13 (rele
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: org-src-mode tries to cancel a nil idle timer [9.1.13 (release_9.1.13-864-g5057e3 @ /Users/asf/.emacs.d/straight/build/org/)] |
Date: |
Mon, 02 Jul 2018 00:47:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Andreas Fuchs <address@hidden> writes:
> I use org-src-mode with org-src-auto-save-idle-delay (set to 1s), and
> after upgrading org to the latest master version, it's repeatedly
> causing me trouble: When I open an org-src-mode buffer and close it with
> C-c ', I repeatedly get the message "Error running timer:
> (wrong-type-argument timerp nil)". The backtrace is for a compiled
> function, but after disassembling, it's pretty clear that it's the
> routine in the lambda in org-src-mode that tries to cancel
> `org-src--auto-save-timer'.
>
> Here are the steps that will do it for me, but I haven't been very lucky
> reproducing this consistently:
>
> (setq org-edit-src-auto-save-idle-delay 1
> org-edit-src-turn-on-auto-save nil)
>
> 1. Open an org file with elisp source code blocks
> 2. Use C-c ' on one of those blocks
> 3. Edit the buffer
> 4. Close the buffer after a while with C-c '
>
> If it reproduces correctly, emacs shows the error above whenever it has
> been idle for 1s.
Hopefully fixed in master. Could you confirm it?
Thank you.
Regards,
--
Nicolas Goaziou