Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(528)

Issue 331820043: Allow quoted strings as Scheme arguments to markup commands (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 6 months ago by dak
Modified:
6 years, 5 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Allow quoted strings as Scheme arguments to markup commands After issue 5113, quoted strings and non-quoted strings are distinguished in the lexer. This makes it feasible for Scheme-type arguments of markup commands to accept quoted strings. Unquoted strings (token SYMBOL in the lexer) remain out of consideration since it would be hard to explain why 0.0 is acceptable as a string? argument but not as number? : in markup mode, most character sequences end up as "SYMBOL" by default in order to allow typesetting of text blocks. Also contains commit: Add convert-ly rule for markup command arg #" -> "

Patch Set 1 #

Patch Set 2 : (Re-)run scripts/auxiliar/update-with-convert-ly.sh #

Total comments: 2

Patch Set 3 : Additional convert-ly rules #

Total comments: 2

Patch Set 4 : Run makelsr.py for fixing a few \version statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+657 lines, -647 lines) Patch
M Documentation/ca/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/de/notation/ancient.itely View 1 6 chunks +22 lines, -22 lines 0 comments Download
M Documentation/de/notation/changing-defaults.itely View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/de/notation/fretted-strings.itely View 1 13 chunks +21 lines, -21 lines 0 comments Download
M Documentation/de/notation/input.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/de/notation/keyboards.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/de/notation/notation-appendices.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/de/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/de/notation/text.itely View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M Documentation/de/notation/vocal.itely View 1 2 7 chunks +9 lines, -9 lines 0 comments Download
M Documentation/es/notation/ancient.itely View 1 6 chunks +22 lines, -22 lines 0 comments Download
M Documentation/es/notation/changing-defaults.itely View 1 4 chunks +4 lines, -4 lines 0 comments Download
M Documentation/es/notation/editorial.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/es/notation/fretted-strings.itely View 1 14 chunks +22 lines, -22 lines 0 comments Download
M Documentation/es/notation/keyboards.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/es/notation/notation-appendices.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/es/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/es/notation/text.itely View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M Documentation/es/notation/vocal.itely View 1 2 7 chunks +9 lines, -9 lines 0 comments Download
M Documentation/fr/notation/ancient.itely View 1 6 chunks +22 lines, -22 lines 0 comments Download
M Documentation/fr/notation/changing-defaults.itely View 1 4 chunks +4 lines, -4 lines 0 comments Download
M Documentation/fr/notation/editorial.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/fr/notation/fretted-strings.itely View 1 14 chunks +22 lines, -22 lines 0 comments Download
M Documentation/fr/notation/keyboards.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/fr/notation/notation-appendices.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/fr/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/fr/notation/text.itely View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M Documentation/fr/notation/vocal.itely View 1 2 7 chunks +9 lines, -9 lines 0 comments Download
M Documentation/it/notation/changing-defaults.itely View 1 4 chunks +4 lines, -4 lines 0 comments Download
M Documentation/it/notation/editorial.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/it/notation/notation-appendices.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/it/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/it/notation/text.itely View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M Documentation/it/notation/vocal.itely View 1 2 7 chunks +9 lines, -9 lines 0 comments Download
M Documentation/ja/notation/changing-defaults.itely View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ja/notation/editorial.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/ja/notation/fretted-strings.itely View 1 13 chunks +21 lines, -21 lines 0 comments Download
M Documentation/ja/notation/input.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/ja/notation/keyboards.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ja/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/ja/notation/text.itely View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M Documentation/ja/notation/vocal.itely View 1 2 7 chunks +9 lines, -9 lines 0 comments Download
M Documentation/ly-examples/Stockhausen_Klavierstueck2.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ly-examples/bach-bwv610.ly View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Documentation/ly-examples/orchestra.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/notation/ancient.itely View 1 6 chunks +22 lines, -22 lines 0 comments Download
M Documentation/notation/changing-defaults.itely View 1 4 chunks +4 lines, -4 lines 0 comments Download
M Documentation/notation/editorial.itely View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/notation/fretted-strings.itely View 1 14 chunks +22 lines, -22 lines 0 comments Download
M Documentation/notation/keyboards.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/notation/notation-appendices.itely View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/notation/rhythms.itely View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/notation/text.itely View 1 2 6 chunks +13 lines, -13 lines 0 comments Download
M Documentation/notation/vocal.itely View 1 2 7 chunks +9 lines, -9 lines 0 comments Download
M Documentation/snippets/accordion-discant-symbols.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/anglican-psalm-template.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/breathing-signs.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/snippets/caesura-railtracks-with-fermata.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/changing-the-breath-mark-symbol.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/creating-custom-key-signatures.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/customizing-markup-fret-diagrams.ly View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/embedding-native-postscript-in-a--markup-block.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/snippets/fingering-symbols-for-wind-instruments.ly View 1 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/snippets/fret-diagrams-explained-and-developed.ly View 1 9 chunks +9 lines, -9 lines 0 comments Download
M Documentation/snippets/how-to-change-fret-diagram-position.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/snippets/inserting-a-caesura.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/new/unfretted-headword.ly View 1 2 chunks +7 lines, -7 lines 0 comments Download
M Documentation/snippets/percussion-beaters.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/positioning-segno-and-coda-with-line-break.ly View 1 5 chunks +8 lines, -8 lines 0 comments Download
M Documentation/snippets/simultaneous-headword.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/unfretted-headword.ly View 1 3 2 chunks +8 lines, -8 lines 0 comments Download
M Documentation/snippets/using-a-tick-as-the-breath-mark-symbol.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/balloon.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/figured-bass.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/fret-boards.ly View 1 1 chunk +2 lines, -2 lines 0 comments Download
M input/regression/fret-diagrams-landscape.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/fret-diagrams-opposing-landscape.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/fret-diagrams-string-frets.ly View 1 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/fret-diagrams-xo-label.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/harp-pedals.ly View 1 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/harp-pedals-sanity-checks.ly View 1 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/harp-pedals-tweaking.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/markup-first-visible.ly View 1 3 chunks +5 lines, -5 lines 0 comments Download
M input/regression/markup-music-glyph.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/markup-scheme.ly View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/markup-syntax.ly View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/markup-word-wrap.ly View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/palm-mute.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/rehearsal-mark-number.ly View 1 1 chunk +2 lines, -2 lines 0 comments Download
M lily/parser.yy View 1 chunk +3 lines, -0 lines 0 comments Download
M ly/bagpipe.ly View 1 2 chunks +4 lines, -4 lines 0 comments Download
M ly/script-init.ly View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ly/titling-init.ly View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M python/convertrules.py View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M scm/accreg.scm View 1 2 6 chunks +78 lines, -78 lines 0 comments Download

Messages

Total messages: 11
dak
(Re-)run scripts/auxiliar/update-with-convert-ly.sh
6 years, 6 months ago (2017-10-05 11:17:14 UTC) #1
Malte Meyn
https://codereview.appspot.com/331820043/diff/20001/python/convertrules.py File python/convertrules.py (right): https://codereview.appspot.com/331820043/diff/20001/python/convertrules.py#newcode3963 python/convertrules.py:3963: str = re.sub (r'(\\(?:justify-string|musicglyph|harp-pedal|simple|postscript' Isn’t this list of markup ...
6 years, 6 months ago (2017-10-06 21:37:48 UTC) #2
dak
https://codereview.appspot.com/331820043/diff/20001/python/convertrules.py File python/convertrules.py (right): https://codereview.appspot.com/331820043/diff/20001/python/convertrules.py#newcode3963 python/convertrules.py:3963: str = re.sub (r'(\\(?:justify-string|musicglyph|harp-pedal|simple|postscript' On 2017/10/06 21:37:47, Malte Meyn ...
6 years, 6 months ago (2017-10-06 22:00:07 UTC) #3
Malte Meyn
On 2017/10/06 22:00:07, dak wrote: > > What > > about wordwrap-string, eps-file, with-url, lookup, ...
6 years, 6 months ago (2017-10-06 22:14:27 UTC) #4
thomasmorley651
On 2017/10/06 22:00:07, dak wrote: > https://codereview.appspot.com/331820043/diff/20001/python/convertrules.py > File python/convertrules.py (right): > > https://codereview.appspot.com/331820043/diff/20001/python/convertrules.py#newcode3963 > ...
6 years, 6 months ago (2017-10-06 22:28:38 UTC) #5
dak
On 2017/10/06 22:28:38, thomasmorley651 wrote: > One could probably do something at the lines of: ...
6 years, 6 months ago (2017-10-07 08:05:20 UTC) #6
dak
Additional convert-ly rules
6 years, 6 months ago (2017-10-07 08:52:45 UTC) #7
Malte Meyn
https://codereview.appspot.com/331820043/diff/40001/Documentation/snippets/three-sided-box.ly File Documentation/snippets/three-sided-box.ly (right): https://codereview.appspot.com/331820043/diff/40001/Documentation/snippets/three-sided-box.ly#newcode7 Documentation/snippets/three-sided-box.ly:7: %% Note: this file works from version 2.18.0 I ...
6 years, 6 months ago (2017-10-07 10:11:58 UTC) #8
dak
https://codereview.appspot.com/331820043/diff/40001/Documentation/snippets/three-sided-box.ly File Documentation/snippets/three-sided-box.ly (right): https://codereview.appspot.com/331820043/diff/40001/Documentation/snippets/three-sided-box.ly#newcode7 Documentation/snippets/three-sided-box.ly:7: %% Note: this file works from version 2.18.0 On ...
6 years, 6 months ago (2017-10-07 10:47:21 UTC) #9
dak
Run makelsr.py for fixing a few \version statements
6 years, 6 months ago (2017-10-07 10:48:14 UTC) #10
dak
6 years, 6 months ago (2017-10-07 10:49:56 UTC) #11
On 2017/10/07 10:48:14, dak wrote:
> Run makelsr.py for fixing a few \version statements

Oops.  Actually I also fixed up the docs in scm/accreg.scm .
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b