emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Save-buffer within a code block
@ 2012-09-06 14:31 Julian Burgos
  2012-09-19 10:56 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Julian Burgos @ 2012-09-06 14:31 UTC (permalink / raw)
  To: Org Mode

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: julian@hafro.is

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Save-buffer within a code block
  2012-09-06 14:31 Save-buffer within a code block Julian Burgos
@ 2012-09-19 10:56 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-09-19 10:56 UTC (permalink / raw)
  To: Julian Burgos; +Cc: Org Mode

Hi Julian,

Julian Burgos <julian@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-19 10:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 14:31 Save-buffer within a code block Julian Burgos
2012-09-19 10:56 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).