Re: [O] Save-buffer within a code block

2012-09-19 Thread Bastien
Hi Julian,

Julian Burgos jul...@hafro.is writes:

 I noticed that now, when editing code in ESS mode (after switching from
 org-mode using C-') I cannot use save-buffer to save any changes into my
 org mode file.  Instead, when doing save-buffer I get prompted for a new
 file name and the only the code block gets saved.  If I want to save
 everything (changes into the entire org mode file), I need to switch from
 ESS to org mode, and then do save-buffer.

 Is this a bug or a new feature?  

This is not a new feature :)

I assume you don't have this problem when editing code in other modes.

Did you update ess in the meantime?  This looks like something that has
been added to the save-buffer function from ess-mode -- unless Eric can
find the problem in Org.

Best,

-- 
 Bastien



[O] Save-buffer within a code block

2012-09-06 Thread Julian Burgos

Hello fellow Org-mode'rs:

I noticed that now, when editing code in ESS mode (after switching from 
org-mode using C-') I cannot use save-buffer to save any changes into my 
org mode file.  Instead, when doing save-buffer I get prompted for a new 
file name and the only the code block gets saved.  If I want to save 
everything (changes into the entire org mode file), I need to switch 
from ESS to org mode, and then do save-buffer.


Is this a bug or a new feature?  Can I revert back to the previous 
functionality (which was much more convenient)?

Thanks,

Julian

--
Julian Mariano Burgos, PhD
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: jul...@hafro.is