From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [bug] org-edit-src-code auto-save glitch Date: Sun, 07 Apr 2013 22:42:35 +0200 Message-ID: <87ip3y2fvq.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOx4x-0004ea-Sm for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 17:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOx4v-0003Ue-Mz for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 17:24:47 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:54637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOx4v-0003UK-H9 for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 17:24:45 -0400 Received: by mail-wg0-f53.google.com with SMTP id c11so5328575wgh.20 for ; Sun, 07 Apr 2013 14:24:44 -0700 (PDT) In-Reply-To: (Charles Berry's message of "Tue, 26 Mar 2013 19:18:57 +0000 (UTC)") 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 Berry Cc: emacs-orgmode@gnu.org Hi Charles, Charles Berry writes: > IIUC the problem is that this part of the function > > ,---- > | (setq buffer-file-name nil > | buffer-auto-save-file-name > | (concat (make-temp-name "org-src-") > | (format-time-string "-%Y-%d-%m") ".txt")) > `---- > > > should consult org-edit-src-auto-save-idle-delay and when it is zero, > set buffer-auto-save-file-name to nil or take some other action to ensure that > auto-save-mode does get enabled. Fixed, thanks. -- Bastien