From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 22 07:36:18 2017 Received: (at submit) by debbugs.gnu.org; 22 Mar 2017 11:36:18 +0000 Received: from localhost ([127.0.0.1]:38698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqeYs-0004dn-3Y for submit@debbugs.gnu.org; Wed, 22 Mar 2017 07:36:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqcIK-0007ge-Qu for submit@debbugs.gnu.org; Wed, 22 Mar 2017 05:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqcIE-00066B-9y for submit@debbugs.gnu.org; Wed, 22 Mar 2017 05:10:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqcIE-000667-3Z for submit@debbugs.gnu.org; Wed, 22 Mar 2017 05:10:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqcIC-00020Z-Ux for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 05:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqcI8-00065j-VM for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 05:10:56 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::9]:21928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqcI8-00065c-Ll for bug-gnu-emacs@gnu.org; Wed, 22 Mar 2017 05:10:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1490173849; l=1026; s=domk; d=mvath.de; h=Content-Type:MIME-Version:Subject:To:From:Date; bh=Kruo4BuqfYnACEB5d1aNuC/zXe69AZrRzE+HJtxR4qI=; b=MmLX2X5dDR5WQsHG6R+PizxvyBaR+wZDZvLRzFqqQ0KO0sQ0eHUHZF6QED6iVhWGaN OU0AWiZmBvOZ83U7yJA1nfYStezFiyAPzLT6wwr5/JTQPIrQUsPDq93h+SELQbHlbaXN sxQE8BnZxEz8otfXTCfPqg61XIa8ndRf1jEHg= X-RZG-AUTH: :IW0WYUmmW/LXBXEy1oS2GmByExLj9zw/4tEKkyX4yPukPF7l2T7gNKXmVFk= X-RZG-CLASS-ID: mo00 Received: from lounge.imp.fu-berlin.de ([160.45.112.18]) by smtp.strato.de (RZmta 40.1 AUTH) with ESMTPSA id c0b836t2M9AnliY (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Wed, 22 Mar 2017 10:10:49 +0100 (CET) Date: Wed, 22 Mar 2017 10:10:44 +0100 (CET) From: Martin Vath X-X-Sender: vaeth@lounge.imp.fu-berlin.de To: bug-gnu-emacs@gnu.org Subject: 25.2; shell syntax does not know for i do Message-ID: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 22 Mar 2017 07:36:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 1. M-x shell-script-mode 2. Type: " for i do echo 1; done for i; do echo 1; done " Despite both lines are correct full loops according to POSIX and in fact understood by all current shells (see below), this does not correspond to the indentation of emacs and coloring of "do" in the first line. That the first line is indeed valid by POSIX and understood by the shells was discussed recently in the German Usegroup de.comp.os.unix.shell (OT under "Funktion aus find aufrufen"), but you can also check the grammer for "for_clause" in http://pubs.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html noting that it is valid that "linebreak" expands to the empty string. Another hint that this is intentional in POSIX is the explicit mentioning of "do" in Section 2.4 of the above page as the _third_ word in a for command. Tested on GNU Emacs 25.2.1 and GNU Emacs 24.4.1 (Removing further build data, since the issue was reproduced on different machines and distributions before reporting.) From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 22 09:33:49 2017 Received: (at control) by debbugs.gnu.org; 22 Mar 2017 13:33:49 +0000 Received: from localhost ([127.0.0.1]:38800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqgOb-0007Yv-H2 for submit@debbugs.gnu.org; Wed, 22 Mar 2017 09:33:49 -0400 Received: from mail-it0-f51.google.com ([209.85.214.51]:33802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqgOZ-0007Yg-EA for control@debbugs.gnu.org; Wed, 22 Mar 2017 09:33:48 -0400 Received: by mail-it0-f51.google.com with SMTP id y18so5499413itc.1 for ; Wed, 22 Mar 2017 06:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=Z1augWKO5yG29J1WOv1bQXl0y1MRcAq/G6SGmw38MPc=; b=YycqIPXwOXpUpBu4QhW8E/0kUtNB0UPcuyr6NooVZWN08Mqq72Wk+FMCZ/nBj5TeXu CzQJM0ptfnuU8b+Jx7gDBeiF80R3gEppchz0GNxV2BTdrEp8rshkE+iXrkoIw6BT5CXE MZxZ0prRA/vHUE/aOUsDzaBr/ONR1I279X7wR7M0d7Sz6ClbHApjyFBtv8+3UaHxgC4n Q7ALwyON7bAN1+slL/PVHWhn7M/UsnSIQ+7lX41t+8SJGaD8DatxIQjQR6tnDif1X4U+ naf/2f9xJwhqw5qxdgarmaHbLz3K9TAoJkv/TybDBfA87zufcL2qKryFfeI9o8oCD2ON xAiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=Z1augWKO5yG29J1WOv1bQXl0y1MRcAq/G6SGmw38MPc=; b=VfL9NmA920lM/eaURDkrI7kZlB3AqcJiXZekfNuXK0wJil55Wj3TJsASXqJOAsc9QE SYnRDi97sCEz8JnEuuPvWuF3tHOmvHySU9aYTTS3EvxBSSVaxQzvaanYLbQ6PBpa92Z1 hJOcdYsWw6MTG1PySrJbrblFF+aPSb+a7Q2yC/v1FT8vpnDG8kw5xkFMJUwov7k1Zoez MVOXkQAjRgpSntEbwe9jW3W1VvAG30yvt6eeMKNtbS5SA+7wqdMU2/ZMa0Rmr/sikLcz FTkyHx6auurye3LW94HvAgRR1saqUniYb+H6jOxMf3Xe26qL9jNrLsOC1fMudspLtMNj fXVA== X-Gm-Message-State: AFeK/H3TTSdDitj8DNUdzAiG1FN9RVZPMKguIIJPTpvnWIxuPpPZTb9YbGXtAoBzutlAag== X-Received: by 10.36.219.10 with SMTP id c10mr7716903itg.1.1490189621819; Wed, 22 Mar 2017 06:33:41 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id n6sm135430itb.25.2017.03.22.06.33.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Mar 2017 06:33:41 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #26217 Date: Wed, 22 Mar 2017 09:35:03 -0400 Message-ID: <87a88d4epk.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) forcemerge 26217 21244 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 15 15:17:59 2017 Received: (at control) by debbugs.gnu.org; 15 Dec 2017 20:17:59 +0000 Received: from localhost ([127.0.0.1]:36116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePwQh-0007Kj-0y for submit@debbugs.gnu.org; Fri, 15 Dec 2017 15:17:59 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePwQf-0007KX-9D for control@debbugs.gnu.org; Fri, 15 Dec 2017 15:17:57 -0500 Received: by mail-wm0-f50.google.com with SMTP id 64so19726574wme.3 for ; Fri, 15 Dec 2017 12:17:57 -0800 (PST) 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=dShma09xQxDM72oej+BgB3uBlr5NS1P7DAmp7EHfzNA=; b=KTpVxvupy7GUrMNfxHaaDt4ERXascUQazXCYp5OcLFlaXqflZEGRfbC8hzGdHS61dV wN4e2gCLDPvQw4xIdW7Hzaaf4RzWHIUrtSSVs2lb4BBLQpMQsAG3MTXQXH5m+oMQf9ci aZrJx4vBQ568e+ggIzyN3r1r/evPDa68tGMtxmINhoXWWXJUia4rqs1tMzTr2sGt2ly7 bAq9584USbr8S0Fn0op+A9bx8yQsCAl6dPMnRqAAfGHFOFBaVW+DN2GNtUeaBtc7eQVu iuOh6uHu1EZ9WsGxZaKuVbdFE+LMvpty248s2kpVh1GuAFhwOAOI7hDQ903FapDhRSNU jUeg== 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=dShma09xQxDM72oej+BgB3uBlr5NS1P7DAmp7EHfzNA=; b=WlJoG6ukPB6jtbN9MLuCtI7y7dICbd1a3wXwITO9B+o/j4+jqoujejocOHJa+3OPDp hBXUxdZACAHwhy9FtPRbtUnmmZgkcF+QV1/trDKujL35GJll+E0n1LE/xLKIpXAhlm6V o0Mpogk9Kl/E5QtWzDISuW31Gu5jhC6hca8kex2US89R5aTpTs+Kffaba5eMBu+r0WEc Z5yrkgqp8ZWOqwK3d4RZvbb4tzd3Ryf5XOrqAgQRz8XbjPGqoSX5S4B9pGa1bk0LYyqj mBJHBKZiPhiBn5CVo6ebKWyNZ3cFvuPnWeTflmpHpKo34im4PXv1H2V5L4iBflSeg0mQ w3iA== X-Gm-Message-State: AKGB3mIXkwNAklLeOrTO8pFptpUI64FIF1tkkF+d5HeWN3xnjxyGAq8w gymeMDKuO4sXQ7T8eCptjstDzY9MYgXgqDzvdWw= X-Google-Smtp-Source: ACJfBotb7qYWCa26McbPhBTAbxl4+TE8iveFSwriO56tTFbzy/jGaNH5cQFCZWVM8QE4XUeOlnaK2wou9fx5LDeZHYY= X-Received: by 10.28.184.209 with SMTP id i200mr6139730wmf.96.1513369070511; Fri, 15 Dec 2017 12:17:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.151.116 with HTTP; Fri, 15 Dec 2017 12:17:50 -0800 (PST) From: Noam Postavsky Date: Fri, 15 Dec 2017 15:17:50 -0500 X-Google-Sender-Auth: MMSZVbgRZb554se215G5oQ465x8 Message-ID: Subject: shell script for i do To: GNU bug tracker automated control server Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) forcemerge 2910 21244 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 19 08:28:01 2018 Received: (at control) by debbugs.gnu.org; 19 Jan 2018 13:28:01 +0000 Received: from localhost ([127.0.0.1]:34161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecWi9-0003zn-Fg for submit@debbugs.gnu.org; Fri, 19 Jan 2018 08:28:01 -0500 Received: from mail-io0-f179.google.com ([209.85.223.179]:45196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecWi8-0003zU-1J for control@debbugs.gnu.org; Fri, 19 Jan 2018 08:28:00 -0500 Received: by mail-io0-f179.google.com with SMTP id p188so2133275ioe.12 for ; Fri, 19 Jan 2018 05:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=17Yx0sKSLsGmI8Z+j3/nHCyJAhjufmNLAiyxfknZN1k=; b=LU6n4Pi4F8XpfqXTdhf6HsxJYkCh3X+5qTCPRRMDYiXQQPbjcDxW5utlIWIOe1/Eec fvLugxWjYaqlNK3A8aZg0TXTOGb9XMb8d+GttieGkzoeAoN/HU3Zp8+u22Bj4Gig2/+I JGX3gYR83g0fGio8Yclt7rxl8GqrtfaDO59pCi6HdTIIwi7pfPiRbtDxgd+pA6CGKvMZ BsYOCnr7jymww9HRO2wfF0uBBJoogbIwJlsesUk6ZjmMM4smAgHvEmF5SNeD6n5ueQ/r Z/cKb6+sNSL5h3AdKs/YHl3EcstM4RQgscNOBNuNuWSxLHVq7KIKLr7QELAUcAfDO8Iz PdBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=17Yx0sKSLsGmI8Z+j3/nHCyJAhjufmNLAiyxfknZN1k=; b=qBfEcuGVmZGRhGwcDlcHgsym0xtwH9q0gjCBqTqh10+ksnbkxfAFUiMw0eRw8rv+2o u5wUP9ulsPmDUe3CUxLNUtUe0z3LJs5obCFibqV5I15qiOL/PAevaoZ/FIxAxmnOBzhb zT5VkaOkqniIPPjViJS1rzvuVEAqSe3rbl66rThTc+KG/BvbDP9DLJMhk7cmE7ep/Wpc 53KhG3xwNkmHHK2TWgs1V9w0QbLWLBFJM50OkyP5BYhl4X1qgZZkiBeRUkiEzLnrH83f YMIU7u9Bsae4/mO4ixGshB+9KA3c0TKs9Ia51sHFFcr6YOBJH5FmV6BNmtJ2VZR1DS9/ arzw== X-Gm-Message-State: AKwxytdmmfjB+Z5RnMc2OMc41smrN5x3fl0ubFVn8vC+nPkzoI6H317E /SyRRxwbOthrQuRK/De+o85yJg== X-Google-Smtp-Source: ACJfBot+YcG5k05u2lb2l3pKHk94pyCet9yzWEyXeuaZS4XYOdYCwsW1+g/cSQzzFUapxLIJcYlsEQ== X-Received: by 10.107.131.210 with SMTP id n79mr26294216ioi.215.1516368473996; Fri, 19 Jan 2018 05:27:53 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id o73sm2164270ito.4.2018.01.19.05.27.52 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jan 2018 05:27:53 -0800 (PST) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #30170 Date: Fri, 19 Jan 2018 08:27:52 -0500 Message-ID: <87y3kunfl3.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) severity 30170 minor merge 30170 21244 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 27 21:45:10 2021 Received: (at control) by debbugs.gnu.org; 28 Jan 2021 02:45:10 +0000 Received: from localhost ([127.0.0.1]:46630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4xJ0-00013C-8W for submit@debbugs.gnu.org; Wed, 27 Jan 2021 21:45:10 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4xIx-00012N-RA for control@debbugs.gnu.org; Wed, 27 Jan 2021 21:45:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ELV7NoEZGjAoojYOAokuD91PNWsedFfKp6m73eVc/lQ=; b=mjhDCtmZWP/VZUjz5r5/7bcwqU 8SucGw/WuqxU4L4huYu4O3z+0+4Pl7R/O66njbwHgNYCL+4X8vHNb0e1DlkmnweZzuXb0XImwJ9zx qKg4qA8OwudnlED5/N8TxW4dakuJuLaxc9DzpjsqcR5bDsftcSTNVbfh22yVqsS0h2zg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4xIp-0003Ae-Vv for control@debbugs.gnu.org; Thu, 28 Jan 2021 03:45:02 +0100 Date: Thu, 28 Jan 2021 03:44:58 +0100 Message-Id: <87k0rx7pat.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46093 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 46093 26217 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 46093 26217 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 04:12:07 2021 Received: (at control) by debbugs.gnu.org; 28 Jan 2021 09:12:08 +0000 Received: from localhost ([127.0.0.1]:47221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l53LT-0002S3-Di for submit@debbugs.gnu.org; Thu, 28 Jan 2021 04:12:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l53LS-0002Rb-5y for control@debbugs.gnu.org; Thu, 28 Jan 2021 04:12:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39144) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l53LM-0004ff-T3 for control@debbugs.gnu.org; Thu, 28 Jan 2021 04:12:00 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1l53L8-0000bS-9Z for control@debbugs.gnu.org; Thu, 28 Jan 2021 04:11:48 -0500 Subject: control message for bug 46093 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 28 Jan 2021 04:11:46 -0500 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tag 46093 - notabug From debbugs-submit-bounces@debbugs.gnu.org Mon May 03 11:21:47 2021 Received: (at control) by debbugs.gnu.org; 3 May 2021 15:21:47 +0000 Received: from localhost ([127.0.0.1]:46955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldaOJ-0005o7-Jk for submit@debbugs.gnu.org; Mon, 03 May 2021 11:21:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldaOH-0005o0-P7 for control@debbugs.gnu.org; Mon, 03 May 2021 11:21:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55640) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldaOC-0002Gc-IG for control@debbugs.gnu.org; Mon, 03 May 2021 11:21:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ldaOB-0002Zo-NR for control@debbugs.gnu.org; Mon, 03 May 2021 11:21:40 -0400 Subject: control message for bug 48193 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 03 May 2021 11:21:39 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 46093 48193 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 13 08:08:26 2023 Received: (at 26217) by debbugs.gnu.org; 13 Oct 2023 12:08:26 +0000 Received: from localhost ([127.0.0.1]:45395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrGxt-0002hE-IT for submit@debbugs.gnu.org; Fri, 13 Oct 2023 08:08:25 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:61451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrGxr-0002gz-64 for 26217@debbugs.gnu.org; Fri, 13 Oct 2023 08:08:23 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1bdf4752c3cso14549865ad.2 for <26217@debbugs.gnu.org>; Fri, 13 Oct 2023 05:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697198874; x=1697803674; darn=debbugs.gnu.org; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=b5gfe2e+XHv+xXKIdDPlZpyXz+hXFnJtM6v/6Te0FjE=; b=jT/t/f6r2XIRTEUFVkz1dIdNreeD54R0Mb6IM8NVXDHPkeGFMhrZsvc8oPoFYXMcIZ hKu4KnyOT6I7aZPKqfMP5JUzd8c3CrbrqyesLvU6sdlZZ60bKW4LSBqwrJpWG9UyFnrc mqCoX9mBhuVowGIYrT54weMzGSKrDykVHGX3jl9NcAMyNah0cQ9T5uvFSKefUTTYFd/i Q3zR6NzggB1yClIkbH2tNMELqsg/H602Lf2ddsSetaVhV9kM3KW0SAUH5YO4FM7cVQcS fcY9FZ6af3GnRrbelBVrrL0OSHza1lj8dzUZXcxOIJbbTt6NAYkgSYankODSYmOn8jz4 81aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697198874; x=1697803674; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=b5gfe2e+XHv+xXKIdDPlZpyXz+hXFnJtM6v/6Te0FjE=; b=DdAR5aPD2j8CmihiHNRHt53EUUUp/91NAfduNzLhO+c+dNW8IC0abTcUM0T8sCvBWh JFbxvr3/RkvcD1FiQBJuxOAquqFID8au7ufvYpHtswD2ciwYRNjMDJ3S2dVwbTkhkJp+ Na0fRroTNs87fQIAXOqNbd9DON4e46KNoJnnmx+rUiIWzDBoEkm52TPU6K0dVqkW45AX NmqEHR93HDYeedgMPM1lSUDTEOrtkDUSeonUpzhMbc2AUI+eoGZCyGs+CR3x1zebn1QI IHTLDMv7+MsOpPoDEOdsr8pDyO4bJbZVLLg/sMDyim28K9OOm3fHyd/iNLHWIlWAofnP 8X1A== X-Gm-Message-State: AOJu0Ywl1cIpn6wwS6fkV2Xx/yNsZ0mBcRRH42D2LR4pmZ1dpOjxHb9q QGj5Ft9E+9/thUIaB3VhBrOlgSE8G3SyjosE X-Google-Smtp-Source: AGHT+IGQIeYwVHQ8hBzr7jU9VpYqJWLqURMR8d63zt5VufwiNYyBNUFSYGhwh+VmNZTyILkCxvCq6A== X-Received: by 2002:a17:902:d488:b0:1c8:9832:827f with SMTP id c8-20020a170902d48800b001c89832827fmr17582587plg.20.1697198873785; Fri, 13 Oct 2023 05:07:53 -0700 (PDT) Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id iy3-20020a170903130300b001bf11cf2e21sm3757252plb.210.2023.10.13.05.07.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Oct 2023 05:07:53 -0700 (PDT) Message-ID: Date: Fri, 13 Oct 2023 09:07:50 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: 26217@debbugs.gnu.org From: Mauro Aranda Subject: Re: bug#2910: 23.0.60; Shell-script coloring bug Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Martin Vath writes: > 1. M-x shell-script-mode > 2. Type: " > for i do echo 1; done > for i; do echo 1; done > " > > Despite both lines are correct full loops according to POSIX > and in fact understood by all current shells (see below), > this does not correspond to the indentation of emacs and > coloring of "do" in the first line. This Bug Report (and the other ones merged with it) have two parts: - No highlight for "do" in: for i do echo 1; done This works if using bash-ts-mode, which claims in its docstring it can support Bash or sh. I don't know what's the decision (if there is one) about situations like these.  If the bugs in lang-mode are fixed by lang-ts-mode, will these bug reports be treated as: wontfix? fixed? open in case someone wants to spend time in lang-mode? - Wrong indentation for lines after: for i do echo 1; done I took a look at this, and ISTM that giving "do" a special treatment like sh-smie--sh-keyword-p gives to "in" might fix this, perhaps by reusing sh-smie--sh-keyword-in-p. I know very little about SMIE, so I'm CCing Stefan M. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 13 12:07:31 2023 Received: (at 26217) by debbugs.gnu.org; 13 Oct 2023 16:07:32 +0000 Received: from localhost ([127.0.0.1]:47279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrKhH-0002Vk-JQ for submit@debbugs.gnu.org; Fri, 13 Oct 2023 12:07:31 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrKhF-0002VR-8v for 26217@debbugs.gnu.org; Fri, 13 Oct 2023 12:07:30 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E2D748044E; Fri, 13 Oct 2023 12:06:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1697213218; bh=AVY9gVhKa7/6JA0FALY+OEKwA7HsUDJeaaLX/dV5R18=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CqnypkN4VnpvaUWI2+Z2XBzPrclniut2tobOgofkP8Ad4dvWDjfsNTQsDYHtwWukG r1AxWX/Nl1JfzD5v56dSVhMk8mn1MzmKUhz8rS07DRWNT+JvdSAEVzwYCwnMPC/8in y1PdFSMRN/OvFLb3xGU1jJyx5C4uu71KJZvOfKcv4CcAz4qKNbFjzig5Y9k3nI+zsB i+mivjCJ0yWubh8GRixJcu8mAk0vlGwFGxTGXpmI2XW+VmbNN/6+LiCll4kruNy+D5 1FPZaUjQ070I1RhXYDDPKd1WCIDaNsZIUYHUpP8L252fprPohRk3jTzpcglNfCLF2y LVHUDnVG+9C8g== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 449548027C; Fri, 13 Oct 2023 12:06:58 -0400 (EDT) Received: from alfajor (unknown [23.233.149.155]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 25BDD120206; Fri, 13 Oct 2023 12:06:58 -0400 (EDT) From: Stefan Monnier To: Mauro Aranda Subject: Re: bug#2910: 23.0.60; Shell-script coloring bug In-Reply-To: (Mauro Aranda's message of "Fri, 13 Oct 2023 09:07:50 -0300") Message-ID: References: Date: Fri, 13 Oct 2023 12:06:57 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.006 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , 26217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I don't know what's the decision (if there is one) about situations like > these.=A0 If the bugs in lang-mode are fixed by lang-ts-mode, will these > bug reports be treated as: wontfix? fixed? open in case someone wants to > spend time in lang-mode? AFAIK we don't consider the `foo-ts-mode` to obsolete the other modes. Maybe we will, but we don't yet. IMO I think we'd first need to have a good long-term strategy about what we'll do when tree-sitter becomes unmaintained/obsolete. IOW I think we need to develop our own layer of abstraction above tree-sitter so that we can accommodate other parser backends. FWIW, it's not clear at all what such a layer would look like, so we're pretty far from it. I'd welcome people start thinking about it, maybe by looking at existing alternatives like our own `wisi` (in GNU ELPA), SMIE, maybe LSP (assuming there are servers out there which can provide that kind of functionality), etc... > - Wrong indentation for lines after: > for i do echo 1; done > > I took a look at this, and ISTM that giving "do" a special treatment > like sh-smie--sh-keyword-p gives to "in" might fix this, perhaps by > reusing sh-smie--sh-keyword-in-p. Sounds about right. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 08:45:12 2023 Received: (at 26217) by debbugs.gnu.org; 14 Oct 2023 12:45:13 +0000 Received: from localhost ([127.0.0.1]:48089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qre12-0004HP-Bw for submit@debbugs.gnu.org; Sat, 14 Oct 2023 08:45:12 -0400 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]:57468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qre10-0004H9-KS; Sat, 14 Oct 2023 08:45:11 -0400 Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-6c4e30a3604so1963976a34.2; Sat, 14 Oct 2023 05:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697287481; x=1697892281; darn=debbugs.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=9jJsozgNtKQnMjnVPf8f/45ydOS2/7pP8+Tq1mq5ros=; b=LXnMgLymaEbmfdouV6RzFVE5JhyiwL7fdSuDA+K4/IAjpjGtaG1dCqV5+Qwe6KN+9/ suQixaaiY5I8u+wEkBIfSnOA7MbhYdZ4tmNqOwlHAi1Ntkma2IRT5FCjZdXydddpYhi3 3mTBsr4PBGc2J922Rpxy3opX14RjcQmL4grrzSZDVyuMqDI4YmtMrq2h/nLMohFz4Lub 5NfpOI0+3ESQKs0jdhAalpP4m2g09j3zyWXaFDbJIjmKzOwzFp2zl7t+I0Ex60O8wSom W+24xkDNs/c5dV8AJmzYlmk1cRnsQ15oG/D6kTjn7+ajc9kqS9LA+C8gU4POmvPCmjx2 YL4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697287481; x=1697892281; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=9jJsozgNtKQnMjnVPf8f/45ydOS2/7pP8+Tq1mq5ros=; b=QycML30/nZXxZ7eAQTbKWFHM7mZ1effu5dFAgJkmWzO9k/KvhGS39fHpl1JN9N+skk ZuHnqc40qXES8zorcJ2BgXXiBZJAsEEAwjUrkCq4kKC5ia9XGc4FytIESRJBW2hJQYsh xCHEa1VvT5k4DHui3VrCOhUXpUhCKGkuGGNwl7illFtWbm7vePqWVQrFcSFVed2ZStRc E6yAoKMJ+6rsU78JZsSAKyiC3mdlfJUcObV/Mr3kESb6VV9S9A2ohq5DROWqfq8Pmt++ XUl1Vgx/E2TMkpJSGlqjL0xIbTjtLmy4atMiDzv3LcO3MQMnwRndw0IPXzb8LqoC8wXS hnVA== X-Gm-Message-State: AOJu0YwRk6I+I0yWDnnBZHTH8iamAjDFUrQ2fQSkWWjmDYsg5t5TBd3j 6+/1cf+cNTxr6QqoOFz9JPZhWUwICHcgfw== X-Google-Smtp-Source: AGHT+IH35m2WM2v1wZ1wCee2HoKG/wbYNHPZ5FUugQsXZcaCpCRHQFRW5cGKEEujmIXcLrXAFP1bGw== X-Received: by 2002:a05:6830:c4:b0:6bf:2476:a97e with SMTP id x4-20020a05683000c400b006bf2476a97emr30598154oto.5.1697287481205; Sat, 14 Oct 2023 05:44:41 -0700 (PDT) Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id z15-20020aa7948f000000b006933866f49dsm967351pfk.19.2023.10.14.05.44.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Oct 2023 05:44:40 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------VvBoEAqe36oFvDjQu7WGVmlD" Message-ID: <4c33c246-b993-4d09-bbd3-9687472c8010@gmail.com> Date: Sat, 14 Oct 2023 09:44:37 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#2910: 23.0.60; Shell-script coloring bug Content-Language: en-US To: Stefan Monnier References: From: Mauro Aranda In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , 26217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------VvBoEAqe36oFvDjQu7WGVmlD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit tags 26217 patch quit On 13/10/23 13:06, Stefan Monnier wrote: >> I don't know what's the decision (if there is one) about situations like >> these.  If the bugs in lang-mode are fixed by lang-ts-mode, will these >> bug reports be treated as: wontfix? fixed? open in case someone wants to >> spend time in lang-mode? > > AFAIK we don't consider the `foo-ts-mode` to obsolete the other modes. > Maybe we will, but we don't yet.  IMO I think we'd first need to have > a good long-term strategy about what we'll do when tree-sitter becomes > unmaintained/obsolete.  IOW I think we need to develop our own layer of > abstraction above tree-sitter so that we can accommodate other > parser backends. > > FWIW, it's not clear at all what such a layer would look like, so we're > pretty far from it.  I'd welcome people start thinking about it, maybe > by looking at existing alternatives like our own `wisi` (in GNU ELPA), > SMIE, maybe LSP (assuming there are servers out there which can provide > that kind of functionality), etc... Thank you for your response.  I don't know if this has been raised in emacs-devel, but IMO it should be. >> - Wrong indentation for lines after: >> for i do echo 1; done >> >> I took a look at this, and ISTM that giving "do" a special treatment >> like sh-smie--sh-keyword-p gives to "in" might fix this, perhaps by >> reusing sh-smie--sh-keyword-in-p. > > Sounds about right. I attach a patch that should also handle the fontification issue. It also comes with some tests, and I've did some manual testing on my own. I haven't found problems, but I'm suspicious because it seems too easy. --------------VvBoEAqe36oFvDjQu7WGVmlD Content-Type: text/x-patch; charset=UTF-8; name="0001-Fix-indentation-and-fontification-in-shell-script-Bu.patch" Content-Disposition: attachment; filename*0="0001-Fix-indentation-and-fontification-in-shell-script-Bu.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA0MjBmYmZjMWIyNjUxODM5ZjIxNGVkYmQ4MDlhNjYzZjQyZGNmMDgwIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBNYXVybyBBcmFuZGEgPG1hdXJvb2FyYW5kYUBnbWFp bC5jb20+CkRhdGU6IFNhdCwgMTQgT2N0IDIwMjMgMDk6MDU6MzUgLTAzMDAKU3ViamVjdDog W1BBVENIXSBGaXggaW5kZW50YXRpb24gYW5kIGZvbnRpZmljYXRpb24gaW4gc2hlbGwtc2Ny aXB0IChCdWcjMjYyMTcpCgoqIGxpc3AvcHJvZ21vZGVzL3NoLXNjcmlwdC5lbCAoc2gtc21p ZS0tc2gta2V5d29yZC1wKTogVHJlYXQgImRvIiBhcwpzcGVjaWFsLCBsaWtlIHdlIHRyZWF0 ICJpbiIuCihzaC1zbWllLS1zaC1rZXl3b3JkLWluLXApOiBDaGFuZ2Ugc2lnbmF0dXJlLiAg VGFrZSB0aGUgdG9rZW4gdG8KZGVjaWRlIGNvcnJlY3RseSBpZiBpdCdzIGEga2V5d29yZC4K KHNoLWZvbnQtbG9jay1rZXl3b3Jkcy12YXItMSk6IEFkZCBkby4KCiogdGVzdC9saXNwL3By b2dtb2Rlcy9zaC1zY3JpcHQtcmVzb3VyY2VzL3NoLWluZGVudHMuZXJ0czogTmV3IHRlc3Qu CiogdGVzdC9saXNwL3Byb2dtb2Rlcy9zaC1zY3JpcHQtdGVzdHMuZWwKKHNoLXNjcmlwdC10 ZXN0LWRvLWZvbnRpZmljYXRpb24pOiBOZXcgdGVzdC4KLS0tCiBsaXNwL3Byb2dtb2Rlcy9z aC1zY3JpcHQuZWwgICAgICAgICAgICAgICAgICAgICAgICAgfCAxMyArKysrKysrKy0tLS0t CiAuLi4vcHJvZ21vZGVzL3NoLXNjcmlwdC1yZXNvdXJjZXMvc2gtaW5kZW50cy5lcnRzICAg fCAgNyArKysrKysrCiB0ZXN0L2xpc3AvcHJvZ21vZGVzL3NoLXNjcmlwdC10ZXN0cy5lbCAg ICAgICAgICAgICAgfCAxMSArKysrKysrKysrKwogMyBmaWxlcyBjaGFuZ2VkLCAyNiBpbnNl cnRpb25zKCspLCA1IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVz L3NoLXNjcmlwdC5lbCBiL2xpc3AvcHJvZ21vZGVzL3NoLXNjcmlwdC5lbAppbmRleCBjYzUy MWNiMDU5MS4uZGU3NmUxNzVhMTAgMTAwNjQ0Ci0tLSBhL2xpc3AvcHJvZ21vZGVzL3NoLXNj cmlwdC5lbAorKysgYi9saXNwL3Byb2dtb2Rlcy9zaC1zY3JpcHQuZWwKQEAgLTg2OSw3ICs4 NjksNyBAQCBzaC1mb250LWxvY2sta2V5d29yZHMtdmFyCiAgICJEZWZhdWx0IGV4cHJlc3Np b25zIHRvIGhpZ2hsaWdodCBpbiBTaGVsbCBTY3JpcHQgbW9kZXMuICBTZWUgYHNoLWZlYXR1 cmUnLiIpCiAKIChkZWZ2YXIgc2gtZm9udC1sb2NrLWtleXdvcmRzLXZhci0xCi0gICcoKHNo ICJbIFx0XWluXFw+IikpCisgICcoKHNoICJbIFx0XVxcKGluXFx8ZG9cXClcXD4iKSkKICAg IlN1YmR1ZWQgbGV2ZWwgaGlnaGxpZ2h0aW5nIGZvciBTaGVsbCBTY3JpcHQgbW9kZXMuIikK IAogKGRlZnZhciBzaC1mb250LWxvY2sta2V5d29yZHMtdmFyLTIgKCkKQEAgLTE4MDksOCAr MTgwOSw4IEBAIHNoLXNtaWUtLXNoLW9wZXJhdG9ycy1iYWNrLXJlCiAgIChjb25jYXQgIlxc KD86XlxcfFteXFxdXFwpXFwoPzpcXFxcXFxcXFxcKSoiCiAgICAgICAgICAgIlxcKCIgc2gt c21pZS0tc2gtb3BlcmF0b3JzLXJlICJcXCkiKSkKIAotKGRlZnVuIHNoLXNtaWUtLXNoLWtl eXdvcmQtaW4tcCAoKQotICAiQXNzdW1pbmcgd2UncmUgbG9va2luZyBhdCBcImluXCIsIHJl dHVybiBub24tbmlsIGlmIGl0J3MgYSBrZXl3b3JkLgorKGRlZnVuIHNoLXNtaWUtLXNoLWtl eXdvcmQtaW4vZG8tcCAodG9rKQorICAiV2hlbiBsb29raW5nIGF0IFRPSyAoZWl0aGVyIFwi aW5cIiBvciBcImRvXCIpLCBub24tbmlsIGlmIFRPSyBpcyBhIGtleXdvcmQuCiBEb2VzIG5v dCBwcmVzZXJ2ZSBwb2ludC4iCiAgIChsZXQgKChmb3J3YXJkLXNleHAtZnVuY3Rpb24gbmls KQogICAgICAgICAod29yZHMgbmlsKSAgICAgICAgICAgICAgICAgICAgIDtXZSd2ZSBzZWVu IHdvcmRzLgpAQCAtMTgzMiw3ICsxODMyLDEwIEBAIHNoLXNtaWUtLXNoLWtleXdvcmQtaW4t cAogICAgICAgICgoZXF1YWwgcHJldiAiOyIpCiAgICAgICAgIChpZiB3b3JkcyAoc2V0cSBu ZXdsaW5lIHQpCiAgICAgICAgICAgKHNldHEgcmVzICdrZXl3b3JkKSkpCi0gICAgICAgKCht ZW1iZXIgcHJldiAnKCJjYXNlIiAiZm9yIiAic2VsZWN0IikpIChzZXRxIHJlcyAna2V5d29y ZCkpCisgICAgICAgKChtZW1iZXIgcHJldiAoaWYgKHN0cmluZz0gdG9rICJpbiIpCisgICAg ICAgICAgICAgICAgICAgICAgICAgJygiY2FzZSIgImZvciIgInNlbGVjdCIpCisgICAgICAg ICAgICAgICAgICAgICAgICcoImZvciIgInNlbGVjdCIpKSkKKyAgICAgICAgKHNldHEgcmVz ICdrZXl3b3JkKSkKICAgICAgICAoKGFzc29jIHByZXYgc21pZS1ncmFtbWFyKSAoc2V0cSBy ZXMgJ3dvcmQpKQogICAgICAgICh0CiAgICAgICAgIChpZiBuZXdsaW5lCkBAIC0xODQ0LDcg KzE4NDcsNyBAQCBzaC1zbWllLS1zaC1rZXl3b3JkLXAKICAgIk5vbi1uaWwgaWYgVE9LIChh dCB3aGljaCB3ZSdyZSBsb29raW5nKSByZWFsbHkgaXMgYSBrZXl3b3JkLiIKICAgKGNvbmQK ICAgICgobG9va2luZy1hdCAiW1s6YWxudW06XV9dKz0iKSBuaWwpCi0gICAoKGVxdWFsIHRv ayAiaW4iKSAoc2gtc21pZS0tc2gta2V5d29yZC1pbi1wKSkKKyAgICgobWVtYmVyIHRvayAn KCJpbiIgImRvIikpIChzaC1zbWllLS1zaC1rZXl3b3JkLWluL2RvLXAgdG9rKSkKICAgICh0 IChzaC1zbWllLS1rZXl3b3JkLXApKSkpCiAKIChkZWZ1biBzaC1zbWllLS1kZWZhdWx0LWZv cndhcmQtdG9rZW4gKCkKZGlmZiAtLWdpdCBhL3Rlc3QvbGlzcC9wcm9nbW9kZXMvc2gtc2Ny aXB0LXJlc291cmNlcy9zaC1pbmRlbnRzLmVydHMgYi90ZXN0L2xpc3AvcHJvZ21vZGVzL3No LXNjcmlwdC1yZXNvdXJjZXMvc2gtaW5kZW50cy5lcnRzCmluZGV4IDFmOTI2MTBiM2FhLi4z NmY0ZTRjMjJhYiAxMDA2NDQKLS0tIGEvdGVzdC9saXNwL3Byb2dtb2Rlcy9zaC1zY3JpcHQt cmVzb3VyY2VzL3NoLWluZGVudHMuZXJ0cworKysgYi90ZXN0L2xpc3AvcHJvZ21vZGVzL3No LXNjcmlwdC1yZXNvdXJjZXMvc2gtaW5kZW50cy5lcnRzCkBAIC0zOCwzICszOCwxMCBAQCBp ZiB0ZXN0IDt0aGVuCiBmaQogb3RoZXIKID0tPS09CisKK05hbWU6IHNoLWluZGVudHM1CisK Kz0tPQorZm9yIGkgZG8gZWNobyAxOyBkb25lCitmb3IgaTsgZG8gZWNobyAxOyBkb25lCis9 LT0tPQpkaWZmIC0tZ2l0IGEvdGVzdC9saXNwL3Byb2dtb2Rlcy9zaC1zY3JpcHQtdGVzdHMu ZWwgYi90ZXN0L2xpc3AvcHJvZ21vZGVzL3NoLXNjcmlwdC10ZXN0cy5lbAppbmRleCA1MmMx MzAzYzQxNC4uMTM1ZDdhZmUzZmUgMTAwNjQ0Ci0tLSBhL3Rlc3QvbGlzcC9wcm9nbW9kZXMv c2gtc2NyaXB0LXRlc3RzLmVsCisrKyBiL3Rlc3QvbGlzcC9wcm9nbW9kZXMvc2gtc2NyaXB0 LXRlc3RzLmVsCkBAIC04Nyw0ICs4NywxNSBAQCB0ZXN0LWJhY2t3YXJkLXRva2VuCiAgIChz aG91bGQtbm90ICh0ZXN0LXNoLWJhY2sgImZvbztiYXIiKSkKICAgKHNob3VsZCAodGVzdC1z aC1iYWNrICJmb28jem90IikpKQogCisoZXJ0LWRlZnRlc3Qgc2gtc2NyaXB0LXRlc3QtZG8t Zm9udGlmaWNhdGlvbiAoKQorICAiVGVzdCB0aGF0IFwiZG9cIiBnZXRzIGZvbnRpZmllZCBj b3JyZWN0bHksIGV2ZW4gd2l0aCBubyBcIjtcIi4iCisgICh3aXRoLXRlbXAtYnVmZmVyCisg ICAgKHNoZWxsLXNjcmlwdC1tb2RlKQorICAgIChpbnNlcnQgImZvciBpIGRvIGVjaG8gMTsg ZG9uZSIpCisgICAgKGZvbnQtbG9jay1lbnN1cmUpCisgICAgKGdvdG8tY2hhciAocG9pbnQt bWluKSkKKyAgICAoc2VhcmNoLWZvcndhcmQgImRvIikKKyAgICAoZm9yd2FyZC1jaGFyIC0x KQorICAgIChzaG91bGQgKGVxdWFsIChnZXQtdGV4dC1wcm9wZXJ0eSAocG9pbnQpICdmYWNl KSAnZm9udC1sb2NrLWtleXdvcmQtZmFjZSkpKSkKKwogOzs7IHNoLXNjcmlwdC10ZXN0cy5l bCBlbmRzIGhlcmUKLS0gCjIuMzQuMQoK --------------VvBoEAqe36oFvDjQu7WGVmlD-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 10:59:17 2023 Received: (at 26217) by debbugs.gnu.org; 14 Oct 2023 14:59:17 +0000 Received: from localhost ([127.0.0.1]:50116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrg6n-0006hX-3w for submit@debbugs.gnu.org; Sat, 14 Oct 2023 10:59:17 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrg6h-0006hD-R2 for 26217@debbugs.gnu.org; Sat, 14 Oct 2023 10:59:15 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5895410013E; Sat, 14 Oct 2023 10:58:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1697295521; bh=ITY5is8TNfiBDnOt9biOgMhK07mRIsptyT9XaeJzGzM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WzOnsyPWNQFSnY8G2UCu5f1UR9uh1JHkzxew6t+gCste9H9mr466uNULkK1zlP44K KEdyim9HCAIpCrsANOTsBCJ3/VNSQ0vPN/jJkA9Yr2bqLM4t9BKBLU7LIi4NKrmLc/ peYK1o5hguDqyWJjOwvZPpTTQD4CrVJWC1SvW6UWvlYQ7aZtAI0jbl/9+5N/+8nM0N jUYZt2tdp85b5SdLMih19RO86lRN7bPibwsF3QyQoVSrLnYtes+5izmU2vy1kuFrmk wswFVPW+NwO8DDtuY741WXTYriArFevqJdwf4n+S0vCSO4ZtiqvT0Hzaix9/4t91Yf SLpoyKoDOmhLg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 27110100061; Sat, 14 Oct 2023 10:58:41 -0400 (EDT) Received: from pastel (unknown [45.72.216.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id EF2BA120210; Sat, 14 Oct 2023 10:58:40 -0400 (EDT) From: Stefan Monnier To: Mauro Aranda Subject: Re: bug#2910: 23.0.60; Shell-script coloring bug In-Reply-To: <4c33c246-b993-4d09-bbd3-9687472c8010@gmail.com> (Mauro Aranda's message of "Sat, 14 Oct 2023 09:44:37 -0300") Message-ID: References: <4c33c246-b993-4d09-bbd3-9687472c8010@gmail.com> Date: Sat, 14 Oct 2023 10:58:40 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.163 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , 26217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I haven't found problems, but I'm suspicious because it seems too easy. Welcome to the world of Emacs, where "if it's easy it must be right". Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 11:02:14 2023 Received: (at 26217-done) by debbugs.gnu.org; 14 Oct 2023 15:02:14 +0000 Received: from localhost ([127.0.0.1]:50127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrg9d-0006nz-Sy for submit@debbugs.gnu.org; Sat, 14 Oct 2023 11:02:14 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrg9c-0006nk-1n; Sat, 14 Oct 2023 11:02:12 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EA34644179C; Sat, 14 Oct 2023 11:01:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1697295701; bh=n8mtBxjK2JSLNW/oOuuKOFaQOAHm0LI9/Y/fxxzcCFQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=C0xAeNQx4zRKvqqKGVQGXrf5z0THHXOKUzfbs60J6qFgiTY8qPjKU4l1pxouOKn5/ NQdgWnGcbO7/gRlVfUcopHRFrakN2ucdMpu0Uvy1EYfZCZRMdWZLgg//fgm6H+amgm cXNRuhYq43HVP7eKUG5/D+cr3dR3xH4orhVmMvNDVPsnKQ2sNrNF3B0vkwptXLZvat 7p2b8zOXJqZBO4tX8v0EjuwXBQH4f83+d/PXdnneSqXZkYxPIr6ZXSI7ZQ9IcYD3Ht l9KuBZj2ezIT9uF/3kkpi3iNfzhcgYaLMR9TzAdmYP+MOk0NCUStjaIA9k5YyZjQNC 8J6h9yvTAHxCg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9444E441561; Sat, 14 Oct 2023 11:01:41 -0400 (EDT) Received: from pastel (unknown [45.72.216.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 637BC120434; Sat, 14 Oct 2023 11:01:41 -0400 (EDT) From: Stefan Monnier To: Mauro Aranda Subject: Re: bug#2910: 23.0.60; Shell-script coloring bug In-Reply-To: (Stefan Monnier's message of "Sat, 14 Oct 2023 10:58:40 -0400") Message-ID: References: <4c33c246-b993-4d09-bbd3-9687472c8010@gmail.com> Date: Sat, 14 Oct 2023 11:01:40 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.018 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26217-done Cc: Martin Vath , 2910-done@debbugs.gnu.org, 26217-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> I haven't found problems, but I'm suspicious because it seems too easy. > Welcome to the world of Emacs, where "if it's easy it must be right". BTW, pushed to `master`, thank you. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 12:43:36 2023 Received: (at 26217) by debbugs.gnu.org; 14 Oct 2023 16:43:36 +0000 Received: from localhost ([127.0.0.1]:50279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrhjk-0001lN-7A for submit@debbugs.gnu.org; Sat, 14 Oct 2023 12:43:36 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrhjh-0001l9-DM for 26217@debbugs.gnu.org; Sat, 14 Oct 2023 12:43:34 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 323785C0203; Sat, 14 Oct 2023 12:43:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sat, 14 Oct 2023 12:43:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1697301784; x=1697388184; bh=GsebXVrDfxZr41f3zEmNJbRHaJrtA9fcrMX hYer2lg8=; b=R7pK6xahAt4BHj4sh0hrl3dxY9V9vAx6m0noF9Hcw5B59rVKq6j +urHHHwMwdbSahhs5zn691xe7GK0FnWOZHPVnztcOyv2u5gXwYlkr1cMKjGKOfk8 GVmufvWULoU8Kd5rMKtz0BIxqV0g2gS1XZR2Cfz2/QKSC/MlOpqiRkuNtdQVxfYx c8+y9Guo5MEdiuQpwJBTwnrusy6m/W6q+OkRhqk63BAXslwAYkTT+sB6Zfcvv3o9 0WXSmO4fp7AYUEJ0DMldJLm4s2QBx1ADRiLFQOfrSSHh8t0QirapH9Ee8b4ANGIa FMr0kzqPTUqlf+fZBgkFP0gy3j6TnPQ+Jvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1697301784; x=1697388184; bh=GsebXVrDfxZr41f3zEmNJbRHaJrtA9fcrMX hYer2lg8=; b=Y11TNS08H6+uV1DO4XQXsDRu3+pHw82VxBAYjyVAejPgdPxJM0M 4mNqKx1eU+hQ2t8RYW/hsxdve7QadTeCP6BJWo8dt0ffLkhHyEnR2/cK9Wuw06kd h95TcxlkgZ88S5QyCpwlHhWV0lJdIkwJrDeBHaVL6h8UyO09EOJqKrro4O45BZAw R6Srcb1E9jWoSdkBs6dhGmdda0JlWBEF/0waENxaRUNAv5wMpNZdboYWqvzMZeBG +TtO7mmhi62EqXMqwowbNe2d0JetSMgqk6vOlRSx6tuFrsNNzpoYda1RBAfOME98 sKQYInkYTFoDzlAJMtOmER3Old5LxTWKMGg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrieehgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepueekueethedvveffgeeiffdtkeffhfefiefftdeigfelleeufffhhefhhedu geeinecuffhomhgrihhnpegtohguvghmihhrrhhorhdrnhgvthenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdr uggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 14 Oct 2023 12:43:02 -0400 (EDT) Message-ID: Date: Sat, 14 Oct 2023 19:43:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: bug#26217: bug#2910: 23.0.60; Shell-script coloring bug Content-Language: en-US To: Stefan Monnier , Mauro Aranda References: From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , 26217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) On 13/10/2023 19:06, Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: >> I don't know what's the decision (if there is one) about situations like >> these.  If the bugs in lang-mode are fixed by lang-ts-mode, will these >> bug reports be treated as: wontfix? fixed? open in case someone wants to >> spend time in lang-mode? > > AFAIK we don't consider the `foo-ts-mode` to obsolete the other modes. > Maybe we will, but we don't yet. IMO I think we'd first need to have > a good long-term strategy about what we'll do when tree-sitter becomes > unmaintained/obsolete. IOW I think we need to develop our own layer of > abstraction above tree-sitter so that we can accommodate other > parser backends. > > FWIW, it's not clear at all what such a layer would look like, so we're > pretty far from it. I'd welcome people start thinking about it, maybe > by looking at existing alternatives like our own `wisi` (in GNU ELPA), > SMIE, maybe LSP (assuming there are servers out there which can provide > that kind of functionality), etc... I don't know how feasible that would be, given that the ts major modes we write have to reference fairly low level concerns (such as node names, different across all grammars). Maybe porting Lezer (https://lezer.codemirror.net/) could become a replacement in such a scenario, but then we're back to maintaining our own grammars again, and with lower performance by an order of a magnitude. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 15:07:36 2023 Received: (at 26217) by debbugs.gnu.org; 14 Oct 2023 19:07:36 +0000 Received: from localhost ([127.0.0.1]:50519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrjz6-0006mQ-3W for submit@debbugs.gnu.org; Sat, 14 Oct 2023 15:07:36 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrjz3-0006m8-Eo for 26217@debbugs.gnu.org; Sat, 14 Oct 2023 15:07:34 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C261D10013E; Sat, 14 Oct 2023 15:07:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1697310422; bh=JQRDnzFecRRjqkkBGugZtANhAupU5GJKx2cwP/nSbuU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hyuMU4TqZknw3OiqBhkH+oeepMmv3RXadi9u5F6mS0kOn72BNpioXIvtUtlznLxm1 7eA7nUnJ9+B9m3IApkcW0OOAMGfTiJ+BCHJFyOrRW8YSun3WdDmxlR5/oKNnrlPpGD AQWmLLLXIYg4jbF01imqWmN4dWbaeOQue6EhPaTa4k+hThUNBR+WZWxXa0a3Cqrsih UqYJbMOHNZPiS48XEmog64PytNEr5U2RwalmRLmRYJeyUHKmWHmMnX/aSNmo6kjb2S PbHFHotgWUuHVHgdOc0a6YflIAT3pMerWqSfIAw4E9u7UQ930wwVwYZa77+edkbWHd LzOOPItLtyQEw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8924B100061; Sat, 14 Oct 2023 15:07:02 -0400 (EDT) Received: from pastel (unknown [45.72.216.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 583291203C7; Sat, 14 Oct 2023 15:07:02 -0400 (EDT) From: Stefan Monnier To: Dmitry Gutov Subject: Re: bug#26217: bug#2910: 23.0.60; Shell-script coloring bug In-Reply-To: (Dmitry Gutov's message of "Sat, 14 Oct 2023 19:43:00 +0300") Message-ID: References: Date: Sat, 14 Oct 2023 15:07:01 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.163 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , Mauro Aranda , 26217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> FWIW, it's not clear at all what such a layer would look like, so we're >> pretty far from it. I'd welcome people start thinking about it, maybe >> by looking at existing alternatives like our own `wisi` (in GNU ELPA), >> SMIE, maybe LSP (assuming there are servers out there which can provide >> that kind of functionality), etc... > I don't know how feasible that would be, That's the wrong way to look at it. There is no doubt that it is feasible. What is under question is what it would take. > given that the ts major modes we write have to reference fairly low > level concerns (such as node names, different across all grammars). That just means that a given set of highlighting/indentation rules would not necessarily work with all possible parser-backends. But maybe we could bridge the gap by allowing some intermediate layer that could do things like translate node names (could be useful even within the tree-sitter context to deal with evolving grammars). I'm not saying this is the way to go, mind you. I don't know how it could/should work. But I do think we could do worse than start thinking about it, because tree-sitter is the kind of technology that's on the "treadmill", whereas Emacs' evolution has a different pace: how well will Emacs-29's TS modes work with 2028's tree-sitter grammars? > Maybe porting Lezer (https://lezer.codemirror.net/) could become Interesting, thanks. > a replacement in such a scenario, but then we're back to maintaining > our own grammars again, and with lower performance by an order of > a magnitude. We could look into Lezer support just to help us guide the design of an intermediate layer API. No need to maintain lots of our own grammars or take the performance impact :-) Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 15:50:00 2023 Received: (at 26217) by debbugs.gnu.org; 14 Oct 2023 19:50:00 +0000 Received: from localhost ([127.0.0.1]:50589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrke7-0008Er-Oj for submit@debbugs.gnu.org; Sat, 14 Oct 2023 15:50:00 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:49149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrke2-0008EZ-Bj for 26217@debbugs.gnu.org; Sat, 14 Oct 2023 15:49:57 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 36C0D32009F7; Sat, 14 Oct 2023 15:49:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 14 Oct 2023 15:49:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1697312962; x=1697399362; bh=kvfZ22V5oihN3dcT6+TqW7SK3XhF//hn7hv eka14Vqg=; b=GHtbPIZ0ZHhVaEED4GYOIecNgLZ8OCLkTo5qxrHf+D9FkTmjd87 n7BFJlc4etaDhIvn5eCPyiFvwEGvUeI15hlFEFBR6/6OkbH6XWqwNGksSQwClo6X FQFYR9y3axvh0zJJb4u44J81tjieOvIUzxQkLkqikuubcr4RHUqBeHqrDr/Xj/P5 UNpqLxXLbj0ihrkjlAzDkbZRYTq1Rr4siQQolvI8Mzn/CjIXHd6Q9JIb7Guq5K2P 3N33vRW5Q05X2MnFMXhmmKrsKX/EG1iWIwKdX/WwtV3n67JBBaEhci87jlwSIQyB cJz6cKeH8K+ZhhFkYyzdH4QQacAzzs0D/ZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1697312962; x=1697399362; bh=kvfZ22V5oihN3dcT6+TqW7SK3XhF//hn7hv eka14Vqg=; b=T6vljFkiPQAjPMOZhhhtab1gBkq7ZJi5wz2ZUnpNy1vygwYngOf kvqp876VCyu8wFp0LuhwXafJsd0BytJCsGUmLSqgo6qY8P0UbupFV2HRh1YiNmiM QfJu8+aSdJ3jSRwTGKnLiwQm4JLPUplBdWd7foLRclKuvzIrW+wqQpge0Jj2yxTe JUfBMtHcxqRhrk/rkrdyW+Gl2GI2NwyooBBDUtJOuiT23h8uUCZls831ITtuz/s6 qehjHh7KAkq03sK7fb8VbXAvs5w3zbjudlN+vgfHv4pcGxFcFON7JPFH3whotXxM 3rwyzSog0UqHz7vW1/bE84GaSgMZ4EwkaLA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrieehgddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteeujeduudehkefhveekleetffevudefheffuddvleeglefgteekjedugeeu veffnecuffhomhgrihhnpegtohguvghmihhrrhhorhdrnhgvthenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdr uggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 14 Oct 2023 15:49:21 -0400 (EDT) Message-ID: Date: Sat, 14 Oct 2023 22:49:18 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: bug#26217: bug#2910: 23.0.60; Shell-script coloring bug Content-Language: en-US To: Stefan Monnier References: From: Dmitry Gutov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 26217 Cc: Martin Vath , Mauro Aranda , 26217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) On 14/10/2023 22:07, Stefan Monnier wrote: >>> FWIW, it's not clear at all what such a layer would look like, so we're >>> pretty far from it. I'd welcome people start thinking about it, maybe >>> by looking at existing alternatives like our own `wisi` (in GNU ELPA), >>> SMIE, maybe LSP (assuming there are servers out there which can provide >>> that kind of functionality), etc... >> I don't know how feasible that would be, > > That's the wrong way to look at it. There is no doubt that it > is feasible. What is under question is what it would take. And whether it would be in any way more economical than just waiting for the next comparable solution to come along and writing either compatibility shims inside each ts mode, or copying code and adapting into the next set of *-ts-mode modes. So for now we could be better off just coming up with an easier way to migrate user configurations across major modes for a given language than what we have now. >> given that the ts major modes we write have to reference fairly low >> level concerns (such as node names, different across all grammars). > > That just means that a given set of highlighting/indentation rules would > not necessarily work with all possible parser-backends. But maybe we > could bridge the gap by allowing some intermediate layer that could do > things like translate node names (could be useful even within the > tree-sitter context to deal with evolving grammars). That's not impossible, but IME the sets of rules are fairly uniformly lower-level. > I'm not saying this is the way to go, mind you. I don't know how it > could/should work. > > But I do think we could do worse than start thinking about it, because > tree-sitter is the kind of technology that's on the "treadmill", whereas > Emacs' evolution has a different pace: how well will Emacs-29's TS modes > work with 2028's tree-sitter grammars? 1. That's why I'm sure we'll start using some grammar pinning - either to the commit hash, or to the version range. 2. Overall it's a solid point: either tree-sitter "stabilizes" after a while, or goes off the map. >> Maybe porting Lezer (https://lezer.codemirror.net/) could become > > Interesting, thanks. > >> a replacement in such a scenario, but then we're back to maintaining >> our own grammars again, and with lower performance by an order of >> a magnitude. > > We could look into Lezer support just to help us guide the design of an > intermediate layer API. No need to maintain lots of our own grammars or > take the performance impact :-) It's as good an approach as any, though we have no guarantee that the "next tree-sitter" will have a similar enough shape to either of TS or Lezer, for an easy future migration. From unknown Sun Aug 10 07:36:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 Nov 2023 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator