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: Andrew Toskin <summerfallsaway <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
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 23:51:13 -0700
[Message part 1 (text/plain, inline)]
On Wed, 2017-08-30 at 16:30 -0400, Glenn Morris wrote:

> 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.


Sure, but if sh-script mode is going to support the syntax at all, it
should at least be correct, right? When the spec file's %description
section has an odd number of apostrophes, the "string" highlight gobbles up
the rest of the file unless or until it meets another apostrophe somewhere.
[Message part 2 (text/html, inline)]

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.