emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] edit-src on read-only files


From: Andreas Leha
Subject: Re: [O] edit-src on read-only files
Date: Wed, 27 Feb 2013 21:40:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Bastien,


Bastien <address@hidden> writes:

> Hi Andreas,
>
> Andreas Leha <address@hidden> writes:
>
>> On a related note:  I'd also love to see the changes in the
>> source code buffers be autosaved in the org file.  I've lost some big
>> edits already due to power loss on my (old) laptop.
>
> There is now `org-edit-src-auto-save-idle-delay' which you can 
> set to >0 so that the edit src buffer will be saved after N secs
> of idle time.
>
> Thanks for suggesting this,

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.  More importantly, the current
implementation prevents me from discarding the edit with the new C-c C-k
(org-edit-src-abort).

I am not sure how to overcome those limitations (especially the second
one), though.  So I fear, I won't be able to provide a patch
implementing my preferred behaviour. 

Regards,
Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]