[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden Lilypond Comments!
From: |
svoboda |
Subject: |
Re: address@hidden Lilypond Comments! |
Date: |
09 Jul 2004 11:07:12 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Heikki Johannes Junes <address@hidden> writes:
> On Thu, 08 Jul 2004 18:05:03 -0400 address@hidden wrote:
>
> > I have taken your suggestions, and am sending you a patch which adds
> > the what-beat command (renamed to LilyPond-what-beat) to LilyPond-mode
> > in Emacs. I have made sure it handles the examples in the tutorial,
> > and have documented the few cases it fails (see the comments at the
> > top of lilypond-what-beat.el).
>
> It worked nicely. As I anticipated, one may use an introductory '|' to start
> with:
>
> { | c1 | c4 c4 ... }
Yes...that's one of the caveats...what-beat won't work if you don't
precede notes with a |
> > Let me know if you have any problems with it.
>
> What about recognizing also \bar "|" commands and its variants \bar "||" etc.
> as
> a starting point of calculating (or simply \bar) ?
Hmmmm. I just tried, and what-beat should ignore \bar. But when I call
what-beat when a \bar command is visible (eg between the last unquoted
| and point), I get a useless 'end of buffer' message instead of a
beat count.
I'll fix \bar if you want, but offhand I'm inclined not to. It's easy
to add | before or after \bar "|", for when you want measures counted
before/after \bar. In other words, yes its a bug, but there's an easy
workaround, and fixing the bug would be for the sake of completeness,
rather than adding functionality.
> And please include ChangeLog entry, next iteration may be already fine.
>
> --
> Heikki Junes
>
Here is a suitable changelog entry:
-----
Index: ChangeLog
===================================================================
RCS file: /cvsroot/lilypond/lilypond/ChangeLog,v
retrieving revision 1.2328
diff -u -r1.2328 ChangeLog
--- ChangeLog 9 Jul 2004 11:06:28 -0000 1.2328
+++ ChangeLog 9 Jul 2004 14:56:10 -0000
@@ -1,3 +1,8 @@
+2004-07-09 David Svoboda <address@hidden>
+
+ * elisp/lilypond-what-bet.el: Added LilyPond-what-beat function to
+ count beats between last measure stop | and point in emacs.
+
2004-07-09 Han-Wen Nienhuys <address@hidden>
* scm/beam.scm (check-slope-callbacks): check sign of slope.