From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Help on org-export-filter-link-functions Date: Sun, 05 Oct 2014 03:13:44 +0200 Message-ID: <87a95be2t3.fsf@gmx.us> References: <87lhox2yf0.fsf@tanger.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaaOg-0000v0-L7 for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 21:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaaOa-000892-IC for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 21:14:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:55613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaaOa-00088v-BT for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 21:13:56 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XaaOZ-0000A4-BL for emacs-orgmode@gnu.org; Sun, 05 Oct 2014 03:13:55 +0200 Received: from 217.130.110.20 ([217.130.110.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Oct 2014 03:13:55 +0200 Received: from rasmus by 217.130.110.20 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Oct 2014 03:13:55 +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: emacs-orgmode@gnu.org John Kitchin 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. . .