From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Importing from Oddmuse? Date: Mon, 28 Oct 2013 15:35:24 -0400 Message-ID: <526EBC7C.5020403@pfdstudio.com> References: <526E7C4A.7050804@pfdstudio.com> <87y55dqn7s.fsf@Rainer.invalid> <526EACA0.3070709@pfdstudio.com> <87txg1qk5y.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vasb7-000834-BN for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 15:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vasb2-0003eC-F8 for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 15:35:33 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vasb2-0003e6-Bz for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 15:35:28 -0400 In-Reply-To: <87txg1qk5y.fsf@Rainer.invalid> 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 10/28/13, 3:18 PM, Achim Gratz wrote: > Peter Davis writes: >> Excellent! I modified it slightly to keep the spaces in the display >> string: > This is better, I'd think: > > # hyperlinks > s/\[\[([^]]*)\]\]/ > my $l = $1; > $l =~ s: :_:g; > "[[file:$l.org][$1]]"/gex; That was the first thing I tried, and Perl complained about an undefined variable. I may have made a typo though. Thanks! Cheers, -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com