From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: What Happened to org-export-html-extension? Date: Sun, 31 Mar 2013 15:54:49 +0100 Message-ID: <51584E39.4010004@wilkesley.net> References: <51580539.3080106@wilkesley.net> <20130331100123.GA8564@kuru.dyndns-at-home.com> Reply-To: ian@manor-farm.org 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 ([208.118.235.92]:50051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMJer-0000Ul-Ma for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 10:55:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMJel-0008S0-Iu for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 10:54:57 -0400 Received: from mail2.wilkesley.net ([109.74.196.44]:55051 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMJel-0008Rw-Cc for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 10:54:51 -0400 Received: from [192.168.0.207] (unknown [46.33.134.31]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 557226B5D03 for ; Sun, 31 Mar 2013 15:54:50 +0100 (BST) In-Reply-To: <20130331100123.GA8564@kuru.dyndns-at-home.com> 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 31/03/13 11:01, Suvayu Ali wrote: > Hello Ian, > > On Sun, Mar 31, 2013 at 10:43:21AM +0100, Ian Barton wrote: >> >> However, all files are published with an .html extension. My Emacs customize >> interface claims that org-export-html-extension doesn't exist. Grepping the >> source for org-export-html-extension doesn't find anything. So has the >> variable been renamed to something else? > > All variables and functions called org-export or org-e- have been > renamed to org--. So org-export-html-extension is > now, org-html-extension. > > Hope this helps, > Thanks, it does and it doesn't. I have set the variable, but still get files with a .html extension. I can reproduce the problem with the following minimal emacs: (add-to-list 'load-path "~/.emacs.d/src/lisp") (require 'org) (require 'ox-html) (setq org-publish-project-alist '( ;; ... add all the components here (see below)... ("org-ianbarton" :base-directory "~/Documents/emacs/web_sites/ianbarton/org/_posts" :base-extension "org" :publishing-directory "~/Documents/emacs/web_sites/ianbarton/pelican/blog/content" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 ; Just the default for this project. :auto-preamble t :auto-index f :org-html-extension "yml" :auto-preamble t :body-only t ) ("org-static-ian" :base-directory "~/Documents/emacs/web_sites/ianbarton/org/_posts" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php" :publishing-directory "~/Documents/emacs/web_sites/ianbarton/pelican/blog/content" :recursive t :publishing-function org-ox-publish-attachment) ("ianbarton" :components ("org-ianbarton" "org-static-ian")) ))