emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Myles English <mylesenglish@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: return link to :file when using #+call
Date: Wed, 05 Jan 2011 23:28:00 -0700	[thread overview]
Message-ID: <87oc7ueebz.fsf@gmail.com> (raw)
In-Reply-To: <loom.20110101T235059-402@post.gmane.org> (Myles English's message of "Sat, 1 Jan 2011 22:57:02 +0000 (UTC)")

Hi Myles,

Currently I believe the best option is the solution you posted below,
the file name is repeated because both the code block and the call line
need to know the file name to create the file and the link respectively.

Cheers -- Eric

Myles English <mylesenglish@gmail.com> writes:

> Myles English <mylesenglish <at> gmail.com> writes:
>> #+source: foo()
>> #+begin_src R :file bar.png
>> plot(1,1)
>> #+end_src
> This works but I have to repeat the filename:
> #+call: foo[:file baz.png]() :file baz.png
> #+results: foo[:file baz.png]()
> [[file:baz.png]]
>   Myles
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-01-06  6:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31  0:05 return link to :file when using #+call Myles English
2011-01-01 22:57 ` Myles English
2011-01-06  6:28   ` Eric Schulte [this message]
2011-01-23  1:13     ` Myles English
2011-01-23  9:14       ` Dan Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc7ueebz.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mylesenglish@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).