On a long file, LilyPond-mode keeps spuriously narrowing. I tracked this
down to line 502 of lilypond-indent.el: the paren-matching code calls
narrow-to-region, but never calls widen again.

I'm afraid my Elisp and current attention span (I'm not using LilyPond at
the moment) isn't up to working out where to put the call to widen (which
I'm pretty certain is all that's required), but hopefully someone can do
that.

For others who can't read elisp or don't have time, the workaround is
either to comment out lines 502-505 inclusive of lilypond-indent.el, or to
set blink-matching-paren-distance to nil; in either case, the narrowing
will then never happen.

-- 
http://rrt.sc3d.org/ | Si hoc legere scis nimium eruditionis habes (Anon)


_______________________________________________
Bug-lilypond mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to