[MlMt] Any doc on writing bundles please?

Benny Kjær Nielsen mailinglist at freron.com
Sun Oct 18 04:53:36 EDT 2015


On 17 Oct 2015, at 12:33, Rob Willett (Mail Mate) wrote:

With respect to the subject line: No, there are still no docs on writing 
bundles.

> What I want to do is have an easy way to cut and paste tabular data 
> from an Excel cut and paste. I am very, very happy to write something 
> in Perl, C or shell that takes the output out of MailMate, format the 
> table for markdown and feed it back into MailMate. The processing into 
> Markdown from a CSV or cit/pasreis the easy bit, I’m trying to see 
> if theres anyway to do this as a bundle, a pipe command or whatever so 
> that its easy from MailMate.

It sounds like MailMate doesn't necessarily have to be involved. You 
kind of “just” need a utility which can alter the current content of 
the pasteboard. Replacing the Excel content with a plain text Markdown 
table.

MailMate does not have a “hook” available for altering what is 
pasted in the Composer, but that is something which could be helpful for 
various purposes. Hopefully I'll look into that at some point (also for 
dragging things to the Composer).

Note that there is a caveat with Markdown tables in MailMate. The 
styling you see is actually local only. The message sent does not 
include any explicit styling and it's at the mercy of whatever the 
recipient email client use as defaults for HTML tables. Hopefully this 
won't be an issue for long since styling of outgoing messages is a high 
priority item (and 90% implemented).

-- 
Benny


More information about the mailmate mailing list