[Geany-devel] Adding an R parser

2010-02-17 Thread Jon Senior
Hi all, For my sins, I'm obliged to develop code in R, and a while back I added in a tagmanager parser for R symbols. The parser is not mine, but is GPLed and the copyright message is intact so I don't expect that to pose a problem for the project. I've attached a patch against geany-svn which

Re: [Geany-devel] Adding an R parser

2010-02-19 Thread Jon Senior
On Fri, 19 Feb 2010 08:53:28 + Liviu Andronic landronim...@gmail.com wrote: I am currently using Geany for my R needs, and I was curious whether the patch provides something more than the current syntax highlighting support. If so, wouldn't it be safer to open a patched bug report [1]? I

Re: [Geany-devel] Adding an R parser

2010-02-19 Thread Jon Senior
On Fri, 19 Feb 2010 10:02:22 + Liviu Andronic landronim...@gmail.com wrote: Nice. Thanks for bringing up the patch. No problem... it had been bugging me for a while. It's in the tracker now so hopefully we'll see it in geany-0.19. I have couple more issues with the current support for R

Re: [Geany-devel] Adding an R parser

2010-02-19 Thread Jon Senior
On Fri, 19 Feb 2010 21:25:38 +1100 Lex Trotman ele...@gmail.com wrote: Thats because sum is listed as a keyword in Geanys filetypes.r file. Someone who is knowledgeable in R should have a look and check the filetypes.r file and submit a patch. OK. I've got a basic patch for that. I've not

Re: [Geany-devel] Adding an R parser

2010-02-21 Thread Jon Senior
On Sun, 21 Feb 2010 22:11:58 + Liviu Andronic landronim...@gmail.com wrote: I also tried the new filetypes.r and it is indeed better. However there are still some issues with the defaults: - for some reason NULL, Inf, NaN, FALSE and the like are not getting the primary keyword formatting.

Re: [Geany-devel] Adding an R parser

2010-02-22 Thread Jon Senior
On Mon, 22 Feb 2010 08:27:43 +0100 Jon Senior j...@restlesslemon.co.uk wrote: I did notice that when I was tweaking it. I think the capitals are probably to blame. Is there anyone who can confirm this? OK. A little testing reveals that if the entries in filetypes.r are in lowercase

Re: [Geany-devel] Adding an R parser

2010-02-22 Thread Jon Senior
On Mon, 22 Feb 2010 09:43:59 + Liviu Andronic landronim...@gmail.com wrote: You are right that nominally the colours are different---#007f00 for number and #008000 for string2---, but visually the two are very much alike. And I feel it's counter-productive to think of strings every time I

Re: [Geany-devel] Adding an R parser

2010-02-22 Thread Jon Senior
On Mon, 22 Feb 2010 22:15:49 +1100 Lex Trotman ele...@gmail.com wrote: I also noticed that the definition used for a word character is ASCII alphanumeric but the R doc (which I checked after the fact :-) says it is locale sensitive. Not sure about correcting that one. Might just be a case of

Re: [Geany-devel] Adding an R parser

2010-02-22 Thread Jon Senior
And here's the updated patch for the filetypes.r file. Adds T and F and corrects some overlapping definitions. Highlighting only works properly in conjunction with the modified version of LexR.cxx. Jon filetypes.r Description: Binary data signature.asc Description: PGP signature

Re: [Geany-devel] Adding an R parser

2010-02-22 Thread Jon Senior
On Mon, 22 Feb 2010 13:25:49 + Liviu Andronic landronim...@gmail.com wrote: I've been investigating filetypes.r to see if it is possible to make Geany more friendly (when ctrl+right/left, selecting, double-click selecting, etc.) toward strings containing . (dot), and I noticed this line:

Re: [Geany-devel] Build, Compile, Execute [Built Setting] for various filenanetypes extension

2010-02-23 Thread Jon Senior
On Wed, 24 Feb 2010 12:28:18 +1100 Lex Trotman ele...@gmail.com wrote: Someone was working on the R integration recently, maybe they will see this and can help. I've done a little work with R package, but I must confess that I just did everything in a terminal rather than through geany. I'll

Re: [Geany-devel] Safe file saving - permissions issue

2010-05-14 Thread Jon Senior
On Fri, 14 May 2010 18:42:26 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: Sigh. So much work just to save files :(. I don't know if it makes any difference, but I regularly use geany over an sshfs connection with few or no problems. The issues that I have found (and I don't know if the

Re: [Geany-devel] Safe file saving - permissions issue

2010-05-14 Thread Jon Senior
On Sat, 15 May 2010 14:10:06 +1000 Lex Trotman ele...@gmail.com wrote: Since it doesn't know the status of the directory the file was in or even the whole filesystem, and finding out could cause long delays as things time out, it is reasonable to ask the user where it is safe to save the file.

Re: [Geany-devel] [PATCH 05/19] Don't be annoying when not necessary

2010-09-15 Thread Jon Senior
On Thu, 16 Sep 2010 07:54:12 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Another alternative would be to have a mode that is like the current read-only mode, but is called view mode that is like a read only mode but with automatic reload from disk. I haev a similar situation, but

[Geany-devel] Geany-plugins not building. Failure in Addons

2010-10-28 Thread Jon Senior
I realised that I'd not rebuilt geany-plugins since my last upgrade and I was missing my TODO list! I downloaded the latest release and tried that, but got an error when building (From memory, the same as I'm getting now). I then grabbed the svn and tried that. The result is below. Geany version

Re: [Geany-devel] Geany-plugins not building. Failure in Addons

2010-10-28 Thread Jon Senior
On Thu, 28 Oct 2010 17:59:03 +0200 Frank Lanitz fr...@frank.uvena.de wrote: Can you please put in the output of configure or ./waf configure of for the plugins? Attached as file. Hope that's OK. I used ./configure config.out and nothing was printed to the terminal, so no output on stderr. I

Re: [Geany-devel] Geany-plugins not building. Failure in Addons

2010-10-28 Thread Jon Senior
On Thu, 28 Oct 2010 18:21:20 +0200 Jon Senior j...@restlesslemon.co.uk wrote: Attached as file. Hope that's OK. I used ./configure config.out and nothing was printed to the terminal, so no output on stderr. I did just discover that I actually had an older installation of geany still

Re: [Geany-devel] Java parser has issues with Object array return types. - C parser

2010-11-25 Thread Jon Senior
On Thu, 25 Nov 2010 18:28:47 + Nick Treleaven nick.trelea...@btinternet.com wrote: Actually you probably know that already, sorry ;-) S'ok. I was writing in a bit of a hurry, trying to do too many things at once. I'll check the current version in ctags and see if that solves it. If not, I'll

Re: [Geany-devel] syntax highlighting does not appear

2011-01-31 Thread Jon Senior
On Mon, 31 Jan 2011 11:23:02 +0100 Szabo Zoltan szabozolta...@gmail.com wrote: My plan (in the future) to make geany able to show COBOL files nicely, with syntax highlighting. So my first steps were: downloading a fresh geany, compiling it and just try to open a simple file. In this case

Re: [Geany-devel] Minor issue with real-time tag parsing

2011-03-15 Thread Jon Senior
On Tue, 15 Mar 2011 00:21:18 -0700 Matthew Brush mbr...@codebrainz.ca wrote: Hi, I notice the items in the symbol list disappear when you're inside a global string literal (or #include using quotes, but not ) that isn't closed yet. Only the symbols below the unclosed quotes disappear.

Re: [Geany-devel] How about calling the next release 1.0?

2011-09-20 Thread Jon Senior
On Tue, 20 Sep 2011 12:07:23 +0200 Jiří Techet tec...@gmail.com wrote: Hi, just one very quick and possibly stupid idea. How about getting rid of the 0 version prefix and calling the next release 1.0? This would be just numbering change, not some milestone based on features that have to be

Re: [Geany-devel] New Feature(plugin OR geany self)

2011-09-29 Thread Jon Senior
On Thu, 29 Sep 2011 09:57:35 +0200 Jacques du Rand jacque...@gmail.com wrote: True true :P Was hoping to keep it as a surprise :D Okey here it goes: (Keep in mind English is not my first language and I might not paint the perfect mental picture) :P Feature Name:Heated Tabs Problem: By