]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/main.cc (main, main_prog): Bugfix: move exit-upon-files
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 18 Aug 2002 09:28:20 +0000 (09:28 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 18 Aug 2002 09:28:20 +0000 (09:28 +0000)
back, until after evaluating init_scheme_code.

* scm/translator-property-description.scm (breakAlignOrder): Doco fix.

ChangeLog
lily/auto-beam-engraver.cc
lily/main.cc
lily/scm-option.cc
ly/engraver-init.ly
scm/translator-property-description.scm

index 7b003ff7ab70610353b13b0c49464a744ff1fd61..3b1f4758eb341b593ab207a79ee3aecb3aec525b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2002-08-18  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * lily/main.cc (main, main_prog): Bugfix: move exit-upon-files
+       back, until after evaluating init_scheme_code.
+
+       * scm/translator-property-description.scm (breakAlignOrder): Doco fix.
+
        * Documentation/user/lilypond-book.itely: Remove @cindex
        without argument.
 
index 35706dde6b9955e2eda82442ffa85be266fa236e..bce4eac95687ba275dcee37e064f11bd02341b0b 100644 (file)
@@ -488,7 +488,8 @@ Auto_beam_engraver::process_acknowledged_grobs ()
         auto-beam-engraver.cc:459: warning: value computed is not used (gcc: 2.96) */
   count_ = count_ + 1;
 }
-ENTER_DESCRIPTION(Auto_beam_engraver,
+
+ENTER_DESCRIPTION (Auto_beam_engraver,
 /* descr */       "Generate beams based on measure characteristics and observed
 Stems.  Uses beatLength, measureLength and measurePosition to decide
 when to start and stop a beam.  Overriding beaming is done through
index 6bf6435889e78bebfa17a9c3f3263761322ca502..9fee2c5c5e35d7c8bc83da709565de9bf78b021c 100644 (file)
@@ -352,7 +352,16 @@ main_prog (void *, int, char **)
   
   int p=0;
   const char *arg  = oparser_p_static->get_next_arg ();
-  
+
+  /* Only exit until after running init_scheme_code, for
+     (set-lily-option 'help) */
+  if (!arg)
+    {
+      usage ();
+      /* No FILE arguments is now a usage error */
+      exit (2);
+    }
+
   do
     {
       String infile (arg);
@@ -505,14 +514,6 @@ main (int argc, char **argv)
       exit (0);
     }
 
-
-  if (!oparser_p_static->current_arg () )
-    {
-      usage ();
-      /* No FILE arguments is now a usage error */
-      exit (2);
-    }
-
   scm_boot_guile (argc, argv, (void (*) (void*, int, char**))main_prog, 0);
 
   return 0;                    // unreachable
index ab4e73f1cacdfc760f592efb484cc897567e5b4b..9c484e3d9dc6dcb1e2923e75805ab74f03cb6bd4 100644 (file)
@@ -38,17 +38,13 @@ int testing_level_global;
  */
 bool internal_type_checking_global_b;
 
-/*
-
-add these as well:
+/* Add these as well:
 
 @item -T,--no-timestamps
 don't timestamp the output
 
 @item -t,--test
-Switch on any experimental features.  Not for general public use.
-
- */
+Switch on any experimental features.  Not for general public use. */
 
 LY_DEFINE(set_lily_option,"set-lily-option", 2, 0, 0,  (SCM var, SCM val),
          "Set a global option for the program. Supported options  include
@@ -67,10 +63,8 @@ This function is useful to call from the command line: @code{lilypond -e
 \"(set-lily-option 'midi-debug #t)\"}.
 ")
 {
-  /*
-    Scheme option usage:
-    lilypond -e "(set-lily-option 'help 0)"
-   */
+  /* Scheme option usage:
+    lilypond -e "(set-lily-option 'help 0)" */
   if (var == ly_symbol2scm ("help"))
     {
       printf ( _("lilypond -e EXPR means
index 61f79362afc015dcc6fc4d371d0ab4b981bedac2..8a768447923bd0e4f6f5964aa68c13bbe1202bb6 100644 (file)
@@ -65,7 +65,7 @@ StaffContainerContext = \translator {
 InnerChoirStaffContext = \translator {
        \type "Engraver_group_engraver"
        \name InnerChoirStaff
-       alignmentReference = #0
+       %% alignmentReference = #0 FIXME
        \consists "System_start_delimiter_engraver"
        systemStartDelimiter = #'SystemStartBracket
        localKeySignature = #'()
index 1e0a16018da410a1ba2a21ad1748710318881cbb..7cd0c0f7b82ed2de11d73c9164ac699bd3793805 100644 (file)
@@ -135,12 +135,12 @@ key signatures after the bar lines:
 
 @example
        \\property Score.breakAlignOrder = #'(
-         Span_bar
-         Breathing_sign
-         Clef_item
-         Staff_bar
-         Key_item
-         Time_signature
+         span-bar
+         breathing-sign
+         clef
+         staff-bar
+         key
+         time-signature
        )
 @end example
 ")