Hi Rainier, If I understood correctly, you need to add the following to your .emacs file:
(setq org-src-window-setup 'current-window) With this when you use C-' to switch between editing your org mode file and being in ESS mode you will say in the same windows. All the best, Julian -- Julian Mariano Burgos, PhD Hafrannsóknastofnun/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 Rainer M Krug writes: > Would it be possible, that the function does not open a new window when > executed, but uses the same window the tangled file is in? I am using > org for literate programming in R (ESS): > - R console left window > - when there is an error, I jump to the R file in the right window and > call there org-babel-tangle-jump-to-org and the org file is opened in > the left window. It would be easier for debugging, if it would open in > the right window, where the R file is already open. > > Would that be possible? > > Thanks, > > Rainer