GNU bug report logs - #28286
sh-script package has incorrect syntax highlighting when shell type is set to rpm

Previous Next

Package: emacs;

Reported by: Andrew Toskin <andrew.toskin <at> gmail.com>

Date: Wed, 30 Aug 2017 03:35:01 UTC

Severity: minor

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 28286 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 28286 <at> debbugs.gnu.org, Andrew Toskin <andrew.toskin <at> gmail.com>
Subject: Re: bug#28286: sh-script package has incorrect syntax highlighting
 when shell type is set to rpm
Date: Mon, 05 Jul 2021 11:46:34 +0200
>>>>> On Sun, 04 Jul 2021 16:48:54 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Andrew Toskin <andrew.toskin <at> 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.

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

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

Thereʼs a spec file here, but I canʼt get it to do what the OP
describes:

https://src.fedoraproject.org/rpms/emacs/raw/rawhide/f/emacs.spec

Robert
-- 




This bug report was last modified 3 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.