Hi Federico!
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
in scm/editor.scm you find
(define editor-command-template-alist
'(("emacs" . "emacsclient --no-wait +%(line)s:%(column)s %(file)s || (emacs
+%(line)s:%(column)s %(file)s&)")
("gvim" . "gvim --remote +:%(line)s:norm%(column)s %(file)s")
("uedit32" . "uedit32 %(file)s -l%(line)s -c%(char)s")
("nedit" . "nc -noask +%(line)s %(file)s")
("gedit" . "gedit +%(line)s %(file)s")
("jedit" . "jedit -reuseview %(file)s +line:%(line)s")
("syn" . "syn -line %(line)s -col %(char)s %(file)s")
("lilypad" . "lilypad +%(line)s:%(char)s %(file)s")))
Change the gedit entry to
("gedit" . "gedit +%(line)s:%(column)s %(file)s")
Knut
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond