emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: New exporter: where are the back-end functions called?
Date: Mon, 11 Jun 2012 23:17:00 +0200	[thread overview]
Message-ID: <87ipexy2er.fsf@googlemail.com> (raw)


Hi Nicolas, Hi List, 

when trying to enhance the HTML back-end of the new exporter with
interactive HTML elements, one possibility (probably the easiest and
best) is to write variants for the export functions for some Org
elements that insert different HTML in the output string (HTML form
fields instead of static HTML).

By far the most interesting Org element for me is the 'headline'
element, that is transcoded by the following function from
'org-e-html.el': 

,--------------------------------------------------------------
| (defun org-e-html-headline (headline contents info)
|   "Transcode an HEADLINE element from Org to HTML.
| CONTENTS holds the contents of the headline.  INFO is a plist
| holding contextual information."
`--------------------------------------------------------------

Now I don't want to mess around in the original exporter code, but
rather would like to rename this function and all the helper functions
it calls with the 'iorg'-prefix and then experiment with changing the
function bodies.

Unfortunately, I cannot figure out where 'org-e-html-headline' is called
in the export process, searching for the function name gave no result. 

Can anybody give me a hint how to find the caller(s) of this function?
Is there Emacs functionality that finds all the callers of a function? I
suspect the call is somewhere concatenated out of different pieces in
the source code, so a simple search won't help probably.

-- 
cheers,
Thorsten

             reply	other threads:[~2012-06-11 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11 21:17 Thorsten Jolitz [this message]
2012-06-12 12:53 ` New exporter: where are the back-end functions called? Nicolas Goaziou

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=87ipexy2er.fsf@googlemail.com \
    --to=tjolitz@googlemail.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).