[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: point-and-click to "other" editors

From: Federico Bruni
Subject: Re: point-and-click to "other" editors
Date: Wed, 20 Jun 2018 07:24:10 +0200

Il giorno gio 14 giu 2018 alle 6:52, Federico Bruni <address@hidden> 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:


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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]