From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to change a link? Date: Fri, 17 Oct 2014 11:25:07 -0400 Message-ID: <87r3y6afcc.fsf@alphaville.bos.redhat.com> 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> <87fvenhyc9.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf9Tm-0004fH-Gr for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 11:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf9Tg-0002Q7-FH for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 11:30:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:50766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf9Tg-0002ON-4w for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 11:30:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xf9Te-00048a-QY for emacs-orgmode@gnu.org; Fri, 17 Oct 2014 17:30:02 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Oct 2014 17:30:02 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Oct 2014 17:30:02 +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 Marcin Borkowski writes: > 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! > Why not move org-dp into contrib? It's still a dependency but it's easier to satisfy if it's in contrib. Or, if it's deemed useful enough, even moved into core (perhaps after some cleanup)? Nick