<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 25 Sep 2017, at 11:43, Robert Goldman wrote:</p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">I was looking over an online tutorial for MailMate plugins, and one thing I was wondering was: is there a way to provide the ability to set preferences for a plugin bundle?<br>
<br>
The reason I ask is that the emacs plugin has the path to emacs hard coded, in a way that won't work if you (like me) use Aquamacs for emacs on the Mac. If it's not too hard, I'd add an interactive preference for this, but if it is, could just rummage around in the plist.</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">That sort of thing is usually done via environment variables. See TM_PYTHON or TM_MARKDOWN for an example.</p>
<p dir="auto">Once the bundle has proper support for something like TM_EMACS, users can set that globally in TextMate’s preferences under Variables, or per-project in <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">.tm_properties</code>.</p>
<p dir="auto">-- <br>
Rob McBroom<br>
<a href="http://www.skurfer.com/" style="color:#3983C4">http://www.skurfer.com/</a></p>
</div>
</div>
</body>
</html>