emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Help on org-export-filter-link-functions
Date: Sun, 05 Oct 2014 03:13:44 +0200	[thread overview]
Message-ID: <87a95be2t3.fsf@gmx.us> (raw)
In-Reply-To: m2d2a7n5yu.fsf@andrew.cmu.edu

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> I too am wondering if there is a defined way to get to the element
> properties within a filter function.

qNo.  But sometimes you can recover it from the text-properties, if it
is not a verb, (~·~, =·=).  Her's an example:

  (defun rasmus/get-org-headline-string-element  (headline backend info)
    "Return the org element representation of a headline."
    (let ((prop-point (next-property-change 0 headline)))
      (and prop-point (plist-get (text-properties-at prop-point headline) :parent))))

-- 
And I faced endless streams of vendor-approved Ikea furniture. . .

  reply	other threads:[~2014-10-05  1:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03 11:19 Help on org-export-filter-link-functions Daimrod
2014-10-04 16:40 ` John Kitchin
2014-10-05  1:13   ` Rasmus [this message]
2014-10-05 13:11     ` John Kitchin
2014-10-05 22:24       ` Rasmus

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=87a95be2t3.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).