From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#72262: 31.0.50; [PATCH] Bug in `ispell-begin-tex-skip-regexp' Date: Sat, 27 Jul 2024 09:21:44 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17045"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 72262@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 27 09:23: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 1sXblb-0004Fw-Gm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Jul 2024 09:22:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXblW-0004CL-3s; Sat, 27 Jul 2024 03:22:54 -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 1sXblU-0004C8-AB for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 03:22:52 -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 1sXblU-0002Uj-1R for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 03:22:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXbld-0003Ir-LX for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 03:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2024 07:23: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.172206492612608 (code B ref 72262); Sat, 27 Jul 2024 07:23:01 +0000 Original-Received: (at 72262) by debbugs.gnu.org; 27 Jul 2024 07:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:40473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXbkk-0003H6-F7 for submit@debbugs.gnu.org; Sat, 27 Jul 2024 03:22:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXbkh-0003El-S1 for 72262@debbugs.gnu.org; Sat, 27 Jul 2024 03:22:04 -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 1sXbkS-0002F5-SQ for 72262@debbugs.gnu.org; Sat, 27 Jul 2024 03:21:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=LOCDX6bc1ocr/UHsi5AeO+FSANCXTjWdwS+BN4uhHfQ=; b=otCKRxNmF7ynfK17LQRz KPa8ngp/AZfySVCMaDMdIuGKtx9KS6RCRV2U/SyYj6lmWuDOjzuXpcVUmj8JoDymCp/7av4I8XN9v 5Cs0Rv0hbjlpM0P49R1wGHnwdFc3RBl9AnTHFsdQHxT0RwZn9fYg0PNPtwXdTNBoO3kyg+jiS+A+B 4JBnKG3SDfeMnKoPima7E9L3md4hCvuzq3sDAtFrqfH8MSgnXgg47wc+oILV+Liuw3cg2dEia6U0R aLnmLZBawl3R+73fgQPwwrb8EHo3/FIF9npFODJ4KUPl8HAdq7iyAuIyn3QgVEy8VObDJriPdS55A WUCd9ix9KHUXDw==; In-Reply-To: (Arash Esbati's message of "Tue, 23 Jul 2024 22:55:34 +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:289417 Archived-At: --=-=-= Content-Type: text/plain Arash Esbati writes: > I can update it once a number is assigned to the report. Here it is. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Delete-matching-of-whitespaces-in-LaTeX-env-names.patch >From c5dea065783d08b181c77cf83d1ede57df141466 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Tue, 23 Jul 2024 22:40:41 +0200 Subject: [PATCH] Delete matching of whitespaces in LaTeX env names * lisp/textmodes/ispell.el (ispell-begin-tex-skip-regexp): Remove matching of arbitrary whitespaces in LaTeX environment names when wrapping them inside \begin{}. (bug#72262) --- lisp/textmodes/ispell.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 667da10d7a3..99f9e10a5a8 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3320,9 +3320,7 @@ ispell-begin-tex-skip-regexp "\\|" ;; keys wrapped in begin{} (mapconcat (lambda (lst) - (concat "\\\\begin[ \t\n]*{[ \t\n]*" - (car lst) - "[ \t\n]*}")) + (concat "\\\\begin[ \t\n]*{" (car lst) "}")) (car (cdr ispell-tex-skip-alists)) "\\|"))) -- 2.45.2 --=-=-= Content-Type: text/plain Best, Arash --=-=-=--