From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: edit-src on read-only files Date: Mon, 18 Mar 2013 21:36:29 +0100 Message-ID: <878v5kbg36.fsf@med.uni-goettingen.de> References: <7201.1360248766@greg-minshalls-mbp.local> <87a9refjuc.fsf@ucl.ac.uk> <87bobtabjp.fsf@med.uni-goettingen.de> <87a9r4o897.fsf@bzg.ath.cx> <87621dh4nz.fsf@med.uni-goettingen.de> <87a9ql4z0o.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPEXI-0004tr-DO for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 12:03:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPEXC-0000pS-N5 for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 12:03:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:49282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPEXC-0000og-HK for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 12:03:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UPK9R-0002dU-79 for emacs-orgmode@gnu.org; Tue, 09 Apr 2013 00:02:57 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Apr 2013 00:02:57 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Apr 2013 00:02:57 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Bastien, thanks again for implementing this! Bastien writes: > Hi Andreas, > > Andreas Leha writes: > >> thanks for taking this up! But I am not sure, whether I like the >> current implementation too much. Instead of saving the org-file itself, >> I'd prefer the org-file to be auto-saved. > > You can use auto-save-mode then. > I changed the `buffer-auto-save-file-name' so that > it's unique and shows the date of the auto-save. This is very nice! I've actually meant to have the parent org-buffer auto-saved including the changes in any open source buffer. But this is really good as well. And a much simpler solution. > > I also deactivated the timer for auto-saving into > the buffer where the source code lives, as it is > a bit too intrusive IMO. I agree. I've also disabled this and -- given the better auto-saving mechanism (which gets disabled by saving) -- won't use any more. Thanks again, Andreas