From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to change a link? Date: Fri, 17 Oct 2014 10:52:54 +0200 Message-ID: <87fvenhyc9.fsf@wmi.amu.edu.pl> References: <87a94yjia9.fsf@wmi.amu.edu.pl> <87bnpd4ov7.fsf@nicolasgoaziou.fr> <87tx35hvh8.fsf@wmi.amu.edu.pl> <87y4sh2e7c.fsf@nicolasgoaziou.fr> <87mw8vj3vs.fsf@wmi.amu.edu.pl> <87d29ru07w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf3HY-00045f-QM for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 04:53:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf3HT-0000Pp-0i for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 04:53:08 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:33780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf3HS-0000PA-Pj for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 04:53:02 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id DF3094144A for ; Fri, 17 Oct 2014 10:52:57 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BcdDqxrJ5HKZ for ; Fri, 17 Oct 2014 10:52:57 +0200 (CEST) Received: from localhost (unknown [150.254.82.201]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id C0F8F41449 for ; Fri, 17 Oct 2014 10:52:57 +0200 (CEST) In-reply-to: <87d29ru07w.fsf@gmail.com> 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 On 2014-10-17, at 00:19, Thorsten Jolitz wrote: >> OK, so what is the canonical way of doing this? I don't want to use >> org-dp, since it is another dependency. > > It is a problem to add dependencies to libraries the user must install > himself, and at the same time its a pity that there is so much > duplication instead of reuse ... Very true. I'm torn inside;). > However, here is a org-dp solution, use 't' instead of 'prepend to > replace the links, and whatever you want instead of "file+emacs" as > replacement. Of course one could easily re-search and replace "[[file:" > in this simple case, but this uses the parser and allows doing more > complex stuff in a clean way too: I'll study it, thanks! Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University