On Sat, Apr 25, 2020 at 8:20 PM David Wright <[email protected]> wrote:
> On Sat 25 Apr 2020 at 19:40:47 (-0400), Freeman Gilmore wrote: > > Is there an app that can search inside LilyPond? > > > > For example in makam.ly there is: \override > KeySignature.glyph-name-alist = > > \makamGlyphs . > > > > I would like to find where, \makamGlyphs, is defined. > > $ grep -r makamGlyphs lilypond-2.21.0-1.linux-64/ > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/makam.ly:makamGlyphs > = #`((1 . "accidentals.doublesharp") > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/makam.ly: > \override KeySignature.glyph-name-alist = \makamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/makam.ly: > \override Accidental.glyph-name-alist = \makamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/makam.ly: > \override AccidentalCautionary.glyph-name-alist = \makamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/makam.ly: > \override TrillPitchAccidental.glyph-name-alist = \makamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/makam.ly: > \override AmbitusAccidental.glyph-name-alist = \makamGlyphs > > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/hel-arabic.ly:HelmakamGlyphs > = #'( > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/ > hel-arabic.ly: \override KeySignature #'glyph-name-alist = > \HelmakamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/ > hel-arabic.ly: \override Accidental #'glyph-name-alist = > \HelmakamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/ > hel-arabic.ly: \override AccidentalCautionary #'glyph-name-alist = > \HelmakamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/ > hel-arabic.ly: \override TrillPitchAccidental #'glyph-name-alist = > \HelmakamGlyphs > lilypond-2.21.0-1.linux-64/lilypond/usr/share/lilypond/current/ly/ > hel-arabic.ly: \override AmbitusAccidental #'glyph-name-alist = > \HelmakamGlyphs > $ > > (best piped into less) or > > $ less $(grep -r -l 'makamGlyphs' lilypond-2.21.0-1.linux-64/) > $ > > which will open a set of matching files in less. > This is probably what i am looking for, i use windows. $ less $(grep -r -l 'makamGlyphs' lilypond-2.21.0-1.linux-64/) $ Help! Thank you, ƒg > > Cheers, > David. >
