<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Steve wrote:
<blockquote cite="mid:20070906130137.709eea41@serenity" type="cite">
  <pre wrap="">On Thu, 6 Sep 2007 18:35:33 +0200
Enrico Tröger <a class="moz-txt-link-rfc2396E" href="mailto:enrico.troeger@uvena.de"><enrico.troeger@uvena.de></a> wrote:

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">On Wed, 5 Sep 2007 21:52:36 +0200
Enrico Tröger <a class="moz-txt-link-rfc2396E" href="mailto:enrico.troeger@uvena.de"><enrico.troeger@uvena.de></a> wrote:

      </pre>
      <blockquote type="cite">
        <pre wrap="">This is a feature not a bug. We discussed this partly on this list
[1]. IMO it is better to not auto complete if the cursor is not at
the end of a line.
        </pre>
      </blockquote>
      <pre wrap="">Out of curiosity, why?
      </pre>
    </blockquote>
    <pre wrap="">Because it may confuse too much when accidentally hitting [Tab] (or
whatever the auto completion is bound to) and is probably very
unexpected.

    </pre>
  </blockquote>
  <pre wrap=""><!---->
Fair enough, but I think I'd have to argue that Geany's target users
are not so easily confused as that. If we we were talking about Leafpad
or Kwrite then, yes, I'd agree.

For what it's worth, I was confused by the current behavior. I spent an
hour or so tinkering, sure I was doing something wrong, since (1) it
was behaving in an obviously inconsistent way and (2) it didn't work
the way the docs say it does ("Everytime you write myname <TAB> in
Geany...").

Anyway, thanks again for the patch. With the patch applied,
autocomplete does exactly what I need it to.

Regards,

Stveve
  </pre>
</blockquote>
<br>
Ah, that's why it often doesn't work! I was planning on filing a bug
about autocompletion not working sometimes. There must have been a
space or tab on the line already!<br>
<br>
This also explains why the autocompletion of my full name didn't work
last week. I was editing a text file and wanted to insert my full name
in my comments (Har<tab>)...<br>
<br>
I still find it very strange that this is a 'feature', especially
because the auto completion only works when entering a specific text
and pressing the auto complete button (tab). This will almost never
happen accidentally, I presume...<br>
<br>
<br>
Well, patching it is! (every time ;( )<br>
<br>
<br>
-H-<br>
</body>
</html>