I've now found this in scm/editor.scm
(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")))
So this should be sufficient:
LYEDITOR=gedit
But it doesn't work, as it always jump to the first line of music, no
matter what you click on PDF. And it launches a new gedit window
every time you click on the PDF.
Also, it should be rewritten to specify the column as well:
("gedit" . "gedit +%(line)s:%(column)s %(file)s")