Hi All,
I have been trying all the top ten Linux distributions (from distrowatch) for the last couple of weeks since opensuse end of lifed a version by not just stopping updates, but removing the repositories altogether :-(
Linux Mint (number three on the downloads) has a software rating system and I noticed that Geany was at the top of the ratings for programming software, congratulations guys.
Cheers Lex
Hi all,
First of all a big "thank you" to all you guys for developing Geany!
I use it for most of my source code editing nowadays, and was really glad to find it after trying out (and rejecting) fat monsters like kdevelop, kate or even Eclipse *horrors*.
Geany provides just the right amount of project integration for my needs; that is to run "make" (cmake, automake). :-)
There are of course a few things which could be improved, but as a whole it's a very fine little IDE. Thank you!
That said, I'm not a GUI-type of guy but more down to the command line, so I would certainly not qualify as a Geany (that is: GTK+) developer.
On the other hand, I would still like to contribute somehow to the project; at least a little bit.
And as I write a lot of scripts for various tasks (who doesn't), I thought it might be a good idea to post some of them (which are Geany-related) to this list.
Perhaps someone here also finds them useful!
On the other hand I do not want to flood this list with unwanted contribitions. But I could not find a better place where to send them, so I'll give it a try.
This is my first one - it does a very simple thing: It scans Geany's configuration file and removes all MRU entries which refer to files which don't exist any more.
I presume Geany should not run while this script is executed, or it might write back the old MRU entries when it exits.
The reason for writing this script was that I frequently edit projects which are then moved around in the directory tree. This creates "dead" entries with the same basename as the new entries in the MRU lists, because the old locations are still listed there. This can quickly get confusing if there are like 3 entries for a single project, but only one of them functional. This little script gets rid of the dead ones.
I have to apologize that the script is written in Lua rather than just a shell script, but I'm just learning how to master this language and therefore write as much as I can in it. ;-)
Anyway, Lua is one of the script language implementations with the lowest disk space footprint; my total installation size here is only 1.6 megs! Compare this to Perl oder Python...
Greetings,
Guenther
On 29 July 2010 11:32, Guenther Brunthaler gb_about_gnu@gmx.net wrote:
Hi all,
First of all a big "thank you" to all you guys for developing Geany!
I use it for most of my source code editing nowadays, and was really glad to find it after trying out (and rejecting) fat monsters like kdevelop, kate or even Eclipse *horrors*.
Geany provides just the right amount of project integration for my needs; that is to run "make" (cmake, automake). :-)
There are of course a few things which could be improved, but as a whole it's a very fine little IDE. Thank you!
That said, I'm not a GUI-type of guy but more down to the command line, so I would certainly not qualify as a Geany (that is: GTK+) developer.
On the other hand, I would still like to contribute somehow to the project; at least a little bit.
And as I write a lot of scripts for various tasks (who doesn't), I thought it might be a good idea to post some of them (which are Geany-related) to this list.
Perhaps someone here also finds them useful!
On the other hand I do not want to flood this list with unwanted contribitions. But I could not find a better place where to send them, so I'll give it a try.
This is my first one - it does a very simple thing: It scans Geany's configuration file and removes all MRU entries which refer to files which don't exist any more.
I presume Geany should not run while this script is executed, or it might write back the old MRU entries when it exits.
The reason for writing this script was that I frequently edit projects which are then moved around in the directory tree. This creates "dead" entries with the same basename as the new entries in the MRU lists, because the old locations are still listed there. This can quickly get confusing if there are like 3 entries for a single project, but only one of them functional. This little script gets rid of the dead ones.
I have to apologize that the script is written in Lua rather than just a shell script, but I'm just learning how to master this language and therefore write as much as I can in it. ;-)
Anyway, Lua is one of the script language implementations with the lowest disk space footprint; my total installation size here is only 1.6 megs! Compare this to Perl oder Python...
Greetings,
Guenther
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Hi Geunther,
I presume you've found the Geany Lua plugin then :-)
The problem with scripts is that they are not portable (Geany runs on *x and *dows) or they create a dependency, in your case on Lua.
Since Geany itself is trying to avoid all such dependencies for end users, useful scripts like this (I too have been confused by "dead" entries in the MRU list) are unlikely to be included in Geany itself, but could probably be put on the extras section of Geany web site for people who are willing to install Lua.
Thats up to the main developers who maintain the web site.
Cheers Lex
Hi Lex,
On 2010-07-29 04:36, Lex Trotman wrote:
I presume you've found the Geany Lua plugin then :-)
Actually, I had no idea - but thanks for the hint! I'll install it asap! :-)
The problem with scripts is that they are not portable (Geany runs on *x and *dows) or they create a dependency, in your case on Lua.
Lua also runs ob *x, *doze or any other platform providing a plain ANSI-C compiler, because its source code deliberately does not use any features outside of those guaranteed by the ANSI-C standard libraries.
But I get your argument, and I agree. It *is* an additional dependency.
but could probably be put on the extras section of Geany web site for people who are willing to install Lua.
That's all I had hoped for!
Thats up to the main developers who maintain the web site.
I would feel honored.
Greetings,
Guenther
On 29 July 2010 12:48, Guenther Brunthaler gb_about_gnu@gmx.net wrote:
Hi Lex,
On 2010-07-29 04:36, Lex Trotman wrote:
I presume you've found the Geany Lua plugin then :-)
Actually, I had no idea - but thanks for the hint! I'll install it asap! :-)
The problem with scripts is that they are not portable (Geany runs on *x and *dows) or they create a dependency, in your case on Lua.
Lua also runs ob *x, *doze or any other platform providing a plain ANSI-C compiler, because its source code deliberately does not use any features outside of those guaranteed by the ANSI-C standard libraries.
But I get your argument, and I agree. It *is* an additional dependency.
but could probably be put on the extras section of Geany web site for people who are willing to install Lua.
That's all I had hoped for!
Thats up to the main developers who maintain the web site.
I would feel honored.
I better warn you that it might take a while, the developers are a bit overloaded with "real" life at the moment.
Cheers Lex
Greetings,
Guenther _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Hi Lex,
On 2010-07-29 05:20, Lex Trotman wrote:
I better warn you that it might take a while, the developers are a bit overloaded with "real" life at the moment.
No problem, but thanks for the warning anyway.
Well, here's just the next script: It solves the problem that "geany -g" can only create tag files for one language at a time, but there may be multiple source code languages present in a project.
This script runs "geany -g" with the correct parameters to generate tag files for all supported languages for the source files encountered in the current directory tree.
This script gets its information (which file extensions are supported for which languages) from parsing the Geany configuration files as well as reading the directory tree searching for matching source files. It also sets up CFLAGS automatically to include all directories containing #include files in sorted breadth-first order.
I have to add that I wrote this script "by mistake" - I did not know what Geany's "tag-files" are actually used for.
What I expected them to be was something like ctags files; that is, they would allow me to find a tag declaration everywhere in a project, and not just in the currently opened files.
But it turned out that "tag" files are actually only used for keyboard completion and ballon help. ;-)
Cheers,
Guenther
Am Donnerstag, den 29.07.2010, 17:27 +0200 schrieb Guenther Brunthaler:
Hi Lex,
On 2010-07-29 05:20, Lex Trotman wrote:
I better warn you that it might take a while, the developers are a bit overloaded with "real" life at the moment.
No problem, but thanks for the warning anyway.
Well, here's just the next script: It solves the problem that "geany -g" can only create tag files for one language at a time, but there may be multiple source code languages present in a project.
This script runs "geany -g" with the correct parameters to generate tag files for all supported languages for the source files encountered in the current directory tree.
You can find this one also at [1], thanks. :)
[1] http://www.geany.org/Download/Extras
Just a generic hint for the usage of this mailing list: You should start new threads for new topics, also if you have another contribution. Easiest way to do so is, to compose a new mail to geany-devel@uvena.de instead of pressing reply. That's really important for keeping the conversations on the mailing list clearly arranged. :)
Regards, Dominic
Hi Dominic,
On 2010-07-31 00:05, Dominic Hopf wrote:
You can find this one also at [1], thanks. :)
Thanks also for putting it there!
Just a generic hint for the usage of this mailing list: You should start new threads for new topics, also if you have another contribution.
Didn't I?!
If so, then sorry! Normally, I certainly do.
Cheers,
Guenther
Am Samstag, den 31.07.2010, 18:04 +0200 schrieb Guenther Brunthaler:
Just a generic hint for the usage of this mailing list: You should start new threads for new topics, also if you have another contribution.
Didn't I?!
Seems so. At least it looks like that in my mail client. ;) But well, I had just had a discussion with Enrico on IRC these days about Evolution which may does weird things for me here.
Not that important at all I guess, unless there are real big problems of which others may tell me in future.. :)
Regards, Dominic
On Sat, 31 Jul 2010 19:58:05 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Am Samstag, den 31.07.2010, 18:04 +0200 schrieb Guenther Brunthaler:
Just a generic hint for the usage of this mailing list: You should start new threads for new topics, also if you have another contribution.
Didn't I?!
Seems so. At least it looks like that in my mail client. ;) But well, I had just had a discussion with Enrico on IRC these days about Evolution which may does weird things for me here.
Here, with Claws, the Lua Script thread is also part of the Ratings thread. It's probably because you chose to reply to the first thread and change the subject. But this looks like doubtful behaviour from mail clients: even if the headers are the same, since the subjects are different they would better consider two separate threads. For this thread (in Claws), Gmail displays three different "conversations".
Regards Liviu
On Sat, 31 Jul 2010 23:09:20 +0100 Liviu Andronic landronimirc@gmail.com wrote:
On Sat, 31 Jul 2010 19:58:05 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Am Samstag, den 31.07.2010, 18:04 +0200 schrieb Guenther Brunthaler:
Just a generic hint for the usage of this mailing list: You should start new threads for new topics, also if you have another contribution.
Didn't I?!
Seems so. At least it looks like that in my mail client. ;) But well, I had just had a discussion with Enrico on IRC these days about Evolution which may does weird things for me here.
Here, with Claws, the Lua Script thread is also part of the Ratings thread. It's probably because you chose to reply to the first thread and change the subject. But this looks like doubtful behaviour from mail clients: even if the headers are the same, since the subjects are different they would better consider two separate threads. For this thread (in Claws), Gmail displays three different "conversations".
Just check for the In-Reply-To and References header inside mails. This is taken as date to identify a thread in most cases. Filtering/Sorting only be Subject is a real bad idea.
Cheers, Frank
On Mon, 9 Aug 2010 00:09:32 +0200 Frank Lanitz frank@frank.uvena.de wrote:
Just check for the In-Reply-To and References header inside mails. This is taken as date to identify a thread in most cases. Filtering/Sorting only be Subject is a real bad idea.
Hmm, I'm still missing something. If threads are indeed sorted In-Reply-To and References, but additionally the subject line is checked, is it still a bad thing? Why? For example, for same In-Reply-To and References but different subjects, I would find it reasonable to have to different threads. Liviu
Am Donnerstag, den 29.07.2010, 13:20 +1000 schrieb Lex Trotman:
On 29 July 2010 12:48, Guenther Brunthaler gb_about_gnu@gmx.net wrote:
Hi Lex,
On 2010-07-29 04:36, Lex Trotman wrote:
I presume you've found the Geany Lua plugin then :-)
Actually, I had no idea - but thanks for the hint! I'll install it asap! :-)
The problem with scripts is that they are not portable (Geany runs on *x and *dows) or they create a dependency, in your case on Lua.
Lua also runs ob *x, *doze or any other platform providing a plain ANSI-C compiler, because its source code deliberately does not use any features outside of those guaranteed by the ANSI-C standard libraries.
But I get your argument, and I agree. It *is* an additional dependency.
but could probably be put on the extras section of Geany web site for people who are willing to install Lua.
That's all I had hoped for!
Thats up to the main developers who maintain the web site.
I would feel honored.
I better warn you that it might take a while, the developers are a bit overloaded with "real" life at the moment.
Check this out guys: http://www.geany.org/Download/Extras#scripts Alternatively you can also provide your scripts on a own homepage if you have, Guenther, I would integrate a link to your site then. Just tell me, how you'd like to prefer it. :)
Best Regards, Dominic
On Thu, 29 Jul 2010 10:34:18 +1000 Lex Trotman elextr@gmail.com wrote:
Hi All,
I have been trying all the top ten Linux distributions (from distrowatch) for the last couple of weeks since opensuse end of lifed a version by not just stopping updates, but removing the repositories altogether :-(
Linux Mint (number three on the downloads) has a software rating system and I noticed that Geany was at the top of the ratings for programming software, congratulations guys.
Nice to hear ;)
Cheers, Frank