Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-27 Thread Abel
On 27 June 2017 at 06:50, Enrico Tröger  wrote:

>
> 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.
>

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.
> Depending on the configuration of this mailing list, your subscription
> request may have to be first confirmed by you via email, or approved by the
> list moderator. If confirmation is required, you will soon get a
> confirmation email which contains further instructions.


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.*
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-26 Thread Enrico Tröger
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




signature.asc
Description: OpenPGP digital signature
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-25 Thread Lex Trotman
On 26 June 2017 at 10:36, Colomban Wendling  wrote:
> Le 25/06/2017 à 17:22, Lex Trotman a écrit :
>> […]
>> 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.
>
> 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?

See also discussion on #1482.

>
> Cheers,
> Colomban
> ___
> Devel mailing list
> Devel@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-25 Thread Colomban Wendling
Le 25/06/2017 à 17:22, Lex Trotman a écrit :
> […]
> 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.

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
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-25 Thread Lex Trotman
On 26 June 2017 at 09:03, Matthew Brush  wrote:
> On 2017-06-25 03:07 PM, Abel wrote:
>>>
>>>
>>>
>>> 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...
>>
>
> 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?

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

>
> Regards,
> Matthew Brush
> ___
> Devel mailing list
> Devel@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-25 Thread Matthew Brush

On 2017-06-25 03:07 PM, Abel wrote:



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...



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
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-25 Thread Abel
>
>
> 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...
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Fwd: Updating Geany doesn't update user's filetypes files

2017-06-25 Thread Frank Lanitz
On 25.06.2017 23:48, Abel wrote:
> I've recently updated Geany from 1.29 to 1.30.1 through the unofficial
> 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?

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



signature.asc
Description: OpenPGP digital signature
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel