Thanks,  That makes perfect sense now.  I was only thinking of scope for the purpose of syntax coloring, but I can see how this would work better for you.<br><br>Brad<br clear="all"><br>-- <br>Brad Miller<br>Assistant Professor, Computer Science
<br>Luther College
<br><br><div><span class="gmail_quote">On 8/14/07, <b class="gmail_sendername">Piero D'Ancona</b> <<a href="mailto:pierodancona@gmail.com">pierodancona@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Brad Miller <bmiller@...> writes:<br><br>> Piero,Can you give an example of when/why<br>this is important? Its a reasonable request, I just don't<br>understand it.Thanks,Brad--<br>Brad MillerAssistant Professor, Computer Science
<br>> Luther College<br><br>Ok, here is my answer: when I type \` or<br>\"  (accents in tex) TextMate always inserts<br>double accents, or worse, which I have to<br>manually delete. This is a RPITA, which<br>can be fully appreciated only when typing
<br>in Italian or French with a lot of accents.<br>And this is not very elegant either.<br><br>Solution 1 (Allan's favorite): use UTF-8<br>and accented characters. Nice until<br>you exchange your files with someone<br>
using windows or older systems or<br>a system in a different language etc etc.<br>When I send by e-mail a file to myself<br>sometimes it's garbled... I do not like<br>this and I would really prefer to use \', \" etc
<br>if possible<br><br>Solution 2: define a snippet trggered by<br>` (backtick), which inserts a ` (sure, a<br>backtick) and is tied to the scope<br>meta.escape-character.latex<br>The same for " (double quotes).<br><br>
So you see this is a nice application of<br>the scope "caret after a backslash",<br>I do not know if there are others, but this<br>one is certainly useful for me.<br>I hope this makes my request more clear.<br><br>
Thanks,<br>Piero<br><br><br><br><br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div>
<br>