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!

Thanks

On Sat, Oct 23, 2021, 10:46 AM Enrico Tröger <enrico.troeger@uvena.de> wrote:

Just to get sure:
in filetype_extensions.conf there exists the line
[Extensions]
and it is uncommented before "txt=*.txt;"?
Otherwise it can't work.

If that doesn't help either, did you compare the Geany config folder on
both machines for differences?



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