Werner LEMBERG <w...@gnu.org> writes: >>> I've noticed in the NR that stuff like `\foo` isn't always coloured >>> as expected (i.e., `\foo` isn't always bold). Attached are two >>> examples from the NR. >>> >>> I wonder whether it makes sense to always embolden stuff starting >>> with `\` (except in a string). This might even include `\1` and >>> friends. >> >> From these examples at least, it would seem to embolden stuff which >> requires an argument (i.e. music functions and markup functions), >> not articulations which don't require a subsequent argument. >> There's a certain logic to that, surely? > > For me, it feels inconsistent – a command starting with `\' should be > marked as such, i.e., printed in bold, regardless whether it has an > argument or not. This is what you see in virtually all environements > that colour/embolden keywords.
Frankly, syntax highlighting that doesn't highlight syntax but merely lexemes does not seem all that helpful to me. -- David Kastrup