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

2013-04-08 Thread Andreas Leha
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.

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

2013-03-18 Thread Andreas Leha
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.

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

2013-03-02 Thread Bastien
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'

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

2013-02-27 Thread Andreas Leha
Hi Bastien, Bastien writes: > Hi Andreas, > > Andreas Leha 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-aut

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

2013-02-16 Thread Bastien
Hi Andreas, Andreas Leha 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

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

2013-02-11 Thread Greg Minshall
>> it seems like org-mode should prevent that. >Yes, this is now the case in master. Thanks! great -- thank you!!

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

2013-02-11 Thread Bastien
Hi Greg, Greg Minshall writes: > hi. i use RCS on my .org files. it's happened to me more than once (>1 > ==> "shame on me") that i've entered "C-c '" on a read-only .org file, > spent some time editing the source code fragment, then done "C-c '", > only to lose my edits, as the original buffe

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

2013-02-09 Thread Andreas Leha
Hi all, Eric S Fraga writes: > Greg Minshall writes: > >> hi. i use RCS on my .org files. it's happened to me more than once (>1 >> ==> "shame on me") that i've entered "C-c '" on a read-only .org file, >> spent some time editing the source code fragment, then done "C-c '", >> only to lose my

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

2013-02-08 Thread Eric S Fraga
Greg Minshall writes: > hi. i use RCS on my .org files. it's happened to me more than once (>1 > ==> "shame on me") that i've entered "C-c '" on a read-only .org file, > spent some time editing the source code fragment, then done "C-c '", > only to lose my edits, as the original buffer was read