Csound Csound-dev Csound-tekno Search About

[Csnd] Syntax highlight support for Gedit. Anyone interested?

Date2010-06-30 00:38
FromJacob Joaquin
Subject[Csnd] Syntax highlight support for Gedit. Anyone interested?
I recently switched to gedit as my primary text editor and added
syntax highlighting support for Csound. It's a bit crude, but if
anyone is interested, I can clean it up and make it available. Just
let me know.

Best,
Jake

Date2010-06-30 01:11
FromBrian Wong
Subject[Csnd] Re: Syntax highlight support for Gedit. Anyone interested?
I would be interested in that Jacob!

Brian Wong

On Tue, Jun 29, 2010 at 7:38 PM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:
I recently switched to gedit as my primary text editor and added
syntax highlighting support for Csound. It's a bit crude, but if
anyone is interested, I can clean it up and make it available. Just
let me know.

Best,
Jake
--
The Csound Blog - http://csound.noisepages.com/
Slipmat - http://slipmat.noisepages.com/


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-06-30 01:18
FromJacob Joaquin
Subject[Csnd] Re: Re: Syntax highlight support for Gedit. Anyone interested?
> I would be interested in that Jacob!

Then I'll have it ready in a few days. I'd have it earlier, but I'm
catching up on my Doctor Who. :)

Best,
Jake

Date2010-06-30 01:18
FromErik Maes
Subject[Csnd] Re: Syntax highlight support for Gedit. Anyone interested?
Yes please!

Erik

On 06/30/2010 01:38 AM, Jacob Joaquin wrote:
> I recently switched to gedit as my primary text editor and added
> syntax highlighting support for Csound. It's a bit crude, but if
> anyone is interested, I can clean it up and make it available. Just
> let me know.
> 
> Best,
> Jake



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-06-30 03:46
FromJacob Joaquin
Subject[Csnd] Re: Re: Syntax highlight support for Gedit. Anyone interested?
This gedit language definition is far from complete, but it'll do the
trick until I've finished a more complete version:
http://www.thumbuki.com/csound/files/mailinglist/csd.lang.2010.06.29.zip

For OS X, and perhaps others systems, install it here:
~/.local/share/gtksourceview-2.0/language-specs/

Best,
Jake

Date2010-06-30 08:34
Fromalgodon
Subject[Csnd] Re: Re: Syntax highlight support for Gedit. Anyone interested?
On my debian system, I put it in
/usr/share/gtksourceview-2.0/language-specs





Jacob Joaquin wrote:
> 
> This gedit language definition is far from complete, but it'll do the
> trick until I've finished a more complete version:
> http://www.thumbuki.com/csound/files/mailinglist/csd.lang.2010.06.29.zip
> 
> For OS X, and perhaps others systems, install it here:
> ~/.local/share/gtksourceview-2.0/language-specs/
> 
> Best,
> Jake
> -- 
> The Csound Blog - http://csound.noisepages.com/
> Slipmat - http://slipmat.noisepages.com/
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 
> 


-----
http://www.myspace.com/algodonciego

Date2010-06-30 15:12
FromJacob Joaquin
Subject[Csnd] Re: Re: Re: Syntax highlight support for Gedit. Anyone interested?
> On my debian system, I put it in
> /usr/share/gtksourceview-2.0/language-specs

Thanks! I'll be sure to put this in the README when I officially
release it. In fact, I'd love to collect this information for as many
systems as possible, so if others will post a note about their
systems, that would be greatly appreciated.

Best,
Jake

Date2010-06-30 15:48
FromErik Maes
Subject[Csnd] Re: Re: Re: Syntax highlight support for Gedit. Anyone interested?
Very cool! Thanks,

Erik

On 06/30/2010 04:46 AM, Jacob Joaquin wrote:
> This gedit language definition is far from complete, but it'll do the
> trick until I've finished a more complete version:
> http://www.thumbuki.com/csound/files/mailinglist/csd.lang.2010.06.29.zip
> 
> For OS X, and perhaps others systems, install it here:
> ~/.local/share/gtksourceview-2.0/language-specs/
> 
> Best,
> Jake



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-07-01 01:12
FromErik de Castro Lopo
Subject[Csnd] Re: Re: Syntax highlight support for Gedit. Anyone interested?
algodon wrote:

> 
> On my debian system, I put it in
> /usr/share/gtksourceview-2.0/language-specs

>From a system administration point of view, this is a really
bad idea. All directories under /usr (but excluding /usr/local)
are for vendor (in this case Debian) installed files and manually
installing stuff there can interfer with the correct operation
of the package manager.

The other problem with where you have installed it is that this
change is actually your local change and when you move to another
machine (which will happen sooner or later) you will need to 
remember where you put this language spec file for gtksourceview.

The vast majority user local tweaks should go in the users
home directory. I highly recommend using:

     ~/.local/share/gtksourceview-2.0/language-specs/

as Jacob Joaquin suggested. If the directory doesn't already exist,
you should create it in in terminal window using:


    mkdir -p ~/.local/share/gtksourceview-2.0/language-specs

If you put the language spec file there, and you need to move to a
new machine you can simply copy over the whole of your home directory
and you will mantain all your local configuration tweaks.


HTH,
Erik

Date2010-07-01 01:13
FromErik de Castro Lopo
Subject[Csnd] Re: Re: Syntax highlight support for Gedit. Anyone interested?
Jacob Joaquin wrote:

> > On my debian system, I put it in
> > /usr/share/gtksourceview-2.0/language-specs
> 
> Thanks! I'll be sure to put this in the README when I officially
> release it.

Err, no, please don't. See my repsonse to the parent post.

Erik

Date2010-07-01 10:35
Fromalgodon
Subject[Csnd] Re: Re: Syntax highlight support for Gedit. Anyone interested?
What if the computer is shared by several users ? Would you create this
directory for each account ? 

Erik de Castro Lopo-10 wrote:
> 
> algodon wrote:
> 
>> 
>> On my debian system, I put it in
>> /usr/share/gtksourceview-2.0/language-specs
> 
> From a system administration point of view, this is a really
> bad idea. All directories under /usr (but excluding /usr/local)
> are for vendor (in this case Debian) installed files and manually
> installing stuff there can interfer with the correct operation
> of the package manager.
> 
> The other problem with where you have installed it is that this
> change is actually your local change and when you move to another
> machine (which will happen sooner or later) you will need to 
> remember where you put this language spec file for gtksourceview.
> 
> The vast majority user local tweaks should go in the users
> home directory. I highly recommend using:
> 
>      ~/.local/share/gtksourceview-2.0/language-specs/
> 
> as Jacob Joaquin suggested. If the directory doesn't already exist,
> you should create it in in terminal window using:
> 
> 
>     mkdir -p ~/.local/share/gtksourceview-2.0/language-specs
> 
> If you put the language spec file there, and you need to move to a
> new machine you can simply copy over the whole of your home directory
> and you will mantain all your local configuration tweaks.
> 
> 
> HTH,
> Erik
> -- 
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 
> 


-----
http://www.myspace.com/algodonciego

Date2010-07-01 11:23
FromErik de Castro Lopo
Subject[Csnd] Re: Re: Re: Syntax highlight support for Gedit. Anyone interested?
algodon wrote:

> What if the computer is shared by several users ? Would you create this
> directory for each account ? 

Creating it for each account is one possibility.

Another possibility is putting the file in:

    /usr/local/share/gtksourceview-2.0/language-specs/

If gedit doesn't pick it up in /usr/local/ then I would suggest that
each user create a symbolic link from the file in their home directory
to the file in the /usr/local/ directory.

HTH,
Erik