From: Mike Gauland <mikelygee@gmail.com>
To: sergio ruiz <sergio.rrd@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Accessing properties in code blocks
Date: Fri, 10 Jan 2020 12:26:22 +1300 [thread overview]
Message-ID: <1dfaa566-7e98-fbdb-e821-8e32909d1c73@gmail.com> (raw)
In-Reply-To: <1BB9B10D-9420-4AB8-BFD9-F5A3DF4BA242@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
Looking at git, it seems that was introduced in 9.2.
On 10/01/2020 10:32 am, sergio ruiz wrote:
> I am getting:
>
> eval: Symbol’s function definition is void: org-macro--get-property
>
> I am using:
>
> Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @
> /Applications/Emacs.app/Contents/Resources/lisp/org/)
> Mark set
>
> Is this a newer function?
>
> Thanks!
>
>
>
>> You can use elisp code to look up the property you want to pass as a
>> variable:
>>
>> #+BEGIN_SRC shell :var url=(org-macro--get-property "url" "")
>> curl $url
>> #+END_SRC
>>
>>
>
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> Public Key:
> https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2
> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> @sergio_101@mastodon.social <mailto:sergio_101@mastodon.social>
> https://sergio101.com
> http://www.codeandmusic.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
>
[-- Attachment #2: Type: text/html, Size: 5967 bytes --]
next prev parent reply other threads:[~2020-01-09 23:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 20:23 Accessing properties in code blocks sergio ruiz
2020-01-09 20:40 ` Mike Gauland
2020-01-09 21:32 ` sergio ruiz
2020-01-09 23:26 ` Mike Gauland [this message]
2020-01-10 13:16 ` sergio ruiz
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=1dfaa566-7e98-fbdb-e821-8e32909d1c73@gmail.com \
--to=mikelygee@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sergio.rrd@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
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).