On 24 Feb 2017, at 13:09, Benny Kjær Nielsen wrote:

On 24 Feb 2017, at 10:57, Max Rydahl Andersen wrote:

Last night I made an initial version of a bundle for capture mails to an org-mode inbox.

You can try it out here: https://github.com/maxandersen/org-mode.mmbundle

I'm not sure how wide-spread the use of `org-mode` is, but if the bundle has at least a few users then I'll add it to default set of bundles (if you don't mind) :)

sure, no problem. I made it to be used by others :)

Let me add the preference for selecting a location first - i'll let you know.

Question though:

This bundle appends to my specific location of org files: `~/Dropbox/notes/inbox.org` I'm wondering if there is a way to handle custom variables like this in mailmate bundles ?

like a convention or way to ask for input or similar ?

The [“Todoist” bundle](https://github.com/mailmate/todoist.mmbundle/tree/master/Support/bin) has something like this. It uses `defaults` to write/read a setting and it uses AppleScript to ask for its value (a string token for the Todoist server API). You can also use AppleScript to ask for a filepath (I don't think there is an example of a bundle command doing that).

--
Benny
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


/max
http://about.me/maxandersen
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to