Re: Gvim and lilypond and emacs

2019-02-27 Thread peter
> "Andrew" == Andrew Bernard writes: Andrew> So I decided to go over to vim. I have used vi for decades, Andrew> but the Lilypond doco refers to gvim so I am trying that. Gvim Andrew> is new to me. I followed everything the Lilypond manual says, Andrew> unset everything to do with emacs, as

Re: Gvim and lilypond and emacs

2019-02-24 Thread foxfanfare
Andrew Bernard wrote > I am beginning to think a more extensive section on setting up point and > click is needed in the manual. Perhaps when I comprehend it and deal with > all the matters like 'press ENTER ...' appearing every time I click the > PDF > and so on I could draft something. I'd still

Re: Gvim and lilypond and emacs

2019-02-24 Thread Andrew Bernard
Hi David, Funny, I have been using vi since it was invented by Bill Joy. Quite some time. (!) But I always use emacs, and I have to say I had never heard of gvim before this exercise. So it's a learning exercise for me to come to grips with the vast machinery of gvim. Here's something I found. Jus

Re: Gvim and lilypond and emacs

2019-02-23 Thread David Wright
On Sat 23 Feb 2019 at 20:11:06 (+1100), Andrew Bernard wrote: > Current progress. Perhaps I have hit a bug on Debian 9, hence the bonkers > inducing behaviour. Using EDITOR has no effect. But if I set LYEDITOR to > use gvim, it nearly works. This makes no sense to me. > > Here's what I have for LY

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Only because emacs is failing me in lilypond mode - the initial cause of all this madness. I can't figure that out. Frescobaldi on Debian 9 is taking over ten seconds to position the cursor in a 60 page string quartet, and now emacs is coming up a close second. When the editors are so unresponsive

Re: Gvim and lilypond and emacs

2019-02-23 Thread Federico Bruni
Il giorno sab 23 feb 2019 alle 10:11, Andrew Bernard ha scritto: Current progress. Perhaps I have hit a bug on Debian 9, hence the bonkers inducing behaviour. Using EDITOR has no effect. But if I set LYEDITOR to use gvim, it nearly works. This makes no sense to me. Here's what I have for

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Mysteries untangling. Kevin has been very insightful. It appears lilypond uses emacs if it finds nothing set. I never would have thought of that. Not only does this explain the behaviour, but it explains why I was going nuts as well. Next. GNOME apps like Nautilus start under Xsession, before shel

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
It's more subtle than that. LYEDITOR is heeded but EDITOR is not. I'd wager that's a bug. But the plot thickens now. Running evince from the terminal, it at least tries to use gvim via LYEDITOR. If I run the PDF from Nautilus, the GNOME file viewer, nothing happens. Somehow Nautilus is unable to s

Re: Gvim and lilypond and emacs

2019-02-23 Thread Hans Ã…berg
> On 23 Feb 2019, at 09:49, Kevin Barry wrote: > > Where are you setting EDITOR to gvim? Is it possible that you have set it > somewhere like bashrc or bash_profile that would be picked up by bash, but > maybe not by Gnome? On MacOS, I have in .basrc 'source ~/.profile', because xterm is usi

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Current progress. Perhaps I have hit a bug on Debian 9, hence the bonkers inducing behaviour. Using EDITOR has no effect. But if I set LYEDITOR to use gvim, it nearly works. This makes no sense to me. Here's what I have for LYEDITOR, based on the NR: export LYEDITOR='gvim --remote +:%(line)s:norm

Re: Gvim and lilypond and emacs

2019-02-23 Thread Kevin Barry
Where are you setting EDITOR to gvim? Is it possible that you have set it somewhere like bashrc or bash_profile that would be picked up by bash, but maybe not by Gnome? I can't remember where to modify Gnome's environment so my question may be stupid. ___

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Bonkers. I removed all instances of emacs from the Debian 9 system and purged my .cache directory. Lilypond-invoke-editor still insists on running emacsclient. EDITOR is set to gvim. Gvim is gvim - its not set to an alternate to emacs or anything silly like that. Syslog shows: eb 23 19:36:58 de

Gvim and lilypond and emacs

2019-02-22 Thread Andrew Bernard
Well now I am officially going nuts. I used Frescobaldi for years until it recently slowed down to unacceptably ling editor response times (tens of seconds to position the cursor, in only 20 pages of code). This was discussed on the list. Not yet resolved. Needs work. So I happily moved over to e