emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to change a link?
@ 2014-10-15  0:19 Marcin Borkowski
  2014-10-15  7:16 ` Thorsten Jolitz
  2014-10-15 10:19 ` Nicolas Goaziou
  0 siblings, 2 replies; 24+ messages in thread
From: Marcin Borkowski @ 2014-10-15  0:19 UTC (permalink / raw)
  To: org-mode List

Hi list,

assume that I have a link object (e.g., I'm in the ellipsis part of
this:

(org-element-map (org-element-parse-buffer 'object) 'link
  (lambda (elt) ... ))

What I want to do is this:
1. check whether it is an internal link, and
2. if it is, change it so that it points to the analogous place in
another file.

Any hints about how to do these things?

(The rationale is that I'm writing a function which splits a single Org
file into a bunch of smaller ones, and I want to preserve links.)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-10-20 13:10 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-15  0:19 How to change a link? Marcin Borkowski
2014-10-15  7:16 ` Thorsten Jolitz
2014-10-15  9:50   ` Marcin Borkowski
2014-10-15 10:02     ` Thorsten Jolitz
2014-10-15 16:17       ` Marcin Borkowski
2014-10-15 22:28         ` Thorsten Jolitz
2014-10-15 22:36           ` Marcin Borkowski
2014-10-15 22:51             ` Thorsten Jolitz
2014-10-15 23:06               ` Thorsten Jolitz
2014-10-15 10:19 ` Nicolas Goaziou
2014-10-15 21:30   ` Marcin Borkowski
2014-10-15 21:52     ` Nicolas Goaziou
2014-10-16 17:55       ` Marcin Borkowski
2014-10-16 20:10         ` Nicolas Goaziou
2014-10-16 21:46           ` Marcin Borkowski
2014-10-16 22:19         ` Thorsten Jolitz
2014-10-17  8:52           ` Marcin Borkowski
2014-10-17 15:25             ` Nick Dokos
2014-10-18 13:54               ` Thorsten Jolitz
2014-10-18  1:44           ` Marcin Borkowski
2014-10-18 13:48             ` Thorsten Jolitz
2014-10-20  0:02   ` Marcin Borkowski
2014-10-20 13:02     ` Nicolas Goaziou
2014-10-20 13:11       ` Nicolas Goaziou

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