<p>I disagree. The line you mentioned indeed leads to a problem, namely that <code>\macroname\macroname</code> is treated as a single word, but that is a different problem.</p>

<p>In my opinion, the best solution for both problems would be to patch the geanylatex plugin to autocomplete the word <code>macro</code> with <code>macroname</code> only if it is preceded by a <code>\</code>. Then removing the <code>\</code> from <code>wordchars</code> where you mentioned would make geany correctly recognize <code>\macroname\macro</code> as <code>macro</code>, and the latex plugin would be able to autocomplete it.</p>

<p>If this solution is acceptable, I could implement it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/issues/1000#issuecomment-211054166">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxhUUPnBLRK6oRjKT3i6CKS4nkYFks5p4mN9gaJpZM4IJAHw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1000#issuecomment-211054166"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>