[MlMt] bundle for org-mode and how to handle user settings ?
Benny Kjær Nielsen
mailinglist at freron.com
Fri Feb 24 07:09:45 EST 2017
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) :)
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20170224/9484f61c/attachment.html>
More information about the mailmate
mailing list