From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Toskin Newsgroups: gmane.emacs.bugs Subject: bug#28286: sh-script package has incorrect syntax highlighting when shell type is set to rpm Date: Tue, 29 Aug 2017 20:33:42 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c05f6baf7d3600557f032ba" X-Trace: blaine.gmane.org 1504064215 9757 195.159.176.226 (30 Aug 2017 03:36:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 03:36:55 +0000 (UTC) To: 28286@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 05:36:50 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmtnv-0001K4-7X for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 05:36:35 +0200 Original-Received: from localhost ([::1]:47950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmtnx-0001pv-1u for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Aug 2017 23:36:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmtmR-0000lz-1R for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmtmQ-0002tY-4J for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:35:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52631) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmtmQ-0002tN-0G for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmtmP-0005L4-QN for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Toskin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2017 03:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: GNU Emacs Bug Tracker Original-Received: via spool by submit@debbugs.gnu.org id=B.150406405420461 (code B ref -1); Wed, 30 Aug 2017 03:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2017 03:34:14 +0000 Original-Received: from localhost ([127.0.0.1]:33079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmtle-0005Jx-Dg for submit@debbugs.gnu.org; Tue, 29 Aug 2017 23:34:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmtlc-0005Jj-N8 for submit@debbugs.gnu.org; Tue, 29 Aug 2017 23:34:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmtlW-0002KQ-Aq for submit@debbugs.gnu.org; Tue, 29 Aug 2017 23:34:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmtlW-0002KB-6z for submit@debbugs.gnu.org; Tue, 29 Aug 2017 23:34:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmtlU-0000ET-QI for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:34:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmtlT-0002IF-OH for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:34:04 -0400 Original-Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]:37430) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmtlT-0002Ho-Gj for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 23:34:03 -0400 Original-Received: by mail-it0-x231.google.com with SMTP id p2so2072908ite.0 for ; Tue, 29 Aug 2017 20:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=vzno6tntzIqRSJiZ28NvgC2OOYZmh2oChJ+mPgrf+fA=; b=IhJlsMnhX5v3q2WjpNB5Gcn0fFHUT5DAKJ986vGKY+gKHYowmRHMT4DhvxXDCp9Ue1 y1+CUn2YKDvydO7LhdvLLbS5I9vYppw2D7+7TBF4l0BaqUE44MCg2RcIE32qfZ2PVO9m c/ZBaVIBtpSE3eMD0sQB5/ubQ/TCWfhJXCDARE+/m96MSpgsZjXXzPtMGTPrUieDPUco aj91fp5nm3b+Mdm6VEV01CtD7tM4f4trbyRQ1GKm5WsJgPLCGLnMTpRWpy35DHjy7uo+ P3YumYk5d375nYH8kYTGRK9Q70Qi/pcYv9oRjUPZTYu6dfVjnxHWaw8ycauasU9GwL1V JYVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=vzno6tntzIqRSJiZ28NvgC2OOYZmh2oChJ+mPgrf+fA=; b=kJqV+2UadiRNQ7qALVXcan6CM36S+w886gNT4P7KVMDrlfUwL5wAEnqqph3wbDcZGD rHOZtxLZvbql2jf6ELs7TYSAc4zZrNkMFR9FiBUaoc36famONjFV03CwqMvExZ5Sjy5I sNxRR2dCBauhLeMvB1eYT7cDeDim0EXMcVnf4cyKgs/RAzBbBEDJJdkI5GwRY0NlVnyk pNx+4HKche+E409NAmsfnDu4A0MX7erVo5Pz1svKpzMldkgKpq5zyTNx1D6HE843eh7X LGOB7LQtQL5vDXgxjS2SofuuqGNj2cqHIRiYr+hAhCnBpPT8X5AtamswcekYm4p6pO9l UXYw== X-Gm-Message-State: AHYfb5jmWLKBLsj7Xdq0py6hh47oLWrQd6Plvuwz7pGAUGuz5oHXdOQr 1e6O/EAgBlebNM4tzUQsR6gnoa+1U1nnHP0= X-Received: by 10.36.222.130 with SMTP id d124mr161254itg.11.1504064042416; Tue, 29 Aug 2017 20:34:02 -0700 (PDT) Original-Received: by 10.79.149.3 with HTTP; Tue, 29 Aug 2017 20:33:42 -0700 (PDT) X-Google-Sender-Auth: ZUcznsA1xcvyURbnijd5sWlNT5I X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136368 Archived-At: --94eb2c05f6baf7d3600557f032ba Content-Type: text/plain; charset="UTF-8" * 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 --94eb2c05f6baf7d3600557f032ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
* Find an RPM spec file, such as this = one for the RPM package of Emacs:
* Ope= n 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 a= s if they begin a quoted string.

%description blocks only contain plain text descr= iptions of the RPM package, and last until the following %macro; there should be no syntax hig= hlighting between the two macros. Or if there were, everything inside the d= escription 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. S= o, the sh-script 2.0.6 package is built in.

~ Andre= w
--94eb2c05f6baf7d3600557f032ba--