From mboxrd@z Thu Jan 1 00:00:00 1970 From: Iannis Zannos Subject: Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use? Date: Sat, 12 Oct 2013 13:13:59 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6703a35b484d04e8887e1c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUwCy-00060B-0s for emacs-orgmode@gnu.org; Sat, 12 Oct 2013 06:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUwCv-0007vG-Fx for emacs-orgmode@gnu.org; Sat, 12 Oct 2013 06:14:03 -0400 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:65247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUwCv-0007v7-6c for emacs-orgmode@gnu.org; Sat, 12 Oct 2013 06:14:01 -0400 Received: by mail-ea0-f177.google.com with SMTP id f15so2365056eak.36 for ; Sat, 12 Oct 2013 03:14:00 -0700 (PDT) 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 --047d7b6703a35b484d04e8887e1c Content-Type: text/plain; charset=ISO-8859-1 Hello, it appears that in org-mode 8.x the hooks org-publish-before-export-hook and org-publish-after-export-hook are no longer used. I did a search in the source code of org-mode 8.2.1 downloaded from http://orgmode.org/org-8.2.1.zip, and then looked for one of the hooks with: find ./ -name "*.el" -exec grep -H -n "org-publish-before" '{}' \; -print No entries were found. Instead, the method for customizing export seems to have been changed to accept a list of publishing functions in a project-alist: find ./ -name "*.el" -exec grep -H -n "publishing-function" '{}' \; -print gives the related code in lines 650-662 of file lisp/ox-publish-el. If the above is correct, then the org-mode manual should be updated to reflect the change, at page: http://orgmode.org/worg/org-configs/org-hooks.html Cheers, Iannis Zannos --047d7b6703a35b484d04e8887e1c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hello,=A0

it appears that in org-mode 8.x the hooks=A0org-publish-before-export-h= ook and org-publish-after-export-hook are no longer used. I did a search in= the source code of org-mode 8.2.1 downloaded from=A0http://orgmode.org/org-8.2.1.zip, and then looke= d for one of the hooks with:=A0

find ./ -name "*.el" -exec grep -= H -n "org-publish-before" '{}' \; -print

No entries were found.=A0
Instead,= the method for customizing export seems to have been changed to accept a l= ist of publishing functions in a project-alist:=A0

find ./ -name "*.el" -exec grep -= H -n "publishing-function" '{}' \; -print

gives the related code in lines 650-662 of file l= isp/ox-publish-el.=A0

If the above is correct, then the org-mode = manual should be updated to reflect the change, at page:=A0

Cheers,=A0

=
Iannis Zannos




--047d7b6703a35b484d04e8887e1c--