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: Wed, 30 Aug 2017 23:51:13 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0eeeb033a66005580713cb" X-Trace: blaine.gmane.org 1504192293 30971 195.159.176.226 (31 Aug 2017 15:11:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 15:11:33 +0000 (UTC) Cc: 28286@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 31 17:11:29 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 1dnR7p-0007LQ-5d for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 17:11:21 +0200 Original-Received: from localhost ([::1]:56258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnR7s-0002bb-Ql for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 11:11:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnR7g-0002XK-2p for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 11:11:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnR7W-0003It-Nq for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 11:11:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnR7W-0003Im-JK for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 11:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dnR7W-0005Qe-As for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 11:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Toskin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Aug 2017 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28286-submit@debbugs.gnu.org id=B28286.150419224520843 (code B ref 28286); Thu, 31 Aug 2017 15:11:02 +0000 Original-Received: (at 28286) by debbugs.gnu.org; 31 Aug 2017 15:10:45 +0000 Original-Received: from localhost ([127.0.0.1]:37707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnR7E-0005Q7-N8 for submit@debbugs.gnu.org; Thu, 31 Aug 2017 11:10:44 -0400 Original-Received: from mail-io0-f174.google.com ([209.85.223.174]:35865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnJKF-0002Zn-Gk for 28286@debbugs.gnu.org; Thu, 31 Aug 2017 02:51:40 -0400 Original-Received: by mail-io0-f174.google.com with SMTP id f99so9125407ioi.3 for <28286@debbugs.gnu.org>; Wed, 30 Aug 2017 23:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JqYt1IwWIlA9LqAM+BHCFAr1nG7Kr4y0j26oH4lkbIU=; b=fUYB+jSnHTNMyhmKH7LbeWI+2OyBErYMBAk3dcgqx8VbPYYQLTH0bmRZOtoXpmJnhS WqGo3pGiT0G5MmjP7xYQ49KPgwCfbSktQPpSZwG31aYtnVlWzgw2H4GzJJKA1EnUrxVW wt9SJlNtz9lJbJLg+xWE8xO5eka07FUli1ORPf89KUcbg4yGtG6chGfi3fsjqqJo3lLX IVPHa2UD7PIhIg4RmIIRrWSfjlMlaP0Mrus0ho5P2VtWcxI9Kb3baMi215W3BPoqiOdq Yc1nIrkV2+sAmIEI1+6FSWBq3Zccz8YwT7knPhLEQLrt2/igV9vBke8AnmpW+Qgww1tC U3WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JqYt1IwWIlA9LqAM+BHCFAr1nG7Kr4y0j26oH4lkbIU=; b=Z6YP5vEINGFyqaRfrE/enTZ5M96nAmZhzVJt7oi2fN0XBpVmqPP6JB2x0oTeyWUyIh DFDLWVGmzXbFwChFp6ggq6PEqMSb1S28YSBaE4CBUAhXuGIrqjgMf5ccOkVDWvulKhgy EW/U5svQlo8ZVp7ECMthevW5HoGshlxG30jqEY6xfayeJ15445NZi3YXhf83A6iGW990 Z2K5/HNQ3/zHnyBl4MqJotqxHMOk4rHdY0RajnUWo+vtcxDv8H8RLizkw7KoBxMls0BU YqxLRLc+qk6dg460dXhIKAMVtAEEMf34rGE5HfctewtGcV/K7MOnazEo4zkgLFza7OgS 5VDw== X-Gm-Message-State: AHYfb5jY2Cd2w3f2g+k7quT6Ek8km4rO8NBn5P5ObJHqVaqsjCjjCqcw a5OjJA/+f44elHBZWt3AHPvP1e81BA== X-Received: by 10.36.148.83 with SMTP id j80mr4241402ite.183.1504162293719; Wed, 30 Aug 2017 23:51:33 -0700 (PDT) Original-Received: by 10.79.149.3 with HTTP; Wed, 30 Aug 2017 23:51:13 -0700 (PDT) In-Reply-To: X-Mailman-Approved-At: Thu, 31 Aug 2017 11:10:43 -0400 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:136407 Archived-At: --94eb2c0eeeb033a66005580713cb Content-Type: text/plain; charset="UTF-8" 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. --94eb2c0eeeb033a66005580713cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 2017-08-30 at 16:30 -0= 400, Glenn Morris wrote:
> sh-script.e= l'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 s= yntax at all, it should at least be correct, right? When the spec file'= s %description section has an odd number of apostrophes, the "string&q= uot; highlight gobbles up the rest of the file unless or until it meets ano= ther apostrophe somewhere.

<= /div>
--94eb2c0eeeb033a66005580713cb--