From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hrvoje Niksic Subject: Re: A way to export agenda with links into org-files to html ? Date: Fri, 18 Feb 2011 10:42:17 +0100 Message-ID: <8762shel1i.fsf@xemacs.org> References: <87bp2iv8bd.fsf@gnu.org> <87vd0jkamb.fsf@xemacs.org> <874o81g05g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44696 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqMr3-0004P3-6T for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:42:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqMr1-0001ne-F6 for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:42:25 -0500 Received: from smtp.xnet.hr ([83.139.103.71]:42348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqMr1-0001le-9Z for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:42:23 -0500 Received: from mail.globalnet.hr (cartman.bnet.hr [213.149.32.10]) by smtp.xnet.hr (XnetMailOut) with ESMTP id DED1F47FF2 for ; Fri, 18 Feb 2011 10:42:19 +0100 (CET) In-Reply-To: <874o81g05g.fsf@gnu.org> (Bastien's message of "Fri, 18 Feb 2011 10:30:35 +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: Bastien Cc: hniksic@xemacs.org, Marc-Oliver Ihm , emacs-orgmode@gnu.org [ Please keep me in the Cc when replying ] Bastien writes: >> and how should htmlize find them in the buffer? > > See org-*-link-regexp regular expressions. I was thinking in a more general way. Maybe applications such as orgmode could mark hyperlinks with text properties and htmlize could recognize them and convert them to real links, without fragile (and slow) regexp magic. For example, Gnus uses the `mouse-face' property to highlight the URLs in the article buffer. The `button' property contains the details about the "button".