From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72262: 31.0.50; [PATCH] Bug in `ispell-begin-tex-skip-regexp' Date: Wed, 14 Aug 2024 08:11:45 -0400 Message-ID: References: <86frrksn7y.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28726"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 72262@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 14:12:42 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 1seCrp-0007Hq-P1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 14:12:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seCrd-0000ao-1D; Wed, 14 Aug 2024 08:12:29 -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 1seCrb-0000aZ-PL for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 08:12:27 -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 1seCrb-00079e-Dk for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 08:12:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=LJ4wqxnyQqbfEJpv5cezWd412lqi4sEswDKoEq1QvOA=; b=XN0tjf9+M81iWA6MTth9GdFTzxOiAqWyBSNpW/JcxygxYAyHz9b8AOZIJYcijW4aETr7XEcGFxXp8NsJtY3xF0kB82eXDzMICTSrfCvGdqtUj0mYaZOGKZYWh/yw909I2e3Ky9bOWvX7eAkoHTXL6m0Xh6YI5cExQgPZ0adpfSNTzSkw2eTJpxyAmPJZn/dF4Ee8jKN/YtzxkC4gqJNpr9nX7sICbjIM6ZtCDnezTw/3TxPzGGe28jdJfQw6KjYfOraNTDlPWqMgYjBkLLrFjkUSBM5hapnAlbvhg+HATJxRyO2zLrIglcVfrXs0W/mNM85ax8bbgZXBXWukW8MT7w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1seCs9-00029y-Ng for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 08:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Aug 2024 12:13:01 +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.17236375508259 (code B ref 72262); Wed, 14 Aug 2024 12:13:01 +0000 Original-Received: (at 72262) by debbugs.gnu.org; 14 Aug 2024 12:12:30 +0000 Original-Received: from localhost ([127.0.0.1]:46403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seCrd-000298-T7 for submit@debbugs.gnu.org; Wed, 14 Aug 2024 08:12:30 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seCrc-00028w-BK for 72262@debbugs.gnu.org; Wed, 14 Aug 2024 08:12:28 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2722710005D; Wed, 14 Aug 2024 08:11:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1723637506; bh=qbRVETU+tm85gpfAcNbjWs3239FK/KuwDZzd9ZSwOzI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=EEwK9Ob08jYXiVqQ/OID3xP+qX4x1axbLsIwm4hVBuy7i/1NQMJeZ8eCTHJ9xlcsp t7MNmzyZEcxj5IvMhfRYg6aW1uVl9Adsh4RyDUjewxpF1wRtpROuCe6CHJWeCxLUGY IMf+02KgyoCOg3wPnl9ErYXL6McTyRxRA/GWRoRZGfDIm7qzSEM3KglrDxlRhu2sOh LOZj/PkiABMNUTGIilN6KpRDDMGQMoYI6Kx6rUu2iNqv3VMeyi218BaGBYULAnT7Rn 1Sa5mz9Pfid6wOYeBYR4znw4PG4mfmmP/NjyzwqYBnrF7bi1ck7OXFtu7pTn6+2eLu FHAQrX5G4A+WA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 119E6100042; Wed, 14 Aug 2024 08:11:46 -0400 (EDT) Original-Received: from pastel (unknown [216.154.9.87]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D58D312046B; Wed, 14 Aug 2024 08:11:45 -0400 (EDT) In-Reply-To: (Arash Esbati's message of "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:290134 Archived-At: >> 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. Indeed, this is puzzling: I can't see why the code explicitly ignored whitespace there. I've never seen environment names with leading or trailing whitespace, so it's probably not a big deal wither way, but your patch looks right to me. Stefan