From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Perl and Emacs: Developing tests for progmodes Date: Thu, 22 Oct 2020 12:38:04 -0700 Message-ID: References: <935d77f8-72c4-16fd-f9d6-39ba965e99e8@posteo.de> <87sga69qa0.fsf@hajtower> 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="34121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: =?UTF-8?B?SGFyYWxkIErDtnJn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 22 21:39:33 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kVgQs-0008jD-NF for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Oct 2020 21:39:30 +0200 Original-Received: from localhost ([::1]:42948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVgQr-0000IT-Cf for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Oct 2020 15:39:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVgPY-0008F2-Pj for emacs-devel@gnu.org; Thu, 22 Oct 2020 15:38:08 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:39069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVgPX-00045L-Ab for emacs-devel@gnu.org; Thu, 22 Oct 2020 15:38:08 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id t21so2931160eds.6 for ; Thu, 22 Oct 2020 12:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=ji6D6ZBBTZrzSrH31Q79DPmBzJrFifAJoO+ojxZ3Vnw=; b=Yv7v3EyC9X+n1siq53u0MHe4wzYhfPwewQ8yyWQC8LKk7V5Dt/csanQNooHZ2gptEj XOpY5a6Wti4z7yfSoRaHFTFEJzafdxdbJUGANYRRnynFpeShowvZB+NuP80SaLYzVxuv GoTtuMGeZZuU3yAxgUcAYq+BzkhHQnVCvG8wandGmacQW9wMngygIw7My/8KML4Pr6s0 Cm/sTVBQ7J6cz9OEE8ZB3osCgSavF54hKvjc1YuOkzI49vu0nFN31a6V3hM2bPdGKx0S /6ORW2yIP57UXqxr1NbButGvOxls8ejVKg6o25lCOmNd7NSl7Tbi9njQKaLxTFj2gZHz vthw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=ji6D6ZBBTZrzSrH31Q79DPmBzJrFifAJoO+ojxZ3Vnw=; b=AObCZuDigQStZ8+6kNgL6wFoRjOpDQ1g+UXDMErm5vbDUdPgQW9Lo0EIsrp7FiNsc/ 2v3tJHKqxWhmHEIp2BkQeYc7c41VXms5oo3R0anvELSU7O9OZgwcuv+iXxYczJJE3+l4 gXP9MUHiXhMxAd2ZTj9bt8fE0v5Rf8MSLIqwh77kDeZmg9DT3+fclykaBFTd339VwB06 sBDULW3S8yc407Zgxhs4oXm4yPFUS/8GhZLnxlNC0nf926kqLKjY0E2iqLHMvujp83Pm 3Fwu4fnxXyPIb3LEbx/eanK4Zmo7MpLjZ2DCeLXD/xUbg7jXxbhOYllvpLjTaQ8B78Vg VUuA== X-Gm-Message-State: AOAM530q5lIVBO7BrJdEFWf2M7XeNXW9d34NGiD0UQAFEWjnMQjApm/C oufZgZWMNpWv/+gQbw0nxDgMYeAaB3MXpHZB+zY= X-Google-Smtp-Source: ABdhPJzq4cuFWd2tBIE/7EPGdM2x2rLJePkAPpaIGqJag/26NLjpyqus5+qfOH5DABHqZETRT1PknMY5UXBr4PFPG9k= X-Received: by 2002:aa7:d28c:: with SMTP id w12mr3916564edq.282.1603395485909; Thu, 22 Oct 2020 12:38:05 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 22 Oct 2020 12:38:04 -0700 In-Reply-To: <87sga69qa0.fsf@hajtower> Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x532.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258316 Archived-At: haj@posteo.de (Harald J=C3=B6rg) writes: > Stefan (Monnier) already committed this as a patch (7a7847d7ad5; > Fri Aug 14) :) I was referring to my separate patch, now committed in 754a2f11b8. Sorry for being unclear. > My recent addition to the tests (fb26dc13: cperl-mode: Delete a > misleading comment, add tests for verification; Mon Oct 19) shows > another issue: The test (fontification of \$") makes sense for both > cperl-mode and perl-mode. In cperl-mode, the fontification was fixed in > 1997 (I think), in perl-mode it is still wrong. I'm not deep enough in > either of the modes (yet) to figure out what to do to fix this in > perl-mode, so I decided to only run the test for cperl-mode. > > Finally, perl-mode comes with its own list of ancient open bugs, many of > those don't occur in cperl-mode. I wonder whether the authors of these > bugs would accept "use cperl-mode instead" as a workaround? > > At some time, it might make sense to merge those two modes into one. > Perl continues to evolve, and upgrading two modes to support that > doesn't seem to be an economic use of time. Some interesting points. I'm interested to hear what others have to say about them.