From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <878t6uvaip.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZl83-00073i-T5 for emacs-orgmode@gnu.org; Sun, 01 Jul 2018 18:47:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZl7y-0004wm-0x for emacs-orgmode@gnu.org; Sun, 01 Jul 2018 18:47:35 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:40645) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fZl7x-0004uo-Ps for emacs-orgmode@gnu.org; Sun, 01 Jul 2018 18:47:29 -0400 In-Reply-To: (Andreas Fuchs's message of "Fri, 29 Jun 2018 01:36:37 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Andreas Fuchs Cc: emacs-orgmode@gnu.org Hello, Andreas Fuchs 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