On 2022-11-03, Ludovic Courtès wrote: > Vagrant Cascadian skribis: > >> --- a/guix/lint.scm >> +++ b/guix/lint.scm >> @@ -313,7 +313,8 @@ (define (tests-explicitly-enabled?) >> '())) >> >> (define (properly-starts-sentence? s) >> - (string-match "^[(\"'`[:upper:][:digit:]]" s)) >> + (string-match "^[(\"'`[:upper:][:digit:]]" >> + (string-replace-substring s "@code{" ""))) > > An identifier in @code or file name in @file may legitimately start with > a lower-case letter so I don’t think we should try to prevent that. > > However, maybe we could change the regexp above to something that > accepts @ or some other non-letter character at the start? Great suggestion, as it is simpler, easier to read, and actually covers more false positives! Updated patch attached! I think there was only one case fixed by the @code{} check for the synopsis length check, and I don't see any obvious other @*{} checks that would currently improve anything, though it would be ideal to make it more future-proof just in case... though I think my attempt at that would be awfully ugly, help from others would be welcome! That said, I think this resolves 52 false positives with guix lint (~10% of the 536 synopsis/description issues currently). live well, vagrant