From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: New package: ox-minutes [Please critique] Date: Wed, 10 Aug 2016 15:19:14 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d3806b993470539b92cc7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXVI6-00025M-SE for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 11:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXVI3-0005wE-7o for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 11:19:33 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:34657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXVI2-0005tF-Ve for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 11:19:31 -0400 Received: by mail-oi0-x231.google.com with SMTP id l203so63520982oib.1 for ; Wed, 10 Aug 2016 08:19:26 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list --001a113d3806b993470539b92cc7 Content-Type: text/plain; charset=UTF-8 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 --001a113d3806b993470539b92cc7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I have never published a packag= e. I generally write elisp snippets embedded in my config.

Here are my first attempts at a 'package' and defining a c= ustom org export backend.

The aim of this exp= orter 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 n= umbers done in the default ASCII exports is prevented.
- Also TOC= and author name are not exported.

This is an ox-a= scii derived backed for org exports.

This backend = effectively sets the org-export-headline-levels to 0 and, org-export-with-s= ection-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:

=C2=A0 =C2=A0 #+OPTIONS: H:0 num:nil= author:nil toc:nil

This package has been tested t= o 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 ca= n try out the package by:
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.

Kaush= al
--

Kaushal Modi

--001a113d3806b993470539b92cc7--