all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28286: sh-script package has incorrect syntax highlighting when shell type is set to rpm
@ 2017-08-30  3:33 Andrew Toskin
  2017-08-30 20:30 ` Glenn Morris
  2021-07-04 14:48 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Toskin @ 2017-08-30  3:33 UTC (permalink / raw)
  To: 28286

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

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

~ Andrew

[-- Attachment #2: Type: text/html, Size: 1481 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-04 11:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2021-07-05 13:30     ` Lars Ingebrigtsen
2021-07-05 13:32     ` Lars Ingebrigtsen
2021-08-04 11:29       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.