From: Paul Rankin <paul@tilk.co>
To: help-gnu-emacs@gnu.org
Subject: Looking for good element parser
Date: Mon, 17 Nov 2014 15:44:14 +1000 [thread overview]
Message-ID: <m2ioie2xg1.fsf@tilk.co> (raw)
Hello,
I maintain a package that exports the Fountain screenplay markup to
HTML. Currently it uses text-properties set with font-lock to figure out
what elements are what, but I think this is perhaps not the best
approach.
I've been looking at org-element.el but it's a little overwhelming for
my Jedi skills. Can anyone point me in the direction of a good text
element parser that's maybe a little simpler than org-element.el?
Or, failing that, should I just use `while' through the buffer doing a
`cond' on every element? Seems like overkill...
Thanks :)
--
Paul W. Rankin
http://www.paulwrankin.com
next reply other threads:[~2014-11-17 5:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-17 5:44 Paul Rankin [this message]
2014-11-17 7:26 ` Looking for good element parser Eric Abrahamsen
2014-11-17 8:46 ` Paul Rankin
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ioie2xg1.fsf@tilk.co \
--to=paul@tilk.co \
--cc=help-gnu-emacs@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.
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).