From: Iannis Zannos <zannos@gmail.com>
To: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <CAEC5Jk+SXV8bvyXjM51tv5izeb4=4C8GEg83_Py9C93+GC6GLA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1473 bytes --]
next reply other threads:[~2013-10-12 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-12 10:13 Iannis Zannos [this message]
2013-11-04 12:15 ` Hooks org-publish-before-export-hook, org-publish-after-export-hook no longer in use? Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEC5Jk+SXV8bvyXjM51tv5izeb4=4C8GEg83_Py9C93+GC6GLA@mail.gmail.com' \
--to=zannos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).