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: Sat, 17 Aug 2024 11:15:47 +0300 Message-ID: <86o75r4lak.fsf@gnu.org> References: <86frrksn7y.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28573"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arash@gnu.org, 72262-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 17 10:16:55 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 1sfEcJ-0007EQ-0Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Aug 2024 10:16:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfEc1-000660-Gy; Sat, 17 Aug 2024 04:16:37 -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 1sfEbn-0005zy-W6 for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 04:16:25 -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 1sfEbn-000377-CF for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 04:16:23 -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=pfktscHer55HrH3Eq6XaYv7Lm/bxx34k8mGjC1MSeV0=; b=H/7kE05ou4qJ+4qUIsQ4CEnH4f/AgnoOiKUMBxuzT+selNILy9O2N+KYGHxSBmO4AyNWzHbI6N+jkbs7TOWVGl4vlyArctz6x45TTgyq2xoiqVZOSyy4u+fYC7uLm9AnKPEa1YJDVHfA6B5AiDs3lPFmIfI7dN6OQ1vXVuIDR9Cyhc9pz9B6az6bMgzaISRzoW9e0aqCGn/SQ/fxR7AGocm6mDzf1tJNLTx2EBhvIy7rDsmNm28uxa6o2J3piPa4g2grFkn5S15P2cZ6rophrLGWwOA0ggwLPaeCdW7XuodmPvixA1HPfL4qIVRnREfNKqatHmdqTYK7CxN9k+M48Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfEcP-0000X4-VQ for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 04:17:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Aug 2024 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72262 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 72262@debbugs.gnu.org, eliz@gnu.org, arash@gnu.org Original-Received: via spool by 72262-done@debbugs.gnu.org id=D72262.17238826102007 (code D ref 72262); Sat, 17 Aug 2024 08:17:01 +0000 Original-Received: (at 72262-done) by debbugs.gnu.org; 17 Aug 2024 08:16:50 +0000 Original-Received: from localhost ([127.0.0.1]:53394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfEcD-0000WJ-Uh for submit@debbugs.gnu.org; Sat, 17 Aug 2024 04:16:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfEcB-0000W3-2x for 72262-done@debbugs.gnu.org; Sat, 17 Aug 2024 04:16:47 -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 1sfEbG-00032q-2l; Sat, 17 Aug 2024 04:15:55 -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=pfktscHer55HrH3Eq6XaYv7Lm/bxx34k8mGjC1MSeV0=; b=ogeIwOZ7paKk 1WsVdXu/yPRDsSQila3hUG28tqKnwT8JVHHvnGDWILvdA3MAEB4yHeWxduYkvz25AZRPAoDAwQmvM cpn+Zhc3KrUZuT9AChWJYdkowWzFbwof/ssF09q7iJradGp9n7QEUwF/mV1EFNi1cUbynusD6a1+W plBO5mJJ2REOoDrj6qawP53SOGqPyer8N6xCHntNmj+rH+XLuqWDN6XCYt8jJTzyBIENJxrm5ClL1 HaIqBJ5PoNfkeeHpZezSQj2bl0of27D/yjFdb8Sfp1SnvZwG+iYsb8o0xpFkS4TgxlamFTZpHbBfx gasu9bG63KrttAISfebaTw==; In-Reply-To: (message from Stefan Monnier on Wed, 14 Aug 2024 08:11:45 -0400) 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:290226 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , 72262@debbugs.gnu.org > Date: Wed, 14 Aug 2024 08:11:45 -0400 > > >> 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. Thanks, installed on master, and closing the bug.