From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 28286@debbugs.gnu.org, Andrew Toskin <andrew.toskin@gmail.com>
Subject: 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 [thread overview]
Message-ID: <87fswtccud.fsf@gmail.com> (raw)
In-Reply-To: <87fswu16eh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 04 Jul 2021 16:48:54 +0200")
>>>>> On Sun, 04 Jul 2021 16:48:54 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> 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.
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
--
next prev parent reply other threads:[~2021-07-05 9:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 3:33 bug#28286: sh-script package has incorrect syntax highlighting when shell type is set to rpm Andrew Toskin
2017-08-30 20:30 ` Glenn Morris
2017-08-31 6:51 ` Andrew Toskin
2021-07-04 14:48 ` Lars Ingebrigtsen
2021-07-05 9:46 ` Robert Pluim [this message]
2021-07-05 13:30 ` Lars Ingebrigtsen
2021-07-05 13:32 ` Lars Ingebrigtsen
2021-08-04 11:29 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fswtccud.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=28286@debbugs.gnu.org \
--cc=andrew.toskin@gmail.com \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).