From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [bug] org-edit-src-code auto-save glitch Date: Tue, 16 Apr 2013 10:42:18 +0200 Message-ID: <87haj6ooid.fsf@bzg.ath.cx> References: <87ip3y2fvq.fsf@bzg.ath.cx> <87wqsbmn4f.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US1T6-0006Sn-Im for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 04:42:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US1T4-0002wV-MG for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 04:42:24 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:60485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US1T4-0002wJ-Ft for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 04:42:22 -0400 Received: by mail-wi0-f178.google.com with SMTP id hq17so204078wib.17 for ; Tue, 16 Apr 2013 01:42:21 -0700 (PDT) In-Reply-To: (Charles C. Berry's message of "Tue, 9 Apr 2013 19:08:38 -0700") 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: "Charles C. Berry" Cc: emacs-orgmode@gnu.org Hi Charles, "Charles C. Berry" writes: > Attached. Thanks for the patch -- there is a confusion here. `org-edit-src-auto-save-idle-delay' controls whether the base buffer will be saved after some idle delay. If so, it does what C-x C-s would do: save the base buffer, not the editing window. Using auto-save-default was a bit too much, so there is now `org-edit-src-turn-on-auto-save' which will take care of setting `buffer-auto-save-file-name', which turns on auto-save-mode. Thanks for bringing this up, -- Bastien