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: Jean Abou Samra
Subject: Re: etags regex for Lilypond & LY_DEFINE* tags
Date: Sat, 7 May 2022 10:43:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

Le 07/05/2022 à 03:42, John Wheeler a écrit :
Please forgive this second attempt to reply:


Sorry, I received the first one, but dropped the ball.


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?



Yes. I can't speak for other developers regarding their opinion on this,
however, so you may or may not found consensus on its acceptance.



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.


Well, I'm an unsophisticated Emacs user, so I'd appreciate thoughts
from Werner or David.

Another option that you can consider is putting it in a
Git repository somewhere, or on ELPA/MELPA.

Best,
Jean




reply via email to

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