From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: New package: ox-minutes [Please critique]
Date: Wed, 10 Aug 2016 15:19:14 +0000 [thread overview]
Message-ID: <CAFyQvY3euwucYoz+RFXbEpBY1dHJ-1Ftrb0WaxT+4vqrfx=Zzg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]
Hi all,
I have never published a package. I generally write elisp snippets embedded
in my config.
Here are my first attempts at a 'package' and defining a custom org export
backend.
The aim of this exporter to generate meeting minutes plain text that is
convenient to send via email.
- Unnecessary blank lines are removed from the final exported plain text.
- Header decoration and section numbers done in the default ASCII exports
is prevented.
- Also TOC and author name are not exported.
This is an ox-ascii derived backed for org exports.
This backend effectively sets the org-export-headline-levels to 0 and,
org-export-with-section-numbers, org-export-with-author and
org-export-with-toc to nil time being for the exports. That is equivalent
to manually putting the below in the org file:
#+OPTIONS: H:0 num:nil author:nil toc:nil
This package has been tested to work with the latest version of org built
from the master branch ( http://orgmode.org/cgit.cgi/org-mode.git ) as of
Aug 10 2016.
You can try out the package by:
1. Cloning it from https://github.com/kaushalmodi/ox-minutes
2. Requiring it:
3. Exporting an org file using C-c C-e M M
I would love to get criticism on this... What did I miss? Bad coding
practices?
Thanks.
Kaushal
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1991 bytes --]
next reply other threads:[~2016-08-10 15:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 15:19 Kaushal Modi [this message]
2016-08-10 16:16 ` New package: ox-minutes [Please critique] Oleh Krehel
2016-08-10 16:29 ` Kaushal Modi
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFyQvY3euwucYoz+RFXbEpBY1dHJ-1Ftrb0WaxT+4vqrfx=Zzg@mail.gmail.com' \
--to=kaushal.modi@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.