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


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

2017-06-25 Thread Abel
I forward this mail to the devs list since nobody is accepting me for the
users one :(

-- Forwarded message --
From: Abel 
Date: 23 June 2017 at 11:20
Subject: Updating Geany doesn't update user's filetypes files
To: Geany general discussion list 


Hi.

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?

*Greetings,*

*Abel.*
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


[Geany-Devel] String freeze for Geany 1.31 -- Please translate

2017-06-25 Thread Frank Lanitz
Dear translators and friends of Geany,

We are on the final meters for Geany 1.31.

In preparation I've updated po-files for Geany core project
inside github repositories and asking you whether you could update
translations, review them or maybe add new languages.

I'd be very happy if you could send a patch, a pull request or single
file with translation to either the geany-i18n mailing list or direct
to me within the next week so we can include it to the next
release. Deadline will be 2017-07-07 24:00hCET.

To get most recent files you could just clone the repositories from
Geany: https://github.com/geany/geany

This can be done e.g. with

git clone https://github.com/geany/geany.git

You can find daily updated po files at http://i18n.geany.org too, which
includes some statistics.

If your language was translated by two or more in past, please double
check directly with them or by pinging me, so we don't need to
translate same things two or three times. Also please feel to ping me
for every question or if you like to start a new translation for an
unsupported language.

If you have any questions, don't hesitate to ping me directly via

IRC: geany @freenode
Jabber/XMPP: fr...@jabber.ccc.de
or via Mail: look above or some of the mailing lists.

Thanks and happy translating
Frank




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