lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etags regex for Lilypond & LY_DEFINE* tags


From: John Wheeler
Subject: Re: etags regex for Lilypond & LY_DEFINE* tags
Date: Fri, 6 May 2022 20:42:35 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

Please forgive this second attempt to reply:

Jean,

On 4/28/22 16:14, Jean Abou Samra wrote:
Is it a large script?
If so, it needs some consideration. If not, can it fit in an @example
somewhere in the CG? That might also make it more visible.

The 'script' consists of a shell script to gather various cross-references,
two support files containing the regex needed to find LilyPond language
cross-references in .ly and .cc files, and a python script to mangle c++
identifiers.  Too large to fit in an example in the CG, I think.

I did create a paragraph for CG 10.4 Finding Functions to describe its use.

By consideration, were you suggesting I submit a merge request and ask
for review and comment?

Is there anyone out there who would use this?

I think anyone who uses Emacs to maintain/create LilyPond system code
would be interested in using it.  Using this script allows Emacs users to
jump directly to function and variable definitions within Emacs, without
having to drop out to the command line to 'git grep' or into Emacs
Dir-mode to 'grep-find' a reference.

As a newbie at LilyPond programming, I found it worth the effort to
have created this and thought that its usefulness would rank near the
Emacs lilypond-mode that is included in the LilyPond source.

I am most grateful for your thoughts.

Thank you,

John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]