<div class="markdown">
<p dir="auto">On 16 Jan 2014, at 20:11, Jon Nall wrote:</p>
<blockquote>
<p dir="auto">What's the preferred way for a user to set options for a bundle?</p>
</blockquote>
<p dir="auto">That's a good question. Ideas are welcome.</p>
<blockquote>
<p dir="auto">I was thinking about introducing a new 'defaults' variable that they could set and be queried from the bundle code.</p>
</blockquote>
<p dir="auto">That's also what I did for the only available option in the currently included bundles:</p>
<pre><code>calendar = `defaults read com.freron.MailMate MmDefaultCalendarName`
</code></pre>
<blockquote>
<p dir="auto">I expect if that's the preferred way, you'll have some guidance on the naming convention?</p>
</blockquote>
<p dir="auto">Not sure yet that it'll be the preferred way, but I guess it is for now. It's not foolproof, but prefixing with the bundle name would probably be sufficient, e.g., I should have used something like:</p>
<pre><code>CalendarBundleDefaultCalendarName
</code></pre>
<p dir="auto">-- <br>
Benny</p>
</div>