Il giorno gio 14 giu 2018 alle 6:52, Federico Bruni <f...@inventati.org> ha scritto:


2. Configure other editors
IIUC, lilypond-invoke editors is set up to work well with emacs, gvim and nedit, in that I can simply write:

LYEDITOR=emacsclient

and this will be translated to:

emacsclient --no-wait +%(line)s:%(column)s %(file)s

Now what if I want to use a different editor?
I did it in the past with Frescobaldi (to get point-and-clcik from an external PDF), but I cannot remember how. I'm now trying gedit, which does support opening a file in a certain point.

I've tried the following but none works:

LYEDITOR=gedit # this will open gedit but not in the desired line:column LYEDITOR=`gedit +%(line)s:%(column)s %(file)s` # this is not correct syntax, as 'source ~/.bashrc' complains


I was using the wrong syntax. I should have wrapped the command in "". I'll add an explicit example in the documentation.

Here's an editor I'm testing now:

export LYEDITOR="geany --line %(line)s --column %(column)s %(file)s"





_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to