From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: bug: [[file:something.org]] is exported to [[http:something.html]] Date: Tue, 07 Sep 2010 22:42:18 +0200 Message-ID: <87tym1thed.wl%n142857@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=48008 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot4zn-0002ai-R4 for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 16:42:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot4zl-0003Xn-MC for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 16:42:23 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:63791) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot4zl-0003XL-H7 for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 16:42:21 -0400 Received: by wwb24 with SMTP id 24so7431343wwb.30 for ; Tue, 07 Sep 2010 13:42:20 -0700 (PDT) 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: org-mode Mailinglist Cc: Noorul Islam Commit bd1b57f92a33485c90db1efc407c8b7c7450993a (Thu Sep 2 11:35:43 2010 +0= 000) did something like this in org-html.el: ((str (org-export-html-format-href thefile))) - (if (and type (not (string=3D "file" type)) - (org-string-match-p "^//" str)) + (if (and type (not (string=3D "file" type))) (concat type ":" str) This broke the exporting of [[file:a.org]] links, which now appear as [[htt= p:a.html]]. Try C-c C-e H on any .org with such links, even in emacs -Q. The problem is, I think, that =E2=80=9Etype=E2=80=9C is actually "http", no= t "file" as the code tries. -- Daniel