From unknown Sat Jun 21 03:16:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40844 <40844@debbugs.gnu.org> To: bug#40844 <40844@debbugs.gnu.org> Subject: Status: html mode sometimes fooled by apostrophe Reply-To: bug#40844 <40844@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:16:38 +0000 retitle 40844 html mode sometimes fooled by apostrophe reassign 40844 emacs submitter 40844 =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson severity 40844 minor tag 40844 confirmed patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 25 07:26:21 2020 Received: (at submit) by debbugs.gnu.org; 25 Apr 2020 11:26:21 +0000 Received: from localhost ([127.0.0.1]:58930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSIwu-0003ZQ-Ke for submit@debbugs.gnu.org; Sat, 25 Apr 2020 07:26:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:42894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSIwt-0003ZI-74 for submit@debbugs.gnu.org; Sat, 25 Apr 2020 07:26:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49580) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSIws-0002MB-Lm for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 07:26:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSIwr-0000tZ-R5 for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 07:26:18 -0400 Received: from glass.ash.relay.mailchannels.net ([23.83.222.70]:56376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSIwq-0000iF-Nx for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 07:26:17 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BB3404008DD for ; Sat, 25 Apr 2020 11:26:09 +0000 (UTC) Received: from pdx1-sub0-mail-a40.g.dreamhost.com (100-96-22-19.trex.outbound.svc.cluster.local [100.96.22.19]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 23A02401093 for ; Sat, 25 Apr 2020 11:26:09 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a40.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.6); Sat, 25 Apr 2020 11:26:09 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-White-Battle: 1c0ad3eb5cd2e8b9_1587813969550_1342300041 X-MC-Loop-Signature: 1587813969550:307493725 X-MC-Ingress-Time: 1587813969549 Received: from pdx1-sub0-mail-a40.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a40.g.dreamhost.com (Postfix) with ESMTP id D53657F575 for ; Sat, 25 Apr 2020 04:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=94l0CblADAonzD6jGlQekO/YSdk=; b=Vkt5POpruS/f17Ea Wt1ARg6CbCAUXqVigGAwQ5hrCkJ3QzmPC4U0AAlciAhOCTSjzpy0Bze1KJ04Vrgf X6UZaEdTMtNwkNCWF4V7fVSYIuWBPHcH/viYs+xmT3bhjvyuSP81LJtRSS+vM1no 1/L2rnsEIf//Qme3SP146sXCsi0= Received: from jidanni.org (36-234-69-110.dynamic-ip.hinet.net [36.234.69.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a40.g.dreamhost.com (Postfix) with ESMTPSA id 7D5607F550 for ; Sat, 25 Apr 2020 04:26:08 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a40 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: html mode sometimes fooled by apostrophe Date: Sat, 25 Apr 2020 19:26:04 +0800 Message-ID: <878sijvmb7.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdduiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecuffhomhgrihhnpehjihgurghnnhhirdhorhhgnecukfhppeefiedrvdefgedrieelrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeefiedrvdefgedrieelrdduuddtpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh Received-SPF: pass client-ip=23.83.222.70; envelope-from=jidanni@jidanni.org; helo=glass.ash.relay.mailchannels.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/25 07:26:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 23.83.222.70 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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: -2.4 (--) $ wget https://www.jidanni.org/lang/pinyin/older.html $ emacs -q older.html You will see that by mid-file, emacs has already got confused by U+0027 APOSTROPHE causing it to turn on and off font-lock-string-face! So there is something in this file that causes it to screw up. emacs-version "26.3" From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 25 10:09:15 2020 Received: (at 40844) by debbugs.gnu.org; 25 Apr 2020 14:09:15 +0000 Received: from localhost ([127.0.0.1]:60125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSLUZ-0001V5-9w for submit@debbugs.gnu.org; Sat, 25 Apr 2020 10:09:15 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:40751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSLUX-0001Um-AW; Sat, 25 Apr 2020 10:09:13 -0400 Received: by mail-qt1-f171.google.com with SMTP id e17so6989761qtp.7; Sat, 25 Apr 2020 07:09:13 -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 :user-agent:mime-version:content-transfer-encoding; bh=QRaxPK6tiST2f2Yy52JzbTAGMIcJKF4X2++EomNZWsI=; b=I9kZa53965xOXpQ0irN6oXZ/yk98CkAlz3Hf4xAb9Ws5+Dly/+6CTFTFngYVrD6AOs DD+z9pnHjSt+cEfUdOEnmHjSaixqPN2qgpyIhyXw7nMNNx6vyNrWyZz5IaA1+e5Uheo/ gNtnJmggGogufoGjL2RIq/KMEu+m2X3IVU/TfpCF1tihLtrLttGdRYxZ/4piz/hkdqlT wEq5o8uerp0jfweKm+nDLepruygT7QW36vzQNmBU+IGJcgbUsaUkk7KlirtSVXc7UPWe Q0szJd9TQmGySn/yCJxqpZGB2fUEd88IBggKwafUK3EDqCM6bVDk5NWFrwhfcoRY1MXL +22g== 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:user-agent:mime-version:content-transfer-encoding; bh=QRaxPK6tiST2f2Yy52JzbTAGMIcJKF4X2++EomNZWsI=; b=Zfc0Kq6qPVvAWHTvqrIlBvTVGkMpFDFW5PjBvpccgP9S88kLS9s+CHwFy2Dtn1W6VC Dy2mScArxTLp6NEI1swFdBL/SA8Icx5bAk3fd0UYl4fpCnvEXlSE22cOZSnv9tOF8elm xJToSBc3C+n4hRI0NR+CaYhqq4EtEX2ARkdACAUg3+GN1OOCFSBg53WNlUt/8MUgmgAC +KS2LJoTQZb4o87grbe7kEGx8HXx18jX2qKLMSo1Rjt8Bi00oHyQ/jNThpcAuNHfJqPh Jn5pzyIvPHJ80a+kp8Da9uoUcVqZGyClM3ffYGUCVW2er/67/t6YyOVBR7dom9dHokNS NHsw== X-Gm-Message-State: AGi0Pub+ZFRlsIfJG8vjsQ3bIVnjcYpG4kaoS+gUjvo2Dv/UDEY7lsxN 7rxViCh2j7rrw6I834NgfXfuarMW X-Google-Smtp-Source: APiQypJUriepJGAYso07PFZgQN3QhodD2LtcfyUrq1CmGfve6h2r2ZtHQFsy5HXmhyq/XuC8cyJZFA== X-Received: by 2002:aed:250c:: with SMTP id v12mr13969878qtc.351.1587823747797; Sat, 25 Apr 2020 07:09:07 -0700 (PDT) Received: from minid (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id u7sm5711163qkj.51.2020.04.25.07.09.07 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Apr 2020 07:09:07 -0700 (PDT) From: Noam Postavsky To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#40844: html mode sometimes fooled by apostrophe References: <878sijvmb7.5.fsf@jidanni.org> Date: Sat, 25 Apr 2020 10:09:06 -0400 In-Reply-To: <878sijvmb7.5.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Sat, 25 Apr 2020 19:26:04 +0800") Message-ID: <87v9lnfyil.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40844 Cc: 40844@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 (-) tags 40844 + confirmed found 40844 27.0.91 quit =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > $ wget https://www.jidanni.org/lang/pinyin/older.html > $ emacs -q older.html > > You will see that by mid-file, emacs has already got confused by > U+0027 APOSTROPHE > causing it to turn on and off font-lock-string-face! > So there is something in this file that causes it to screw up. Seems to be related to the paren character, here's a smaller reproducer: =EF=BC=88and counties' names From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 11:46:28 2020 Received: (at control) by debbugs.gnu.org; 1 May 2020 15:46:28 +0000 Received: from localhost ([127.0.0.1]:50469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUXrw-00035m-BR for submit@debbugs.gnu.org; Fri, 01 May 2020 11:46:28 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:42202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUXrp-00035T-Qo for control@debbugs.gnu.org; Fri, 01 May 2020 11:46:22 -0400 Received: by mail-qt1-f174.google.com with SMTP id x12so8172757qts.9 for ; Fri, 01 May 2020 08:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=G3bFZ3s9LS+o8TNM4I07qcFW31mCdiwB2bCYWZpTwfA=; b=a6i2tB/7OrZTCRv5fSrGapbhl/eq/iUVm3p8Nri/Re4ntkKIcJ78hluCn4P99n7zYl Qh4I/mh3Nv8MQ/5NXhoOmeQ/C5saW7oVII41hjwVNTeaiEy6fYWQwCFd3ghHqsj6Uz/Y sfTQx+ckCAPg3Vz6B64OMFJTTW9LxMqZNsKIl7vJr13MojeURztfqZ+OytWRBllSPJOH Ldh8LNYvbrjMdOlAGroAQCGJ2pLusjkNM3fpywlb6gPg73KrUIJkmnDAlfzmrkOxa3g6 vrRW8250EwJ/4p2BVoSr9ngbLNeURI9k+3sL5LEm0LL/2cLQIqslvRWOCXHiXOYLyA+b RK0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=G3bFZ3s9LS+o8TNM4I07qcFW31mCdiwB2bCYWZpTwfA=; b=oiqHYZibe6fDVEYl8DHh8XOulTCvPBo6KY5C7hecCVfx1Pba4ukXUvt07rViXTUO5D mZZ/WfaN7c08hN2AXV6RH+vhPilbcqGPDFpe2mXuBvXSOQbkqveWO/W+RT1qtzpY8C38 jxpM9R5I0WLTlYazuRdmgX3p3jMPWgcMHFS8/jIDQhtnWENmOiB/yKK7aLS4FVdrQzvJ /YiyYISDB9ccFK62eRSfOrAxQwdrqVmBRCSFWVNCuhkbcBtQcJURUBnia9fPx7iQHj3s +jJDiwTsrfPtUB6nQwZ1QzD9HxUidAfL75NCTpUMzEQ+Gnikr1w/oq244PdfD4dzNfRG lyLA== X-Gm-Message-State: AGi0PuYwbNO3VnbteaA3zZT1ICNwFGGX7gnbDeotJfVtNq+Yn3JBbewp gsPHtS61xGjjmqt3Dc1kiJNsv9rO X-Google-Smtp-Source: APiQypLTA+tiBvqgzyAt1G93BzO6C8WzabnLWdkL7T4EcT2uYHNN9bcHoMDAvUmxk27GZo+nL66KzA== X-Received: by 2002:ac8:4b5b:: with SMTP id e27mr4346864qts.46.1588347975947; Fri, 01 May 2020 08:46:15 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id o5sm3003940qkb.75.2020.05.01.08.46.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 May 2020 08:46:15 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #40844 Date: Fri, 01 May 2020 11:46:13 -0400 Message-ID: <85o8r7hd4q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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 (-) found 40844 26.3 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 04:41:57 2021 Received: (at control) by debbugs.gnu.org; 5 Feb 2021 09:41:57 +0000 Received: from localhost ([127.0.0.1]:42830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7xcj-0006VL-4i for submit@debbugs.gnu.org; Fri, 05 Feb 2021 04:41:57 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7xch-0006V4-GX for control@debbugs.gnu.org; Fri, 05 Feb 2021 04:41:55 -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=AnCJX7yryjuYOlvEmugkrk/Vk7HYyhDUp61sft4obyQ=; b=tHD0Kv16quxtOZzrgUJ3a4izWR Jw3Do6SJH4B7P/6KyK+H2kg71iAy1fykLQMUpeSuDtwiRJbUkkDj+83/z/KqM4tAUq22CA7OS+CkF R3/PaHG/eRtThjGncmSSo+goa4P0UcnKcPTUjsiyeHf8cbEHknCvX5fK2nARGzymYMco=; 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 1l7xcZ-0000zX-Vw for control@debbugs.gnu.org; Fri, 05 Feb 2021 10:41:49 +0100 Date: Fri, 05 Feb 2021 10:41:46 +0100 Message-Id: <8735yalulh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43941 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 43941 40844 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 43941 40844 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 04:42:07 2021 Received: (at control) by debbugs.gnu.org; 5 Feb 2021 09:42:07 +0000 Received: from localhost ([127.0.0.1]:42837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7xct-0006WU-Bv for submit@debbugs.gnu.org; Fri, 05 Feb 2021 04:42:07 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7xcq-0006VV-Uv for control@debbugs.gnu.org; Fri, 05 Feb 2021 04:42:05 -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=idgmXlTxQbsFakC1ZeM0S4fT7Y0Z0OXONGpfoiT0VXY=; b=fp38TKBBY4Djnp4tXE2st3a4Eo n+EDLL/IucvolnfpJ7RnKQ5pmQQWfyNpu2zRJb994V3cOEY0H0nmyYcBut38bsLsqudkMJ8uSo9vN WNIWnjzN/Vn7XP6SM72ramUrYfbaiN7vU4JV8lOpgAswyPkAnGoRHww3ISPBOMhJy5q8=; 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 1l7xcj-0000ze-DJ for control@debbugs.gnu.org; Fri, 05 Feb 2021 10:41:59 +0100 Date: Fri, 05 Feb 2021 10:41:56 +0100 Message-Id: <871rdulul7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46312 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 46312 40844 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 46312 40844 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 08:21:50 2021 Received: (at 40844) by debbugs.gnu.org; 13 Jun 2021 12:21:50 +0000 Received: from localhost ([127.0.0.1]:42867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsP7d-0001OJ-Od for submit@debbugs.gnu.org; Sun, 13 Jun 2021 08:21:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsP7b-0001Nx-Ms; Sun, 13 Jun 2021 08:21:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=P2QnNWF+hvFiksZvkbEWTQ2UM1PCRd42Maj/gm2a78o=; b=kFlfVBzlGrsjkOhd7DpoDS2ehz +QMec6Yli42bNUC160aGHXdFruS+cKJSkGqUa/nauLWHBmmZWlpPHejA2+RfXqDM7uanRw6FIzKvH n/ZFHWcXL65fIgm7KOdNEvFQld1q9M+w0+2EoZLBqm9vW/iXgsptCyBwV8d0LzVvCkus=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsP7T-0003wq-3Z; Sun, 13 Jun 2021 14:21:41 +0200 From: Lars Ingebrigtsen To: Stephen Berman Subject: Re: bug#40844: html mode sometimes fooled by apostrophe References: <87pn5oq1hj.5.fsf@jidanni.org> <831ri34i0b.fsf@gnu.org> <87o8l7zdh6.fsf@rub.de> <83o8l731yd.fsf@gnu.org> <87h7qzzae2.fsf@rub.de> <83lfgb2yss.fsf@gnu.org> <87d01nz7gb.fsf@rub.de> <83blh72vlk.fsf@gnu.org> <878scbyw3s.fsf@rub.de> <87sgai76oj.fsf@gmx.net> X-Now-Playing: Hilary Woods's _Birthmarks_: "Cleansing Ritual" Date: Sun, 13 Jun 2021 14:21:36 +0200 In-Reply-To: <87sgai76oj.fsf@gmx.net> (Stephen Berman's message of "Tue, 13 Oct 2020 12:37:32 +0200") Message-ID: <878s3e3qgf.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Stephen Berman writes: > I made a silly mistake (it was late and I was tired). Here is a > corrected version: I can confirm that this patch solves the test cases here. 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.7 (/) X-Debbugs-Envelope-To: 40844 Cc: Eli Zaretskii , 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, jidanni@jidanni.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.7 (-) Stephen Berman writes: > I made a silly mistake (it was late and I was tired). Here is a > corrected version: I can confirm that this patch solves the test cases here. > With this patch, when any of the paired-bracket characters is followed > by `'' in html-mode, there is indeed no string face fontification on the > latter (and following characters). The following function demonstrates > this: [...] > I wanted to turn this function into a test, and that's what the > commented out lines are supposed to do. But when I uncomment these > lines and call this function with the unpatched (i.e. current) version > of sgml-mode-syntax-table, it still shows default face for `'' with all > the paired-bracket characters. Yet when I step through the function > with Ediff, I do see some cases with font-lock-string-face. I don't > understand what's going on here. Might be a timing issue, perhaps? In any case, the patch is an improvement, so perhaps that should be pushed anyway? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 08:21:53 2021 Received: (at control) by debbugs.gnu.org; 13 Jun 2021 12:21:53 +0000 Received: from localhost ([127.0.0.1]:42870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsP7h-0001Oe-4T for submit@debbugs.gnu.org; Sun, 13 Jun 2021 08:21:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsP7f-0001O5-Ot for control@debbugs.gnu.org; Sun, 13 Jun 2021 08:21:51 -0400 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=u8YjlLr2OEdbQC39soN53XmfbzE5w4LTl6U08CHE/MQ=; b=NxXoOv/68JSfqhyHXWRkEUHFp9 L7Q6bzJa1f60di349DmYHhT+FBKn2uXz2gkZC7zG1caiiMJrEbYThrWT/bpsnyqnb1n3PEU6q6PDE yPb+Y22H/31uxNf1Z7E6uFIRc4rj+layNVaCwsKaT4ZVPB4McbPk1z0FrSonXuJhS0gg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsP7Y-0003wx-Cz for control@debbugs.gnu.org; Sun, 13 Jun 2021 14:21:46 +0200 Date: Sun, 13 Jun 2021 14:21:43 +0200 Message-Id: <877diy3qg8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40844 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: tags 40844 + patch 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.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: -1.7 (-) tags 40844 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 14:14:23 2021 Received: (at 40844) by debbugs.gnu.org; 13 Jun 2021 18:14:23 +0000 Received: from localhost ([127.0.0.1]:44356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsUco-0006xq-T6 for submit@debbugs.gnu.org; Sun, 13 Jun 2021 14:14:23 -0400 Received: from mout.gmx.net ([212.227.17.20]:59333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsUcn-0006xY-Fl; Sun, 13 Jun 2021 14:14:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623608050; bh=jDJgsZpXA4A/RIUL6xDtaOV/120sIjHLn7ogacJZ+o0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OrztXjFiL2nNzKrANavvF8qEWyjRc/XZF/akmieDb+8mlTxjIx/ABpI0UTwSE5pXV TxtMhKYh+MWnhW2Oqr9yfWtqoUdfsYCqDCS49NznPbKPyrvjZO09qQI2oajswLy1sW awWINUtNt2aGxy8sK48D71+wA2Ul5O7ma/9eC1XI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobelfs ([178.1.121.23]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M72sJ-1lxjHZ1J7f-008ar1; Sun, 13 Jun 2021 20:14:10 +0200 From: Stephen Berman To: Lars Ingebrigtsen Subject: Re: bug#40844: html mode sometimes fooled by apostrophe References: <87pn5oq1hj.5.fsf@jidanni.org> <831ri34i0b.fsf@gnu.org> <87o8l7zdh6.fsf@rub.de> <83o8l731yd.fsf@gnu.org> <87h7qzzae2.fsf@rub.de> <83lfgb2yss.fsf@gnu.org> <87d01nz7gb.fsf@rub.de> <83blh72vlk.fsf@gnu.org> <878scbyw3s.fsf@rub.de> <87sgai76oj.fsf@gmx.net> <878s3e3qgf.fsf_-_@gnus.org> Date: Sun, 13 Jun 2021 20:14:08 +0200 In-Reply-To: <878s3e3qgf.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Jun 2021 14:21:36 +0200") Message-ID: <8735tlljin.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:3ui+D5T8XbG5a7wLeVpa3AbivGOodxsZq6iu6tnveE5ggRO90Ij lBH/t5WrU+TMov7e+8mdZ54BZXk5Hoem/gR29KkCWKiPtUV6QNFhCa2fuQfieWrxnN/oDgG xP46/6RnuO1QKvfaggKz1e6GA7mv/gzlXYNv+Liw3NFFS4mLavikULN0cz/AOtMhsJrqrei FvKMNolcP2qjnxRSEuWTA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:W/kEIK3arAk=:6pCyQDBm4qn5sliOKIm1uu +j6YQAn0pzUDn4NN80JbKIjHDkuTrGg2jnbxTrYvfgj8CvY/8skRcW1c4i5EF/qOeKHa6LfsS aHkHYuL9I9EeB6kmyV2zKVrEcQBpCVzjRoHd6U8safD2a4AVjm/yhjEUfTmKa8gzG5yHWNK4w 9Uj7prsPMSzgz1poqu2rLaLbNbTFwrQLGQcr0zCdPsspRd/yjtm604iKjmajPovcapU6eFU4p TYYLrJ5jtHd+he0cLszYmJH6QSwUynG/gJ/BuymZOuKVn2JPNZDgtwLsMWRb7MuL1k7icZRyS 6nv9qhoGpGHFl9JnYxcH8E4hONM2hDugtHUl86aXPKrwafVRmrYRZ2Vb+oF2TwfgEvq0dT2J+ 1i0IgEC8onrRz4DiHpz00clCVzmqjMXqtwvlV35N7jvHqDn7amnRr2lbtkH5G+jSOYKRh+kva 7W8GhAQjtzmxz5Jh2xbHj2JldtqbtH3idYnTeVsMVb2jy3f9mhyMJLil435YGytJxemjmfiTH XUkg5zypRdQ7Vcwl/VbfmuyeJJdhP+RYh5jnlhLK+DtBhEnSaiB52vcK2/nKN9R8nO5O3BPQ7 NzrSI11QGdgQa9DVhYHIXHW0EgvI5qDTpxg7Vc84pZKK+bMJ6NbVxgN61JuXvN7viR1njM/TJ 9rEb0M8LXIl8J6G5kyoE19mN2LqSOHDkR+DnHFcaUIcGScTHz0yCyRIz5PMH9RullEIatYin8 HB51+DLslxnWJUIdXN0tJl9jPh2qWqDNsZ0dHm9QSA7OEoBf+xZW2o4uvdkqDcuuzT6BWXpzW C3f1Fn2Ld9UzA9Wg/l1IfkAFuAcTIIbIT5p3p6QB78QLyovfdJEjoF1+WHWr6o/fBvYtnr7qv HoLZKth4b/53Ejpt4OkmgQxJPnsP2Licw7DE5qo1OHDp+IAvW3+QN68altkV7voWdsVLtyx61 hO+RMYmybk4L7glbzOysOXEQMqE4ccdnrhm2badw8YjQak6YoQaoARMEF3BfDEK6Vu61iFyhN f5mLAoPkfIswM2rzwJ2KISRXPv9bslqyXMU89pGXbBCUHx8XMZb8VC8L9tIpLyEnVyX3notPU Rat4s10An7Rox5u6WeAPqWw5qq78B5FYySXSgsJh4xYtGBiBr9YAQF+GQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40844 Cc: Eli Zaretskii , 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, jidanni@jidanni.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 (-) On Sun, 13 Jun 2021 14:21:36 +0200 Lars Ingebrigtsen wrote: > Stephen Berman writes: > >> I made a silly mistake (it was late and I was tired). Here is a >> corrected version: > > I can confirm that this patch solves the test cases here. Thanks for checking. >> With this patch, when any of the paired-bracket characters is followed >> by `'' in html-mode, there is indeed no string face fontification on the >> latter (and following characters). The following function demonstrates >> this: > > [...] > >> I wanted to turn this function into a test, and that's what the >> commented out lines are supposed to do. But when I uncomment these >> lines and call this function with the unpatched (i.e. current) version >> of sgml-mode-syntax-table, it still shows default face for `'' with all >> the paired-bracket characters. Yet when I step through the function >> with Ediff, I do see some cases with font-lock-string-face. I don't >> understand what's going on here. > > Might be a timing issue, perhaps? I tried adding sit-for at different points but it made no difference. > In any case, the patch is an improvement, so perhaps that should be > pushed anyway? Upthread Eli said "some SGML/HTML expert should say if that is TRT". I'm no such expert so I can't make that decision. FWIW, I rewrote the test using ert, and the result is as above: it passes with the patch, as expected, but also without the patch, even though in the latter case the test buffer clearly contains characters fontified with font-lock-string-face. And just as I wrote above, when stepping through the ert-deftest using the unpatched sgml-tag-syntax-table, the test does fail as expected. Here's the test, in case someone else wants to see if they can figure it out; I haven't succeeded: (ert-deftest sgml-test-brackets () "Test fontification of apostrophe preceded by paired-bracket character." (let ((buf (get-buffer-create "*sgml-test*")) brackets results) (map-char-table (lambda (key value) (setq brackets (cons (list (if (consp key) (list (car key) (cdr key)) key) value) brackets))) (unicode-property-table-internal 'paired-bracket)) (setq brackets (delete-dups (flatten-tree brackets))) (setq brackets (append brackets (list ?$ ?% ?& ?* ?+ ?/))) (with-current-buffer buf (erase-buffer) (fundamental-mode) (while brackets (let ((char (string (pop brackets)))) (insert (concat "

" char "'s

\n")))) (html-mode) (goto-char (point-min)) (while (not (eobp)) (goto-char (next-single-char-property-change (point) 'face)) (let ((val (get-text-property (point) 'face))) (when val (should-not (eq val 'font-lock-string-face)))))))) Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 09:00:34 2021 Received: (at 40844) by debbugs.gnu.org; 14 Jun 2021 13:00:34 +0000 Received: from localhost ([127.0.0.1]:45261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsmCf-0003FS-VC for submit@debbugs.gnu.org; Mon, 14 Jun 2021 09:00:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsmCd-0003Ey-2M; Mon, 14 Jun 2021 09:00:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=11ezYrRWSh1DTSWeyOzNXm2hE9+eNYck/zcYMCEXTC8=; b=Ar131ZATzLJv31zcN0Mcxkz/N6 FxMaxTF/b59vk9BwELWVvcjjK4ZGdF35ynQ/NOHhL+l4qZbcSn9vgvL3Bt7wVe2WB6uXjva0urKe4 Bu+GsKwy9Ce2fDmV4TH+QAImWGqibsucjqbicysoJVM8IojAySumENl56l3IwB98/pG0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsmCP-0000zM-J6; Mon, 14 Jun 2021 15:00:19 +0200 From: Lars Ingebrigtsen To: Stephen Berman Subject: Re: bug#46312: HTML+ mode vs. quotes References: <87pn5oq1hj.5.fsf@jidanni.org> <831ri34i0b.fsf@gnu.org> <87o8l7zdh6.fsf@rub.de> <83o8l731yd.fsf@gnu.org> <87h7qzzae2.fsf@rub.de> <83lfgb2yss.fsf@gnu.org> <87d01nz7gb.fsf@rub.de> <83blh72vlk.fsf@gnu.org> <878scbyw3s.fsf@rub.de> <87sgai76oj.fsf@gmx.net> <878s3e3qgf.fsf_-_@gnus.org> <8735tlljin.fsf@gmx.net> X-Now-Playing: Grimes's _Miss Anthropocene_: "Delete Forever" Date: Mon, 14 Jun 2021 15:00:16 +0200 In-Reply-To: <8735tlljin.fsf@gmx.net> (Stephen Berman's message of "Sun, 13 Jun 2021 20:14:08 +0200") Message-ID: <87y2bczjmn.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Stephen Berman writes: > Upthread Eli said "some SGML/HTML expert should say if that is TRT". > I'm no such expert so I can't make that decision. I'm not either, but at this point I'd rather apply the patch and then we can see whether some SGML expert pipes up... 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.7 (/) X-Debbugs-Envelope-To: 40844 Cc: jidanni@jidanni.org, Eli Zaretskii , 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, 46312@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.7 (-) Stephen Berman writes: > Upthread Eli said "some SGML/HTML expert should say if that is TRT". > I'm no such expert so I can't make that decision. I'm not either, but at this point I'd rather apply the patch and then we can see whether some SGML expert pipes up... > Here's the test, in case someone else wants to see if > they can figure it out; I haven't succeeded: Just needs a `font-lock-ensure' after `html-mode'. :-) Then the test fails without your patch, and passes with your patch. So I went ahead and pushed your patch (and the test) to Emacs 28 (with some minor changes to the test). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 09:00:40 2021 Received: (at control) by debbugs.gnu.org; 14 Jun 2021 13:00:40 +0000 Received: from localhost ([127.0.0.1]:45265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsmCl-0003Fq-Id for submit@debbugs.gnu.org; Mon, 14 Jun 2021 09:00:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsmCf-0003F1-7k for control@debbugs.gnu.org; Mon, 14 Jun 2021 09:00:33 -0400 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=ZBMHp08V9HYEv6zx47eGplpXHLJ+VSkeWy27D7+jvIM=; b=SBmz3qRrUCpk39OYQ3F0f/d6Z7 vRGo4wHMlRG2D2Ni4JJce90eKA6r0Ff8d3cQKvqYxJo2To8CLhBqmipKl/uz/yyYSV5A6X/1tEICF o4mM5mSOjn9cikGCF7VVMV5a4Ru7vSTeOu3BEi+Ex/vt9yY78B5fUqLkWnHCTaFGDvww=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsmCX-0000zX-OM for control@debbugs.gnu.org; Mon, 14 Jun 2021 15:00:27 +0200 Date: Mon, 14 Jun 2021 15:00:25 +0200 Message-Id: <87wnqwzjme.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46312 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: close 46312 28.1 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.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: -1.7 (-) close 46312 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 09:02:17 2021 Received: (at 40844) by debbugs.gnu.org; 14 Jun 2021 13:02:17 +0000 Received: from localhost ([127.0.0.1]:45282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsmEK-0003Js-Ny for submit@debbugs.gnu.org; Mon, 14 Jun 2021 09:02:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsmEI-0003JX-Bk; Mon, 14 Jun 2021 09:02:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43126) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsmEC-0002h3-Tn; Mon, 14 Jun 2021 09:02:08 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1487 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsmEB-0003Jt-FP; Mon, 14 Jun 2021 09:02:08 -0400 Date: Mon, 14 Jun 2021 16:02:02 +0300 Message-Id: <83zgvs61md.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87y2bczjmn.fsf_-_@gnus.org> (message from Lars Ingebrigtsen on Mon, 14 Jun 2021 15:00:16 +0200) Subject: Re: bug#46312: HTML+ mode vs. quotes References: <87pn5oq1hj.5.fsf@jidanni.org> <831ri34i0b.fsf@gnu.org> <87o8l7zdh6.fsf@rub.de> <83o8l731yd.fsf@gnu.org> <87h7qzzae2.fsf@rub.de> <83lfgb2yss.fsf@gnu.org> <87d01nz7gb.fsf@rub.de> <83blh72vlk.fsf@gnu.org> <878scbyw3s.fsf@rub.de> <87sgai76oj.fsf@gmx.net> <878s3e3qgf.fsf_-_@gnus.org> <8735tlljin.fsf@gmx.net> <87y2bczjmn.fsf_-_@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40844 Cc: jidanni@jidanni.org, 40844@debbugs.gnu.org, stephen.berman@gmx.net, 43941@debbugs.gnu.org, 46312@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 (---) > From: Lars Ingebrigtsen > Cc: 46312@debbugs.gnu.org, Eli Zaretskii , > 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, jidanni@jidanni.org > Date: Mon, 14 Jun 2021 15:00:16 +0200 > > Stephen Berman writes: > > > Upthread Eli said "some SGML/HTML expert should say if that is TRT". > > I'm no such expert so I can't make that decision. > > I'm not either, but at this point I'd rather apply the patch and then we > can see whether some SGML expert pipes up... Fine with me. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 09:52:54 2021 Received: (at 40844) by debbugs.gnu.org; 14 Jun 2021 13:52:54 +0000 Received: from localhost ([127.0.0.1]:45406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsn1K-0000ZA-Aj for submit@debbugs.gnu.org; Mon, 14 Jun 2021 09:52:54 -0400 Received: from mout.gmx.net ([212.227.17.22]:37863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsn1J-0000Ym-3J; Mon, 14 Jun 2021 09:52:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623678762; bh=J4RLMIqBxlAY/6GWtLhmP0okFmpopI+YxabPP3wjqLk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=iWXIQWXcmcEDSFmXQdMwuo9dQ0Q/DHvYyH0QayrNjJTK6clYBr1HNN4B2T/Yogl8p Yxj4QoqpQtVCs4i68193b2G8RF2W4LKMel7IjCsxIcvkbABDzsB0Mpf12Qa7a2LMhq rWmUybT1YXZCe2KqMoKi2pA9eAMmu/L+Uujqrx6E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobelfs ([94.220.126.243]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1ps8-1luysE2VEu-002EFl; Mon, 14 Jun 2021 15:52:42 +0200 From: Stephen Berman To: Lars Ingebrigtsen Subject: Re: bug#46312: HTML+ mode vs. quotes References: <87pn5oq1hj.5.fsf@jidanni.org> <831ri34i0b.fsf@gnu.org> <87o8l7zdh6.fsf@rub.de> <83o8l731yd.fsf@gnu.org> <87h7qzzae2.fsf@rub.de> <83lfgb2yss.fsf@gnu.org> <87d01nz7gb.fsf@rub.de> <83blh72vlk.fsf@gnu.org> <878scbyw3s.fsf@rub.de> <87sgai76oj.fsf@gmx.net> <878s3e3qgf.fsf_-_@gnus.org> <8735tlljin.fsf@gmx.net> <87y2bczjmn.fsf_-_@gnus.org> Date: Mon, 14 Jun 2021 15:52:40 +0200 In-Reply-To: <87y2bczjmn.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Mon, 14 Jun 2021 15:00:16 +0200") Message-ID: <8735tkft93.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ie/ukzIltoe1fjbA9rObJPxga2oCZxe0DUW9l7E8PilfBFM2wN6 dC/2g2pW9JHH7053QyEZkOqFcWVvDqcWMZcFkzEgqZ/1pUVagyw3ORQViNFf6rs8oA0HhNu m7OjzKR27LXM0h2I+M7kgPQFOyC/QiFM3VEz3a6r8R+QWOujHkArrrat4Kq1uqYpkXSqHOG jUk8Y1VN7ojCxXuMX0FlA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:xkoMIyWV3AY=:uh5X8c2J8bbnw/W7rAAlCl EL6wI8Dj5mbQKQc8d3xvefgyUXjoW/lB6xVKHchdPC/xi07BVT4BrlFxYfd6uTn1Spu/zag4T qF21mQyC0L25yQR3OVjHdApu1otcSKHspYMTyRbtBt9uYRAn7HGN+MF4t0+VPJ0GaTFj5xFJH Qmxqgfxf47WX9J7IHhVANXnmciLTBiaNwzG7teO/joQlw8/ry7BLplVUnRorOJ7qAAGYDr5u+ 2F3gs+PzIrAVsFLgbBYeIeYXfsxktCjDR3JM0za/FrplQvZphKj2mXtk+i1iYpNIFeDrqz8De 8iwJ6EuLcZxSaeYQp68KMHGujP0heg23MfyplfiDBTuhmSE37xfEaxi1xAwjeCg24Z6VRlmYr H6X0b62KdkwDdkTHRBNFtWn111HIrDJoM4WsUMRcLedt8VpwSK5ApakZLygPNl9ZdA6IpG+oj dmDC74WzMhIWX6DrKgIRW/YTWr6RPHukTEJyuLYylzLr/4r4ppCewS/jrXtZBE0OQrxYPvRgZ vozLNhhZINkOkjG8aCJ+2eb29Us+9EDS5027q70Y5FopIh4gjDENpDpljTq7Tcx4Z0kTdC/vB kJmn2jUkXZGMcIOnrRSiugpMHOVOFZhJiE3+c828RZGpdqag+Dkn3juK+2dYYqj5mWOhQdYEc ZpIq1WLZchAmfmWR8tAaltipFE3erebtfx851kD6Xu8ro2SQKUclKYoZtDgFZO1roskXCLMIK DwhGxIyZGPvPDbK5Gi6tVsyOdOUKYJzc1T+NVUCuZDzjqn+y9Ll70BIsLHsqIaykAl8KBzRKs nBUdLiR4Tx7OBCzaDs792oY07T6QhRCA9yIMe7qXkP1gysSfXX/aEpq9rtopSgdc5KV08FFTJ 4HGf2cV9iPbqWaumSPyIOD3nvvsGxbn2+fjpCWBN6dLicb2SVF4G6u0vPddq9zyt3tnqpleg7 Kpv6L0EU1AvH/KdTqZIXYy/P+ZlJuNFNoUB+qNne0pcpn2DY2WONXom6OK68gS9Mf1cbgs1hu rZwEbJ22Ll/gYlrmBC2zK29y883irjM1pZlUDdhTp8oM82Tgt236O7CuD7nNzhzZz5g9sLTTm GqEruLMS0qNmq2E9qUWOsafbXfnvdNoXTE6k+04AxUSKh4NKyCfYMul1Q== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40844 Cc: jidanni@jidanni.org, Eli Zaretskii , 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, 46312@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 (-) On Mon, 14 Jun 2021 15:00:16 +0200 Lars Ingebrigtsen wrote: > Stephen Berman writes: > >> Upthread Eli said "some SGML/HTML expert should say if that is TRT". >> I'm no such expert so I can't make that decision. > > I'm not either, but at this point I'd rather apply the patch and then we > can see whether some SGML expert pipes up... Sounds good. >> Here's the test, in case someone else wants to see if >> they can figure it out; I haven't succeeded: > > Just needs a `font-lock-ensure' after `html-mode'. :-) Then the test > fails without your patch, and passes with your patch. Ah, thanks. The ways of font lock are unfathomable to me. > So I went ahead and pushed your patch (and the test) to Emacs 28 (with > some minor changes to the test). Thanks. I noticed, unfortunately only just now, that the ert test includes the unused let-bound variable `results' which I inadvertantly left behind from the previous version, and which will probably make the byte-compiler complain. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 09:58:29 2021 Received: (at 40844) by debbugs.gnu.org; 14 Jun 2021 13:58:29 +0000 Received: from localhost ([127.0.0.1]:47270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsn6j-0001B8-Es for submit@debbugs.gnu.org; Mon, 14 Jun 2021 09:58:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsn6g-0001Al-U4; Mon, 14 Jun 2021 09:58:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5uB8KLGFgJOHbG2+sd/i1NenNDf5TxE9/2jYGL0WAc0=; b=P/oo36gVjeosZRnns3Mu6U1h25 flmrvDbxgIRJ/gSSxI8XHiRm4K5lf5XvFOlRb780l459V+uaveDpy9c5rKTzRmIAfgKekgSdByPXK WuUmIhZdyhuEnwYHq4KStMvIWcP6vbu0paLWYdBSmeWEInrz7hq5cUaccE0N5f+w+I5U=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsn6V-0001SK-AF; Mon, 14 Jun 2021 15:58:17 +0200 From: Lars Ingebrigtsen To: Stephen Berman Subject: Re: bug#46312: HTML+ mode vs. quotes References: <87pn5oq1hj.5.fsf@jidanni.org> <831ri34i0b.fsf@gnu.org> <87o8l7zdh6.fsf@rub.de> <83o8l731yd.fsf@gnu.org> <87h7qzzae2.fsf@rub.de> <83lfgb2yss.fsf@gnu.org> <87d01nz7gb.fsf@rub.de> <83blh72vlk.fsf@gnu.org> <878scbyw3s.fsf@rub.de> <87sgai76oj.fsf@gmx.net> <878s3e3qgf.fsf_-_@gnus.org> <8735tlljin.fsf@gmx.net> <87y2bczjmn.fsf_-_@gnus.org> <8735tkft93.fsf@gmx.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEX+/v6OkI7o6OjS 0tKfn5+tra3f399+gH5sbmxPUU9eX14/QT8wMjEcHhyAgX/AwL/////sQbtoAAAAAWJLR0QQlbIN LAAAAAd0SU1FB+UGDg06BiHQSh0AAADbSURBVEjH7VPZbsMwDNNhOZSibP//t2MdtEAfCwzYHkzY jnVQogBHZGNj419DjYepuMsQiRCZB5ZTBjAkcNCajHksQs512gErkUqWSD1XLAttSMBkXNy6CLWK IYBQmSgXDbHbObng61rxIsy7u+IrJAa94+pzZRXGaWhQpTreCd5DKQ6FEoug9kco+xAoyZGa75Ks PZpGIS04/iLAEEJJJsjqScn26sCPl7Avp6Gk6/uuZRz66nRWVY2rm8l3/oNra1Zud3/63CYtY5JN 8wj761ewsbHx2/jwt/4B4m4FbhGkPhYAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDYtMTRUMTM6 NTg6MDYrMDA6MDD0atrRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA2LTE0VDEzOjU4OjA2KzAw OjAwhTdibQAAAABJRU5ErkJggg== X-Now-Playing: 75 Dollar Bill's _I Was Real_: "I Was Real" Date: Mon, 14 Jun 2021 15:58:14 +0200 In-Reply-To: <8735tkft93.fsf@gmx.net> (Stephen Berman's message of "Mon, 14 Jun 2021 15:52:40 +0200") Message-ID: <8735tkzgy1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Stephen Berman writes: > Thanks. I noticed, unfortunately only just now, that the ert test > includes the unused let-bound variable `results' which I inadvertantly > left behind from the previous version, and which will pro [...] 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.7 (/) X-Debbugs-Envelope-To: 40844 Cc: jidanni@jidanni.org, Eli Zaretskii , 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, 46312@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.7 (-) Stephen Berman writes: > Thanks. I noticed, unfortunately only just now, that the ert test > includes the unused let-bound variable `results' which I inadvertantly > left behind from the previous version, and which will probably make the > byte-compiler complain. Yup; now removed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 21 03:16:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Jul 2021 11:24:04 +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