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#72262: 31.0.50; [PATCH] Bug in `ispell-begin-tex-skip-regexp' Date: Mon, 05 Aug 2024 14:28:09 +0300 Message-ID: <86jzgvqkdy.fsf@gnu.org> References: <86frrksn7y.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37405"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72262@debbugs.gnu.org To: Arash Esbati , Stefan Monnier , Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 05 13:29:00 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 1savtc-0009bA-3E for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Aug 2024 13:29:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1savtL-0007sA-3x; Mon, 05 Aug 2024 07:28:43 -0400 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 1savtI-0007rx-Bh for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2024 07:28:40 -0400 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 1savtI-0000z1-1j for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2024 07:28:40 -0400 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=L/zu/SSCW3Ad68rxRJch/koHJG4dAaHAFmp9Tfo69xM=; b=WyIf66hT4jYwBBnV+tZbqm4V04Am3U+6UVN4jShWGBT9v/Ld2D0N3kwoC4sYxtAeyo35woC3gnE0uszyWgPif/PhVXLLDL6gyqynfXRzrdK00m6+Ho/UUrCPnYHPaWAA9+Fu+ii+CHFPPwW6+OQw9S3hXMDmuqR6jKp0fOk3YVL2YdnVBRAbP8HcCaXVLiDK4KtqW2E+9B0Q5MPvcAIGauHoiDIkHmFNHAd5O0QKFXEV2SbT+sfyX7EQ0yZDWH6P+YidxahWty/jw8kI/7BW/LAqgKAt24cionC559JofwLIvMsfbZGZ1EIMTDlNaSbcs9U+hr7OPqCl3KNuBmTTTg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1savte-0002rE-9c for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2024 07:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Aug 2024 11:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72262 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72262-submit@debbugs.gnu.org id=B72262.172285732510924 (code B ref 72262); Mon, 05 Aug 2024 11:29:02 +0000 Original-Received: (at 72262) by debbugs.gnu.org; 5 Aug 2024 11:28:45 +0000 Original-Received: from localhost ([127.0.0.1]:58146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savtN-0002q8-1g for submit@debbugs.gnu.org; Mon, 05 Aug 2024 07:28:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savtK-0002ph-W4 for 72262@debbugs.gnu.org; Mon, 05 Aug 2024 07:28:43 -0400 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 1savst-0000w0-7m; Mon, 05 Aug 2024 07:28:15 -0400 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=L/zu/SSCW3Ad68rxRJch/koHJG4dAaHAFmp9Tfo69xM=; b=J6u0WLIOYxOz WL2aZB0Lw3W72BC191oLUHudAAdYjfEzNdjKb7vr+wpk3rXoU9c6q9x02v7oKByzqFUoQZUvZBSVz 71M2FjnZsn+cOuixbEXwhxfZ3HyAxAhjnw9rqFgghlazzhXadl+hBIrk2MRBpd1gmcXLsNmfidJUG LFPGg1sP1iubfUaWQL1Im7dIcKxBPcHTHxmfrqKKUbIjqNzBo4pGfCgYEv6iDZRZB6TUieEv2sHmw 0uwtzeLwI0adBJFKxApgCLS4mif187oU6+3IdPraCw8l04v679/CxNLafeK5aO764/TZVIHDiPer6 cnJo8e67F9OUFY5ToEck7w==; In-Reply-To: (message from Arash Esbati on Sun, 04 Aug 2024 22:01:07 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289788 Archived-At: > From: Arash Esbati > Cc: 72262@debbugs.gnu.org > Date: Sun, 04 Aug 2024 22:01:07 +0200 > > Eli Zaretskii writes: > > > Thanks, but couldn't this change break someone's setup or workflows? > > I can't currently think of a scenario where the change breaks a working > setup. > > > The matching of whitespace there seems to be on purpose, > > In LaTeX2e, spaces in environment names are significant, so \begin{foo} > is not equivalent to \begin{foo } or \begin{ foo }, therefore I think > the current code is wrong. > > > and your use case involves customization of ispell-tex-skip-alists. > > What about users who didn't customize that or customized it in a > > different way? > > The former group is not affected at all since LaTeX has no environment > names with spaces. The latter will actually get what they're asking for > with the change I proposed, which is a follow-up to 808917b3fc. I know nothing about TeX, so I added two people who do, in the hope that they could provide a more meaningful review.