<div dir="auto">I copied the config folder from the laptop where geany is working and replaced the one in desktop with that. Now desktop works as well. However I didn't save the old config so I can't check now. I think you are right, I don't recall seeing the extensions line!<div dir="auto"><br></div><div dir="auto">Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 23, 2021, 10:46 AM Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Just to get sure:<br>
in filetype_extensions.conf there exists the line<br>
[Extensions]<br>
and it is uncommented before "txt=*.txt;"?<br>
Otherwise it can't work.<br>
<br>
If that doesn't help either, did you compare the Geany config folder on <br>
both machines for differences?<br>
<br>
<br>
<br>
On 21.10.21 00:03, Rue Sixteen wrote:<br>
> Hi<br>
> <br>
> I added that now. Still says unable to load tag file.<br>
> filetype_extensions.conf says<br>
> txt=*.txt;<br>
> I removed everything else from it and only the line above exists. All <br>
> other lines were commented out anyway before.<br>
> Weird thing is geany works in my laptop but not desktop, both have same <br>
> Manjaro with same config/setup!!<br>
> <br>
> Thanks<br>
> <br>
> <br>
> Debug info below.<br>
> 16:58:43: GLib-GIO DEBUG : _g_io_module_get_default: Found default <br>
> implementation gvfs (GDaemonVfs) for ‘gio-vfs’<br>
> 16:58:43: Geany INFO : Geany 1.37.1, en_US.UTF-8<br>
> 16:58:43: Geany INFO : GTK 3.24.30, GLib 2.70.0<br>
> 16:58:43: Geany INFO : OS: Manjaro Linux<br>
> 16:58:43: Geany INFO : System data dir: /usr/share/geany<br>
> 16:58:43: Geany INFO : User config dir: /home/xxxx/.config/geany<br>
> 16:58:43: Geany INFO : Loaded GTK+ CSS theme '/usr/share/geany/geany.css'<br>
> 16:58:43: Geany INFO : Loaded GTK+ CSS theme <br>
> '/usr/share/geany/geany-3.20.css'<br>
> 16:58:43: Geany INFO : System plugin path: /usr/lib/geany<br>
> 16:58:43: Geany INFO : Added filetype JSON (63).<br>
> 16:58:43: Geany INFO : Added filetype Graphviz (64).<br>
> 16:58:43: Geany INFO : Added filetype Nim (65).<br>
> 16:58:43: Geany INFO : Added filetype Swift (66).<br>
> 16:58:43: Geany INFO : Added filetype Clojure (67).<br>
> 16:58:43: Geany INFO : Added filetype Groovy (68).<br>
> 16:58:43: Geany INFO : Added filetype CUDA (69).<br>
> 16:58:43: Geany INFO : Added filetype Kotlin (70).<br>
> 16:58:43: Geany INFO : Added filetype Cython (71).<br>
> 16:58:43: Geany INFO : Added filetype TypeScript (72).<br>
> 16:58:43: Geany INFO : Added filetype Genie (73).<br>
> 16:58:43: Geany INFO : Added filetype Scala (74).<br>
> 16:58:43: Geany INFO : Added filetype Arduino (75).<br>
> 16:58:43: Geany INFO : Added filetype stf (76).<br>
> 16:58:43: Geany INFO : Added filetype txt (77).<br>
> 16:58:43: Geany INFO : Loaded libvte from <a href="http://libvte-2.91.so" rel="noreferrer noreferrer" target="_blank">libvte-2.91.so</a> <br>
> <<a href="http://libvte-2.91.so" rel="noreferrer noreferrer" target="_blank">http://libvte-2.91.so</a>><br>
> 16:58:43: Geany INFO : Unknown filetype for file <br>
> '/home/xxxx/.config/geany/tags/stf.stf.tags'.<br>
> 16:58:43: Geany INFO : Unknown filetype for file <br>
> '/home/xxxx/.config/geany/tags/txt.txt.tags'.<br>
> 16:58:44: Geany INFO : /home/xxxx/Documents/n1.txt : txt (UTF-8)<br>
> 16:58:49: GLib-GIO DEBUG : _g_io_module_get_default: Found default <br>
> implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’<br>
> <br>
> <br>
> <br>
> <br>
> On Wed, Oct 20, 2021 at 4:48 PM Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a> <br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>> wrote:<br>
> <br>
> Ok, I think you are just missing an item for your custom filetypes in<br>
> ~/.config/geany/filetype_extensions.conf like:<br>
> <br>
> txt=*.txt;<br>
> <br>
> in the [Extensions] section.<br>
> Geany uses this mapping to associate tags files based on their<br>
> extension<br>
> to the configured filetypes.<br>
> <br>
> Regards,<br>
> Enrico<br>
> <br>
> <br>
> On 19.10.21 22:45, Rue Sixteen wrote:<br>
> > Sorry for the late reply. Debug info below.<br>
> ><br>
> > I am trying to use the tags in txt.txt.tags to show up in n1.txt<br>
> - which<br>
> > is recognized as txt file but as txt [UTF-8]. I don't know<br>
> whether that<br>
> > is the problem.<br>
> ><br>
> > 07:19:16: GLib-GIO DEBUG : _g_io_module_get_default: Found default<br>
> > implementation gvfs (GDaemonVfs) for ‘gio-vfs’<br>
> > 07:19:16: Geany INFO : Geany 1.37.1, en_US.UTF-8<br>
> > 07:19:16: Geany INFO : GTK 3.24.30, GLib 2.70.0<br>
> > 07:19:16: Geany INFO : OS: Manjaro Linux<br>
> > 07:19:16: Geany INFO : System data dir: /usr/share/geany<br>
> > 07:19:16: Geany INFO : User config dir: /home/xxxx/.config/geany<br>
> > 07:19:16: Geany INFO : Loaded GTK+ CSS theme<br>
> '/usr/share/geany/geany.css'<br>
> > 07:19:16: Geany INFO : Loaded GTK+ CSS theme<br>
> > '/usr/share/geany/geany-3.20.css'<br>
> > 07:19:16: Geany INFO : System plugin path: /usr/lib/geany<br>
> > 07:19:16: Geany INFO : Added filetype JSON (63).<br>
> > 07:19:16: Geany INFO : Added filetype Graphviz (64).<br>
> > 07:19:16: Geany INFO : Added filetype Nim (65).<br>
> > 07:19:16: Geany INFO : Added filetype Swift (66).<br>
> > 07:19:16: Geany INFO : Added filetype Clojure (67).<br>
> > 07:19:16: Geany INFO : Added filetype Groovy (68).<br>
> > 07:19:16: Geany INFO : Added filetype CUDA (69).<br>
> > 07:19:16: Geany INFO : Added filetype Kotlin (70).<br>
> > 07:19:16: Geany INFO : Added filetype Cython (71).<br>
> > 07:19:16: Geany INFO : Added filetype TypeScript (72).<br>
> > 07:19:16: Geany INFO : Added filetype Genie (73).<br>
> > 07:19:16: Geany INFO : Added filetype Scala (74).<br>
> > 07:19:16: Geany INFO : Added filetype Arduino (75).<br>
> > 07:19:16: Geany INFO : Added filetype stf (76).<br>
> > 07:19:16: Geany INFO : Added filetype txt (77).<br>
> > 07:19:16: Geany INFO : Loaded libvte from <a href="http://libvte-2.91.so" rel="noreferrer noreferrer" target="_blank">libvte-2.91.so</a><br>
> <<a href="http://libvte-2.91.so" rel="noreferrer noreferrer" target="_blank">http://libvte-2.91.so</a>><br>
> > <<a href="http://libvte-2.91.so" rel="noreferrer noreferrer" target="_blank">http://libvte-2.91.so</a> <<a href="http://libvte-2.91.so" rel="noreferrer noreferrer" target="_blank">http://libvte-2.91.so</a>>><br>
> > 07:19:16: Geany INFO : Unknown filetype for file<br>
> > '/home/xxxx/.config/geany/tags/stf.stf.tags'.<br>
> > 07:19:16: Geany INFO : Unknown filetype for file<br>
> > '/home/xxxx/.config/geany/tags/txt.txt.tags'.<br>
> > 07:19:16: Geany INFO : /home/xxxx/Documents/n1.txt : txt (UTF-8)<br>
> > 15:41:24: GLib-GIO DEBUG : _g_io_module_get_default: Found default<br>
> > implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’<br>
> ><br>
> > Thanks<br>
> ><br>
> > On Sat, Oct 16, 2021 at 6:32 AM Enrico Tröger<br>
> <<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>><br>
> > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>>> wrote:<br>
> ><br>
> > There must be something else wrong.<br>
> ><br>
> > If I use the tags file and the custom filetype you provided<br>
> here, I can<br>
> > successfully load the tags:<br>
> > 13:29:31.561147: Geany INFO : Loaded<br>
> /tmp/test.txt.tags<br>
> > (txt), 2 symbol(s).<br>
> ><br>
> > Maybe the whole output of Help->Debug Messages could give a hint.<br>
> ><br>
> > Regards,<br>
> > Enrico<br>
> ><br>
> ><br>
> > On 14.10.21 22:48, Rue Sixteen wrote:<br>
> > > That is interesting.<br>
> > ><br>
> > > Below is $USER/.config/geany/filedefs/filetypes.txt.conf<br>
> > > # For complete documentation of this file, please see<br>
> Geany's main<br>
> > > documentation<br>
> > > [styling]<br>
> > > # Edit these in the colorscheme .conf file instead<br>
> > > default=default<br>
> > > comment=comment<br>
> > > tag=tag<br>
> > > class=class<br>
> > > pseudoclass=string_1<br>
> > > unknown_pseudoclass=default<br>
> > > unknown_identifier=default<br>
> > > operator=operator<br>
> > > identifier=keyword_2<br>
> > > doublestring=string_1<br>
> > > singlestring=string_2<br>
> > > attribute=attribute<br>
> > > value=value<br>
> > > id=class<br>
> > > identifier2=keyword_2<br>
> > > variable=identifier_1<br>
> > > important=error<br>
> > > directive=preprocessor<br>
> > > identifier3=keyword_1<br>
> > > pseudoelement=string_2<br>
> > > extended_identifier=keyword_1<br>
> > > extended_pseudoclass=string_1<br>
> > > extended_pseudoelement=string_2<br>
> > > media=parameter<br>
> > ><br>
> > > [keywords]<br>
> > ><br>
> > > [settings]<br>
> > > # default extension used when saving files<br>
> > > extension=txt<br>
> > > tag_parser=COBOL<br>
> > > # MIME type<br>
> > > mime_type=text/plain<br>
> > ><br>
> > ><br>
> > > [indentation]<br>
> > ><br>
> > ><br>
> > ><br>
> > > Thanks<br>
> > ><br>
> > ><br>
> > > On Thu, Oct 14, 2021 at 3:31 PM Enrico Tröger<br>
> > <<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>><br>
> > > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>><br>
> > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>>>> wrote:<br>
> > ><br>
> > ><br>
> > > I've created a custom filetype named "txt" and saved your<br>
> > posted tags<br>
> > > file and then I could load it successfully.<br>
> > ><br>
> > > So, I assume there is something wrong with your<br>
> configuration.<br>
> > > Could you post your filetype configuration for "txt"?<br>
> > ><br>
> > > Regards,<br>
> > > Enrico<br>
> > ><br>
> > ><br>
> > > On 14.10.21 22:09, Rue Sixteen wrote:<br>
> > > > Hi Enrico<br>
> > > ><br>
> > > > I do. When I go to the tab I was hoping to get the<br>
> tags to<br>
> > > autocomplete,<br>
> > > > Document > Set FileType shows txt checked.<br>
> > > ><br>
> > > > Thanks<br>
> > > ><br>
> > > > On Thu, Oct 14, 2021 at 3:02 PM Enrico Tröger<br>
> > > <<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>><br>
> > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>>><br>
> > > > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>><br>
> > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>><br>
> > > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>><br>
> > <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a><br>
> <mailto:<a href="mailto:enrico.troeger@uvena.de" target="_blank" rel="noreferrer">enrico.troeger@uvena.de</a>>>>>> wrote:<br>
> > > ><br>
> > > > Hi Rue,<br>
> > > ><br>
> > > > > I recently had to reinstall after an SSD<br>
> death. However<br>
> > > geany is not<br>
> > > > > accepting my tag files. These are the same<br>
> ones I<br>
> > used for<br>
> > > a long<br>
> > > > time<br>
> > > > > before. They are in pipe format. I tried loading<br>
> > them from<br>
> > > Tools<br>
> > > > > Load<br>
> > > > > Tags.<br>
> > > > > In the status bar below, it says "Could not load<br>
> > tags file<br>
> > > > .....". In<br>
> > > > > the debug message it says "Unknown filetype for<br>
> > file ..."<br>
> > > > ><br>
> > > > > I created a simple file and called it<br>
> > simple.txt.tags and<br>
> > > it has the<br>
> > > ><br>
> > > > do you have any filetype configured with the<br>
> > extensions ".txt"?<br>
> > > > The filename part before ".tags", in your case<br>
> "txt"<br>
> > need to<br>
> > > match a<br>
> > > > known filetype for Geany. This filetype is used to<br>
> > load the<br>
> > > tags for as<br>
> > > > tags are always bound to filetypes.<br>
> > > ><br>
> > > ><br>
> > > > Regards,<br>
> > > > Enrico<br>
> > > ><br>
> > > > --<br>
> > > > Get my GPG key from<br>
> <a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>><br>
> > <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>>><br>
> > > <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a><br>
> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a><br>
> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>>>><br>
> > > > <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a><br>
> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>><br>
> > <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>>><br>
> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>><br>
> > <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a> <<a href="https://www.uvena.de/pub.asc" rel="noreferrer noreferrer" target="_blank">https://www.uvena.de/pub.asc</a>>>>><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.geany.org" target="_blank" rel="noreferrer">Users@lists.geany.org</a> <mailto:<a href="mailto:Users@lists.geany.org" target="_blank" rel="noreferrer">Users@lists.geany.org</a>><br>
> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
> <<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>><br>
> <br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org" target="_blank" rel="noreferrer">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>