From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#43941: bug#40844: html mode sometimes fooled by apostrophe Date: Sun, 13 Jun 2021 14:21:36 +0200 Message-ID: <878s3e3qgf.fsf_-_@gnus.org> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22912"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 40844@debbugs.gnu.org, 43941@debbugs.gnu.org, jidanni@jidanni.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 13 14:22:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsP7z-0005kd-Ck for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Jun 2021 14:22:11 +0200 Original-Received: from localhost ([::1]:51680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsP7y-0006cz-FK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Jun 2021 08:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsP7q-0006cD-O1 for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2021 08:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsP7q-0003JT-HW for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2021 08:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsP7q-0001P7-FD for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2021 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Jun 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43941 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 43941-submit@debbugs.gnu.org id=B43941.16235869095354 (code B ref 43941); Sun, 13 Jun 2021 12:22:02 +0000 Original-Received: (at 43941) by debbugs.gnu.org; 13 Jun 2021 12:21:49 +0000 Original-Received: from localhost ([127.0.0.1]:42865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsP7d-0001OG-Hg for submit@debbugs.gnu.org; Sun, 13 Jun 2021 08:21:49 -0400 Original-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=; Original-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 X-Now-Playing: Hilary Woods's _Birthmarks_: "Cleansing Ritual" In-Reply-To: <87sgai76oj.fsf@gmx.net> (Stephen Berman's message of "Tue, 13 Oct 2020 12:37:32 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208424 Archived-At: 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