> Without the fix Geany does not copy the filetype files (albeit accidentally), 
> so the user config doesn't hide the system config, so currently Geany does 
> the right, but user unfriendly, thing.
>
> "Fixing" the paths will make Geany do the wrong thing again so it shouldn't 
> happen alone.

The `filetypes.README` file inside the filedefs directory says:

```
Copy files from /usr/local/Cellar/geany/1.24.1/share/geany to this directory to 
overwrite them. To use the defaults, just delete the file in this directory.
For more information read the documentation (in 
/usr/local/Cellar/geany/1.24.1/share/doc/geany/html/index.html or visit 
http://www.geany.org/).
```

and the code does just that for the user. Apart from overriding default 
settings another use case is just to look at the default configuration and 
without this patch nothing is displayed. Finally, this works the same way as 
editing `filetype_extensions.conf`, `filetypes.common` etc. always worked and 
the same overriding problem existed there too.

I'd say if the user wants to override just something, he'll have to delete the 
parts of the file he doesn't want to override.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1482#issuecomment-297547512

Reply via email to