From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Other question concerning org-babel-tangle-jump-to-org Date: Thu, 06 Jun 2013 09:13:10 -0600 Message-ID: <871u8f8e7t.fsf@gmail.com> References: <87r4goy0uo.fsf@krugs.de> <87ehcoktsl.fsf@gmail.com> <87fvx3bnzl.fsf@krugs.de> <87wqqfjnmi.fsf@gmail.com> <878v2rsfol.fsf@krugs.de> <87hahfqpwa.fsf_-_@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukbt5-0005YG-Sh for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 11:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukbt3-0004M5-QN for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 11:14:03 -0400 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:43955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukbt3-0004Ly-JO for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 11:14:01 -0400 Received: by mail-pb0-f41.google.com with SMTP id rp2so3405773pbb.0 for ; Thu, 06 Jun 2013 08:14:00 -0700 (PDT) In-Reply-To: <87hahfqpwa.fsf_-_@krugs.de> (Rainer M. Krug's message of "Mon, 03 Jun 2013 15:34:29 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org 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? > I just updated the `org-babel-tangle-jump-to-org' function so that it now uses the same jumping mechanism used to edit source code blocks, so your source code settings (e.g., same window or different window) should now apply to source->org jumping. Cheers, > > Thanks, > > Rainer -- Eric Schulte http://cs.unm.edu/~eschulte