From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: A way to export agenda with links into org-files to html ? Date: Fri, 18 Feb 2011 10:30:35 +0100 Message-ID: <874o81g05g.fsf@gnu.org> References: <87bp2iv8bd.fsf@gnu.org> <87vd0jkamb.fsf@xemacs.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=51169 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqMfg-0006xU-4e for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:30:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqMfe-0007Sv-Nl for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:30:40 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:33469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqMfe-0007Sm-Gc for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:30:38 -0500 Received: by bwz16 with SMTP id 16so3463451bwz.0 for ; Fri, 18 Feb 2011 01:30:37 -0800 (PST) In-Reply-To: <87vd0jkamb.fsf@xemacs.org> (Hrvoje Niksic's message of "Wed, 16 Feb 2011 21:06:20 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hrvoje Niksic Cc: Marc-Oliver Ihm , emacs-orgmode@gnu.org Hi Hrvoje, Hrvoje Niksic writes: > Bastien writes: > >> Sadly enough, htmlize.el only handles links. >> >> Patch to make htmlize.el handle org links welcome! > > htmlize looks for urls and converts them to links. Yes, some urls. > What are org links that you refer to, Links like [[http://orgmode.org][Org website]] or even raw links like http://orgmode.org, with no <...> bracket. See the manual: http://orgmode.org/manual/Link-format.html http://orgmode.org/manual/External-links.html > and how should htmlize find them in the buffer? See org-*-link-regexp regular expressions. We definitely don't need to match every (org-)link these expressions match. Only hyperlinks with external protocols (http, ftp, mailto, etc.) Thanks for taking a look at this! -- Bastien