From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs 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 Message-ID: <87fswtccud.fsf@gmail.com> References: <87fswu16eh.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34813"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 28286@debbugs.gnu.org, Andrew Toskin To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 05 11:47:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0LC2-0008on-Cb for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 11:47:10 +0200 Original-Received: from localhost ([::1]:57728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0LC1-0005fN-Bs for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 05:47:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0LBu-0005f1-Bo for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 05:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0LBu-0005hc-4D for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 05:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0LBu-0000z0-1F for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 05:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jul 2021 09:47:01 +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: moreinfo Original-Received: via spool by 28286-submit@debbugs.gnu.org id=B28286.16254784033143 (code B ref 28286); Mon, 05 Jul 2021 09:47:01 +0000 Original-Received: (at 28286) by debbugs.gnu.org; 5 Jul 2021 09:46:43 +0000 Original-Received: from localhost ([127.0.0.1]:44086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0LBb-0000oN-6D for submit@debbugs.gnu.org; Mon, 05 Jul 2021 05:46:43 -0400 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:38839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0LBZ-0000jL-Fo for 28286@debbugs.gnu.org; Mon, 05 Jul 2021 05:46:42 -0400 Original-Received: by mail-wr1-f46.google.com with SMTP id a8so9623265wrp.5 for <28286@debbugs.gnu.org>; Mon, 05 Jul 2021 02:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=qnbsfzFvHxgCScHJ7/B+bGpl8xs10Wr8CVteJ3B9EEM=; b=cMbC6UoBFR5gr2UrCUF8A60ZIWjyV7QkNLoRJk7krtJel8hp4tUeKajoE6Pml1GuK2 kfMDgqHktecmgHIs9KTlBuFiPT7O5Xdg3ttFR+gjov/HvPr2Hsi9hWX77u8P7JD4aOdP gfsoIOKKNyKA/dqMKfQu4sUNaI4Ma3Xq3ZReIReHKreYFsXhbpOYRGIeSzb0nJhN99r/ r5TRQV5lt6Qjybmg4YKdrT7X+zm6ImNM58MjBip64/UDM8BG1YenxlhrLaF2PPiWYkQV Z5IgCzTjalTRddOiIUkbInwnEQ3kGePm2y5tb+zQU4+KtxXpp9JuKZCqjzlK+Y23xBu4 hS/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=qnbsfzFvHxgCScHJ7/B+bGpl8xs10Wr8CVteJ3B9EEM=; b=toJSjWUmJJ6inngWaQQiLLWX0Tnhfbegt8B85spiqrM4qGlYDC7lX6UK923+wh7PVN 02ugRDABmzGP0OtHLO/kNO3k55gWjYgWHOWzgGkOEvkg6nPN6/B+tUrrati9tcFw57PA Q0Xqzap9fyfFfmUQGEP6+065ny+Y9VBg3oFvq/KLFvIEavZ/Wnm/u/XwnwVCvVG33wLb ElVMySbe0GjiC+C7f2mCajIiUBbV3kS7Nb5k9rVJMYPrjkMU5TMYdE/1RDSaaF+3at2x YF8ablTHGgw4Jqxx2Jbz7zFWKhDmbMFo2rIyI1hUkfv0YOVk/xQB6pdJcFE+dIM/Cblk N7KA== X-Gm-Message-State: AOAM533PxF8GDTA0tjJwv8PGOBPcc7maX8szvNMus3tL/2TENak5yNtd G/ugR0IrCBkXErjeIv9tROAWhtjT9Hk= X-Google-Smtp-Source: ABdhPJw5WlUur9QntpILRJsMLQvOo0tytDz9WJ3kbuv2uqIf/Wf+y6RxpV3DQQaJcuHe8H98ZeMetw== X-Received: by 2002:a05:6000:1787:: with SMTP id e7mr14518507wrg.167.1625478395254; Mon, 05 Jul 2021 02:46:35 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id w1sm11629262wmi.13.2021.07.05.02.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 02:46:34 -0700 (PDT) In-Reply-To: <87fswu16eh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 04 Jul 2021 16:48:54 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209442 Archived-At: >>>>> On Sun, 04 Jul 2021 16:48:54 +0200, Lars Ingebrigtsen said: Lars> Andrew Toskin writes: >> * Find an RPM spec file, such as this one for the RPM package of Ema= cs: >> - 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=20 >> * Notice that even in the %description block starting on line 104, a= postrophes (') >> are highlighted as if they begin a quoted string. >>=20 >> %description blocks only contain plain text descriptions of the RPM = package, and >> last until the following %macro; there should be no syntax highlight= ing 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 resp= onse at Lars> the time.) Lars> That URL is no longer valid -- does anybody have a .spec file that Lars> demonstrates the problem? There=CA=BCs a spec file here, but I can=CA=BCt get it to do what the OP describes: https://src.fedoraproject.org/rpms/emacs/raw/rawhide/f/emacs.spec Robert --=20