From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Andreas Fuchs <asf@boinkor.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <878t6uvaip.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAOHxn7zJMw51mFfUFJ9kC0WO+2twsyd1_jB=o+ZpdvRGn2MyMA@mail.gmail.com> (Andreas Fuchs's message of "Fri, 29 Jun 2018 01:36:37 +0200")
Hello,
Andreas Fuchs <asf@boinkor.net> 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
prev parent reply other threads:[~2018-07-01 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-28 23:36 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/)] Andreas Fuchs
2018-07-01 22:47 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878t6uvaip.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=asf@boinkor.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).