Hi Tanguy, thank you so much for the info. I've been looking for a lightweight editor for some time (I'm currently using Gedit and the embedded terminal, but Geany seems better and promising).
I've tried to set it up but it's not working. I've downloaded the svn version: aptitude install subversion svn co https://geany.svn.sourceforge.net/svnroot/geany/trunk geany cd geany ./autogen.sh make sudo make install Fine so far. Then I launched Geany and opened Tool>>Configuration files>>filetype_extensions.conf I've added the line: LilyPond=*.ly; and saved in ~/.config/geany/filetype_extensions.conf Then I created the file ~/.config/geany/filedefs/filetypes.lilypond (see the attached file, very basic... if you want to share your file I'd be curious) I've closed and launched again Geany, but there is not any new filetype in Document>>Set filetype>>Custom filetypes And if I open a .ly file Geany does not understand it's a LilyPond file. I'm surely missing something. Can you help me? Thanks, Federico On Sun, 2010-05-30 at 18:19 +0200, Tanguy Léost wrote: > Hello, > > just in case someone might be interested: > > I just compiled the SVN version of geany (0.19). > Geany now supports the creation of custom filetypes, so > I created one for lilypond. > It supports syntax highlighting, and one can define commands > to invoke lilypond and a pdf viewer from the editor. > > I worked a bit with it, and I think it is a > decent alternative to emacs or jedit, especially > for those who are looking for a lightweight editor. > > Tanguy >
[styling] comment=0x808080;0xffffff;false;true [settings] # default extension used when saving files extension=ly # block comments comment_open=%{ comment_close=%} comment_use_indent=false [build_settings] # %f will be replaced by the complete filename # %e will be replaced by the filename without extension # (use only one of it at one time) compiler=lilypond "%f" # it is called linker, but here it is an alternative compiler command # linker=pdflatex --file-line-error-style "%f" run_cmd=epdfview "%e.pdf" run_cmd2=timidity "%e.midi"
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user