emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Tarjei Bærland" <tarjeibaerland@gmail.com>
To: emacs-orgmode@gnu.org
Subject: "org-link-set-parameters" get parent properties
Date: Thu, 31 Jan 2019 11:36:26 +0100	[thread overview]
Message-ID: <CAJ+-Syy5zqxdHKS4A2oWTxAhLbiiHoUDJ3Xc5SA+UC-QSisSHA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

Hi!

I have a custom function for exporting image links in org-mode (I have my
html exported to the parent folder of my .org files, and I just want to
keep one copy of the image files).

How can I get the "attr_html" of the link for a custom
org-set-link-parameters function? As far as I can tell, the :export wants a
function taking (path desc backend), and I do not know how to extract the
parent of the link from this.

Thanks in advance!

Regards,
Tarjei

[-- Attachment #2: Type: text/html, Size: 612 bytes --]

             reply	other threads:[~2019-01-31 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 10:36 Tarjei Bærland [this message]
2019-01-31 14:12 ` "org-link-set-parameters" get parent properties John Kitchin

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=CAJ+-Syy5zqxdHKS4A2oWTxAhLbiiHoUDJ3Xc5SA+UC-QSisSHA@mail.gmail.com \
    --to=tarjeibaerland@gmail.com \
    --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).