From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gerber Subject: Re: Ignored in-buffer settings and after-export hook Date: Mon, 26 Aug 2013 15:48:13 +0200 Message-ID: <521B5C9D.8070602@gmail.com> References: <5219F424.5030907@gmail.com> <877gf8k753.fsf@gmail.com> 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 ([2001:4830:134:3::10]:44890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDx9b-0001Y8-0e for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 09:48:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDx9V-00014s-6U for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 09:48:22 -0400 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:53171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDx9V-000139-0J for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 09:48:17 -0400 Received: by mail-ea0-f181.google.com with SMTP id d10so1603696eaj.26 for ; Mon, 26 Aug 2013 06:48:16 -0700 (PDT) In-Reply-To: <877gf8k753.fsf@gmail.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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi, On 26/08/2013 13:45, Nicolas Goaziou wrote: > Hello, > > Daniel Gerber writes: > >> 2. Is the after-export hook gone with the new exporter framework? I used >> this to get the list of a project's exported files: >> >> (setq html-files-list () >> org-publish-after-export-hook >> (lambda () (add-to-list 'html-files-list >> (buffer-file-name >> (current-buffer))))) >> (org-publish the-org-project t) >> (print html-files-list) >> >> but in 8.0.7 maint the hook is ignored altogether. > `org-publish-before-export-hook' and `org-publish-after-export-hook' are > not present in Org 8+, indeed. Can't you simply use > `org-export-before-parsing-hook' instead? I guess I can, but it means re-doing the mapping sources to exported file names. By the way, the manual points to http://orgmode.org/worg/org-configs/org-hooks.html which still lists the older hooks. Thanks for your answer!