From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73872: 30.0.91; emacs-lisp-mode-syntax-table active when calling `describe-variable' on variable with textually large value. Date: Sat, 07 Dec 2024 15:10:53 +0200 Message-ID: <86ikrviqoy.fsf@gnu.org> References: <86wmhlyhng.fsf@gnu.org> <867c8l9hlz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31052"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sigurddam@hotmail.com, 73872@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 14:12:22 2024 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 1tJubd-0007uW-KY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 14:12:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJubM-0004uF-TE; Sat, 07 Dec 2024 08:12:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJubK-0004ts-Gb for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:12:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJubK-0000KC-7k for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:12:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=WPS0bLTN6cx6hKCnhS4Z53oaxl0YqAgNdBTlO+UY87c=; b=p5t39ehEOf0tFNDvEZPupm3mk5TIugXhOiY9RiAbqPasPsNmGdsAvwemsEbmwxJAH+DJjrOROnNgHnqVLvsSyUworXZjx2i/9KQFfMpcxAkZWhBE887AdQ9lLJEu2wMH7CMtz2IQ3smPwDLHBp57Mg2ageuQPFe4BkEmWaLqimTjIBCVNTUz1C3RfgpwPTG+0u6TLXBk6eZgMBYKDuUlv5BblSzn7f9jvWiKGofZXI+vXhNld54EUMI/rKrb5uh33sicPoSGURBU5S0xl1cgMUZVFuvGsT5RR/Dl9AkJIngn8G24P4skKxwfhKnUXcXhU2nMnPf5NFExNdvRaLhxNQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJubJ-0004NY-Qn for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 08:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2024 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73872 X-GNU-PR-Package: emacs Original-Received: via spool by 73872-submit@debbugs.gnu.org id=B73872.173357706716734 (code B ref 73872); Sat, 07 Dec 2024 13:12:01 +0000 Original-Received: (at 73872) by debbugs.gnu.org; 7 Dec 2024 13:11:07 +0000 Original-Received: from localhost ([127.0.0.1]:45907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJuaQ-0004Lp-Jd for submit@debbugs.gnu.org; Sat, 07 Dec 2024 08:11:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJuaM-0004LF-Mt for 73872@debbugs.gnu.org; Sat, 07 Dec 2024 08:11:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJuaG-0000Cp-94; Sat, 07 Dec 2024 08:10:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WPS0bLTN6cx6hKCnhS4Z53oaxl0YqAgNdBTlO+UY87c=; b=mZWL9u/npOda tVvU8OXyGd/htoYwIFJG63/BjuLgOm9bBgodbkVjjV43J9Ds9T5/t9dp2X55/gec3Cr17HOBGeF0H uSJKLp4i8Nec9UGMIS7uQsmCImG6pyq8F0R/n7Eo5FaIcldOZRFNZNY5DC9p620K0n25R9j/xnkMa 6t6SQxuWgKxN22zrFqJIwi6Sq5CyBprDRZW3rRyhyHhEb7lHrVvb6gQG0H9LiztgUjERtSLqqyEz4 9nT9dJKjcH64xUwfKm4oBCVFwUAFjIlYjMtndgy4WFKCPdF2MeumjxtSHMOWepjM95S9KUd7fxC8Q wpij4cyp2I9j8+KWptcsQA==; In-Reply-To: (message from Stefan Monnier on Sun, 01 Dec 2024 18:41:23 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296560 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii > Date: Sun, 01 Dec 2024 18:41:23 -0500 > > >> Ping! Sigurd, could you please answer Stefan's questions? > > Oh, I am so sorry, Stefan's mail had ended up in my junk folder. I > > thought we were still waiting for his reply. Thanks for pinging me! > >> > I'm curious: in which context did you notice this? > >> > Does it lead to an undesirable behavior in a specific case? > > I have rainbow-delimiters-mode from the rainbow-delimiters package > > enabled everywhere, which means that font lock is enabled everywhere. > > The syntax table of help mode has ?; as a comment starter, so wherever > > it is used in docstrings, the remainder of that line will be > > highlighted as a comment in the help buffer. I changed the syntax > > class of ?; in help-mode-syntax-table, but I noticed that sometimes it > > would still be interpreted as a comment starter, which led me to > > finding the bug. > > Aahhhh! > So the underlying problem already bite in the usual case but you worked > around it by changing `help-mode-syntax-table`. > I think your change to `help-mode-syntax-table` is about right, so we > should include it in any fix to this bug. I was going to install that change, but then I noticed that it removed the call to terpri. Is that intentional? (And why did we start discussing this in private email, without CC'ing the bug tracker? I've now added it; please use Reply All to reply.)