From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Ignored in-buffer settings and after-export hook Date: Mon, 26 Aug 2013 13:45:28 +0200 Message-ID: <877gf8k753.fsf@gmail.com> References: <5219F424.5030907@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDvEY-00086s-QD for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 07:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDvEQ-0008Jq-6Z for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 07:45:22 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:34423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDvEQ-0008Jc-0k for emacs-orgmode@gnu.org; Mon, 26 Aug 2013 07:45:14 -0400 Received: by mail-we0-f173.google.com with SMTP id x54so2596320wes.4 for ; Mon, 26 Aug 2013 04:45:13 -0700 (PDT) In-Reply-To: <5219F424.5030907@gmail.com> (Daniel Gerber's message of "Sun, 25 Aug 2013 14:10:12 +0200") 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: Daniel Gerber Cc: emacs-orgmode@gnu.org 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? Regards, -- Nicolas Goaziou