From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adriaan Sticker Subject: autosave in org-src buffer only works ones Date: Thu, 11 Sep 2014 17:45:25 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec51a8e56a7fb0c0502cc0ee1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS6Yq-0006aC-Lw for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 11:45:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS6Yp-0006as-DK for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 11:45:28 -0400 Received: from mail-vc0-x234.google.com ([2607:f8b0:400c:c03::234]:59616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS6Yp-0006ac-7R for emacs-orgmode@gnu.org; Thu, 11 Sep 2014 11:45:27 -0400 Received: by mail-vc0-f180.google.com with SMTP id hq11so2246927vcb.39 for ; Thu, 11 Sep 2014 08:45:26 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec51a8e56a7fb0c0502cc0ee1 Content-Type: text/plain; charset=UTF-8 Hi all I've the following in my init.el (setq org-edit-src-auto-save-idle-delay 5) If I open in my org file a R code block with C-c ', edit into the opened org-src buffer with the ESS major mode activated and wait for 5s, I can see autosave kicking in and my org buffer gets updated with my new code. But when I keep editing it doesn't save anymore. So it only save ones after the first 5s when the org-src got openend and then it stops. Can this somehow be fixed or is this behaviour expected? I have quite big source block so this can be an issue. Thanks in advance --bcaec51a8e56a7fb0c0502cc0ee1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all

I've the follo= wing in my init.el
=C2=A0
=C2=A0=C2=A0=C2=A0 (setq org-edit-src-auto= -save-idle-delay 5)

If I open in my org file a R code block wi= th C-c ', edit into the opened org-src buffer with the ESS major mode a= ctivated and wait for 5s, I can see autosave kicking in and my org buffer g= ets updated with my new code. But when I keep editing it doesn't save a= nymore. So it only save ones after the first 5s when the org-src got openen= d and then it stops.

Can this somehow be fixed or is this beha= viour expected? I have quite big source block so this can be an issue.
<= br>
Thanks in advance
=C2=A0=C2=A0=C2=A0 <= br>
--bcaec51a8e56a7fb0c0502cc0ee1--