From: Brett Viren <bv@bnl.gov>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Overriding org-html-headline or other export functions?
Date: Mon, 29 May 2017 15:14:32 -0400 [thread overview]
Message-ID: <86lgpf1nmv.fsf@bnl.gov> (raw)
In-Reply-To: <87d1ar4inq.fsf@jane> (Marcin Borkowski's message of "Mon, 29 May 2017 20:33:45 +0200")
Marcin Borkowski <mbork@mbork.pl> writes:
> It's been a while since I did that, but AFAIR deriving a new, slightly
> midified backend may be exactly what you want, since you seem to need to
> modify just one of the exporter functions.
Right, by my concern is I'm copy-pasting a large function just to change
basically one line.
I understand that instead of simply stepping on org-* function namespace
with my copy, I can rename my copy and make a derived exporter with my
modified function registered as a filter. But that doesn't get away
from now having a chunk of code that is at risk of diverging away as
Org's original develops further.
-Brett.
prev parent reply other threads:[~2017-05-29 19:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-29 12:22 Overriding org-html-headline or other export functions? Brett Viren
2017-05-29 17:38 ` Charles C. Berry
2017-05-29 18:20 ` Brett Viren
2017-05-29 20:34 ` Brett Viren
2017-05-29 20:35 ` Charles C. Berry
2017-05-29 18:33 ` Marcin Borkowski
2017-05-29 19:14 ` Brett Viren [this message]
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=86lgpf1nmv.fsf@bnl.gov \
--to=bv@bnl.gov \
--cc=emacs-orgmode@gnu.org \
--cc=mbork@mbork.pl \
/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).