[Top][All Lists]

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

bug#28286: sh-script package has incorrect syntax highlighting when shel

From: Lars Ingebrigtsen
Subject: bug#28286: sh-script package has incorrect syntax highlighting when shell type is set to rpm
Date: Sun, 04 Jul 2021 16:48:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Andrew Toskin <andrew.toskin@gmail.com> writes:

> * Find an RPM spec file, such as this one for the RPM package of Emacs:
>     - https://src.fedoraproject.org/rpms/emacs/raw/master/f/emacs.spec
> * Open it in Emacs without user customizations (emacs --quick emacs.spec)
> * If necessary, set the shell type (C-c :) to rpm 
> * Notice that even in the %description block starting on line 104, 
> apostrophes (')
> are highlighted as if they begin a quoted string.
> %description blocks only contain plain text descriptions of the RPM package, 
> and
> last until the following %macro; there should be no syntax highlighting 
> between
> the two macros. Or if there were, everything inside the description should 
> all be
> the same color, until the next %macro starts.

(I'm going through old bug reports that unfortunately got no response at
the time.)

That URL is no longer valid -- does anybody have a .spec file that
demonstrates the problem?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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