From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Re: html-export mangels mailto: links Date: Thu, 02 Sep 2010 17:35:04 +0200 Message-ID: <87vd6oxion.fsf@gnu.org> References: <87fwxtjjmh.fsf@Rainer.invalid> <87iq2o3b5s.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=34573 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrBoh-0002FR-Ub for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 11:35:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrBod-0000Eb-IP for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 11:35:07 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:41968) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrBod-0000EJ-Ds for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 11:35:03 -0400 Received: by ewy28 with SMTP id 28so422808ewy.0 for ; Thu, 02 Sep 2010 08:35:02 -0700 (PDT) In-Reply-To: <87iq2o3b5s.fsf@noorul.maa.corp.collab.net> (Noorul Islam K. M.'s message of "Thu, 02 Sep 2010 12:05:43 +0530") 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: Noorul Islam K M Cc: Achim Gratz , emacs-orgmode@gnu.org Noorul Islam K M writes: > org-html.el : Fix exporting file, mailto, news and ftp protocols. > > * lisp/org-html.el (org-html-make-link): (expand-file-name > ) removes one "/" from "///path-to-file", so add one. Anything other > than 'file' type should be exported along with the type. I applied it -- thanks. I modified it further so that absolute filenames are exported as "file:///filename" links. -- Bastien