<div class="markdown">
<p dir="auto">On 14 Mar 2014, at 16:39, Torsten Grust wrote:</p>

<blockquote>
<p dir="auto">On 14 Mar 2014, at 13:02, Benny Kjær Nielsen wrote (with possible deletions):</p>

<blockquote>
<p dir="auto">[...]<br>
The most recent test version of MailMate includes a change which makes <code>MM_LINE_NUMBER</code> available as an environment variable. For now it's only used by the TextMate bundle to place the caret in its default location. You might find that useful as well.</p>
</blockquote>

<p dir="auto">Oh, that's useful!  Sublime Text can benefit from this as well.  If you invoke<br>
it via</p>

<pre><code>subl <filename>:<lineno>
</code></pre>

<p dir="auto">the editor places the cursor in the specified line on startup.</p>
</blockquote>

<p dir="auto">Great, I've changed (untested)</p>

<pre><code>.../subl --wait "${MM_EDIT_FILEPATH}"
</code></pre>

<p dir="auto">to</p>

<pre><code>.../subl --wait "${MM_EDIT_FILEPATH}:${MM_LINE_NUMBER}"
</code></pre>

<p dir="auto">-- <br>
Benny</p>

</div>