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


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Andrew Toskin <andrew.toskin <at> gmail.com>
Cc: 28286 <at> debbugs.gnu.org
Subject: bug#28286: sh-script package has incorrect syntax highlighting when shell type is set to rpm
Date: Wed, 30 Aug 2017 16:30:15 -0400
Andrew Toskin wrote:

> %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 using Emacs 25.2.1, as packaged on Fedora 26 Workstation x86_64. So,
> the sh-script 2.0.6 package is built in.

sh-script.el's support for RPM spec files is _extremely_ basic.
There is a dedicated rpm-spec-mode.el distributed separately that you
might prefer.




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.