<div dir="ltr">Amazing. Thanks for such a quick response. I put tag_parser=COBOL and restarted Geany. Now it works. Now I need to go and expand the tag file with all the words I wanted :-)<div><br></div><div>I haven't seen a simpleton tutorial anywhere where this is detailed as a step by step. May be I will write one and post it somewhere.</div><div><br></div><div>Thanks again for rapid response and help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 3:54 PM, Colomban Wendling <span dir="ltr"><<a href="mailto:lists.ban@herbesfolles.org" target="_blank">lists.ban@herbesfolles.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Le 23/08/2016 à 22:33, Rue Sixteen a écrit :<br>
> […]<br>
<span class="">><br>
> As can be seen filetype txt is accepted, txt.txt.tags is loaded. However<br>
> it seems to be loaded for file type (txt) where as my text files come up<br>
> as txt (UTF-8).<br>
<br>
</span>That's alright, the filetype is still "txt", the part "(UTF-8)" is the<br>
character encoding used to load the file.<br>
<span class=""><br>
> Needless to say my tags from autocompletion don't show<br>
> up. However when I tried to set the file type to php manually and saved<br>
> the tag file as php.php.tags it worked. The same with setting manual<br>
> type of "txt" and loading txt.txt.tags does not work!<br>
<br>
</span>Interesting.  You're hitting a subtle limitation that we should probably<br>
handle better: we cannot use tags if they are not associated with a tag<br>
parser (which is different from a filetype).<br>
<br>
To work around this, you can set the `tag_parser` key in the<br>
`[settings]` section of your custom filetype to the name of another<br>
filetype that already has a tag parser.  This way, your tags will have a<br>
proper "language" set on them and will be usable.  I suggest to use a<br>
tag parser that you don't otherwise use and doesn't have other tags yet,<br>
so you won't get unexpected completions.  I can suggest Ferite, Tcl,<br>
COBOL, etc. -- anything you don't use and that have a tag parser.<br>
<br>
Regards,<br>
Colomban<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>