I forward this mail to the devs list since nobody is accepting me for the users one :(
---------- Forwarded message ---------- From: Abel akronix5@gmail.com Date: 23 June 2017 at 11:20 Subject: Updating Geany doesn't update user's filetypes files To: Geany general discussion list users@lists.geany.org
Hi.
I've recently updated Geany from 1.29 to 1.30.1 through the unofficial ppa https://launchpad.net/%7Egeany-dev/+archive/ubuntu/ppa, Geany seems to be updated correctly but the filetypes configuration files located in ~/.config/geany/filedefs haven't got updated whereas /usr/share/geany/filedefs has.
How can I get my local user config files updated as well when updating Geany? Is there any automatic way?
*Greetings,*
* Abel.*
On 25.06.2017 23:48, Abel wrote:
Short answer: I'm afraid you have to do it on your own.
A little --verbose: Geany stores custom configuration inside ~/.config/geany. In case of filedefs this typically includes changed commands for a particular programming language. Due to this fact, these files are not updated to keep user's changes.
Which configuration in detail did you expect to be updated?
Cheers, Frank
Which configuration in detail did you expect to be updated?
The filetypes files which contain the keywords definition for each language. In particular, I was expecting to get the new keywords of python3 highlighted once I updated Geany, but it didn't...
On 2017-06-25 03:07 PM, Abel wrote:
Hi,
What would you expect to happen if you had added your own custom keywords in the filetypes file and Geany was to update it with the new Python 3 keywords?
Regards, Matthew Brush
On 26 June 2017 at 09:03, Matthew Brush mbrush@codebrainz.ca wrote:
To be clear, this is INTENDED behaviour.
As Matthew says the filetype files in the users directory are the users own, it would be rude of Geany to overwrite them, since users likely want to keep changes they made. Geany overwrites the system filetype files only. If you want to use that just delete the entries in your user filetype files for the things you want to use the system files for. Or delete the user files if you have made no other changes.
Cheers Lex
Le 25/06/2017 à 17:22, Lex Trotman a écrit :
Exactly: only keep what you actually intend to overwrite in the user filetypes. Maybe we should have a comment somehow in those files mentioning it to suggest that to the users?
Cheers, Colomban
On 26 June 2017 at 10:36, Colomban Wendling lists.ban@herbesfolles.org wrote:
See also discussion on #1482.
Hi,
On 06/25/2017 11:48 PM, Abel wrote:
I forward this mail to the devs list since nobody is accepting me for the users one :(
it's not that you are not accepted on the users list, you just need to subscribe to the mailing list in the same way as you did for this list. And this is what I wrote to you in the reject message.
For the future, just visit https://lists.geany.org/cgi-bin/mailman/listinfo/users and subscribe by filling in your email address. Then you can post to the users mailing list as well.
Regards, Enrico
On 27 June 2017 at 06:50, Enrico Tröger enrico.troeger@uvena.de wrote:
I filled that that subscribe form twice, in both of them I got this:
Your subscription request has been received, and will soon be acted upon.
But nothing else. Curiously, however, I just did it again and I got an appropriate confirmation letter.
---
Back to the issue, I like to follow the bash configuration idea, you first have your system-wide configuration and then each user can overwrite certain configurations in his/hers local file. So, whenever you update Geany, you would update everything, but the user's specific modifications of the configuration defaults.
Greetings,
* Abel.*