From unknown Wed Jun 18 23:18:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#70776 <70776@debbugs.gnu.org> To: bug#70776 <70776@debbugs.gnu.org> Subject: Status: [PATCH] Generalize some error description regexp Reply-To: bug#70776 <70776@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:18:14 +0000 retitle 70776 [PATCH] Generalize some error description regexp reassign 70776 auctex submitter 70776 Paul Nelson severity 70776 normal tag 70776 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 19:44:50 2024 Received: (at submit) by debbugs.gnu.org; 4 May 2024 23:44:50 +0000 Received: from localhost ([127.0.0.1]:56395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3P3h-0004yP-Pe for submit@debbugs.gnu.org; Sat, 04 May 2024 19:44:50 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3P3f-0004yJ-De for submit@debbugs.gnu.org; Sat, 04 May 2024 19:44:48 -0400 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 1s3P3A-0001o3-KL for bug-auctex@gnu.org; Sat, 04 May 2024 19:44:16 -0400 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3P39-0003Jc-4v for bug-auctex@gnu.org; Sat, 04 May 2024 19:44:16 -0400 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-36c5fa79a6eso3880405ab.1 for ; Sat, 04 May 2024 16:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714866254; x=1715471054; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RJB/bFl56ihUnpBgzA3qFZPdKPjp0gMU6C3kMnAV/Q0=; b=j3SPjeR9AAx/FuZm0UlhwEAzocJWcBGn706D6+iW/uRAgnxqEHt3wGDqDSjk4WF+p0 pWiTPIC2T/aBeo41WUcj+AfwQ32pVcn2ldERqjY2SqZB55gRhPvK4GNg3LNXaiUzAxZJ i5ZG+z+6CeO6ytqIiIy8lmKlfAMnlclmIyiTEfUtSggZQoc31gjPc5G9u1StoLd0YAEI +qd49lNFOW/UPqVwZtsbWM8vX6Ts8HAKYTSfu2g6SSxB5QLWlwA84I72XXCw7q3lLBWo N2fFHKIK8SOi+52QG4y8aqDLDfRVWjMJQ0q/KA+cOQUg8HxlSQD762TQfA+TGfuLOk2I Mk+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714866254; x=1715471054; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RJB/bFl56ihUnpBgzA3qFZPdKPjp0gMU6C3kMnAV/Q0=; b=Xg7NoMzDRdN8xBjvzYwK46cGDt9m3h4pTwYqfHQrgowtFABpavtztFVqiuVqKCqrp5 SAZotwi0mKno5rlpwgvrmgnNRMpb0oLmI7KZIt0B/NHiqaXgS+/fPQOJw8RyLWIH399N pfpQ+iPyVyojhIKfHPugbPcXdUhyR3OhS6vBhg7gH04TPOI2mnAe5dtiHMwHD9BOtpsV Aaj3mFJjJscqo6Piz8zt4abOYK/qL4oJZ4KJLlpV0vBinSe80Ym+/dxBha3UUELyvWKy WYUVjswgeG5thnsRbu5j2YhW/CE12vg6+Egm4NLhusp15Rue+lZ5EVlTHvFLRowiPVVp zbog== X-Gm-Message-State: AOJu0Yx99cGdbx0BYK/q6cmvNi4XXnLM3ztmzLLYKP7GuMB3Y1FDm0Ev OQA7k/QkvuWyBFDdNXpRoU/gefxAExS/YSUbfthECh8GFoQUnqovhfBPWzMlcgqT8+mAmfydiG1 fOsFmBDl/HtGwrf02M44tbNKyZGsYEg== X-Google-Smtp-Source: AGHT+IEkjbsZynwn9Wyu1F9iW3UCpj9WT1exiy8TfqRoLvmPCvtzTpj4TLJkPd83MqvlIvSW+eNMT2elgJraU70oBns= X-Received: by 2002:a92:ca48:0:b0:36b:26df:cce9 with SMTP id q8-20020a92ca48000000b0036b26dfcce9mr7735159ilo.22.1714866253460; Sat, 04 May 2024 16:44:13 -0700 (PDT) MIME-Version: 1.0 From: Paul Nelson Date: Sun, 5 May 2024 01:44:01 +0200 Message-ID: Subject: [PATCH] Generalize some error description regexp To: bug-auctex@gnu.org Content-Type: multipart/mixed; boundary="000000000000e0a0c00617a96976" Received-SPF: pass client-ip=2607:f8b0:4864:20::130; envelope-from=ultrono@gmail.com; helo=mail-il1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --000000000000e0a0c00617a96976 Content-Type: multipart/alternative; boundary="000000000000e0a0be0617a96974" --000000000000e0a0be0617a96974 Content-Type: text/plain; charset="UTF-8" Steps to reproduce: create test.tex with \documentclass{amsart} \newtheorem{theorem}{Theorem} \newtheorem{proposition}{Proposition} \begin{document} \begin{theorem} blah \end{proposition} \end{document} and do C-c C-c followed by C-c `. This jumps to the error, but no help is available, even though LaTeX-error-description-list contains a relevant entry. The issue is that tex generates an error like the following: LaTeX Error: \begin{theorem} on input line 5 ended by \end{proposition}. On the other hand, the relevant regular expression in LaTeX-error-description-list doesn't allow for "on input line X". This patch generalizes that regular expression so that it matches such output. Thanks, best, Paul --000000000000e0a0be0617a96974 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Steps to reproduce: create test.tex with

\documentc= lass{amsart}
\newtheorem{theorem}{Theorem}
\newtheorem{proposition}{P= roposition}
\begin{document}
\begin{theorem}
=C2=A0 blah
\end{p= roposition}
\end{document}

and do C-c C-c followed by C-c `.=C2= =A0 This jumps to the error, but no help is available, even though LaTeX-er= ror-description-list contains a relevant entry.

The issu= e is that tex generates an error like the following:

LaTeX Error: \b= egin{theorem} on input line 5 ended by \end{proposition}.

On the oth= er hand, the relevant regular expression in LaTeX-error-description-list do= esn't allow for "on input line X".=C2=A0 This patch generaliz= es that regular expression so that it matches such output.

Thanks, best,

Paul

--000000000000e0a0be0617a96974-- --000000000000e0a0c00617a96976 Content-Type: application/x-patch; name="0001-Generalize-some-error-description-regexp.patch" Content-Disposition: attachment; filename="0001-Generalize-some-error-description-regexp.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lvsr1gwz0 RnJvbSA4MzQwN2M1Njc4OTFhMjEzOTM1Yzk5MWUzOWE5NGQ2MWFlMTdlZWI4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIE5lbHNvbiA8dWx0cm9ub0BnbWFpbC5jb20+CkRhdGU6 IFN1biwgNSBNYXkgMjAyNCAwMToyNjozMyArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIEdlbmVyYWxp emUgc29tZSBlcnJvciBkZXNjcmlwdGlvbiByZWdleHAKCiogbGF0ZXguZ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XFxlbmQuIikKLS0gCjIuMzkuMyAo QXBwbGUgR2l0LTE0NSkKCg== --000000000000e0a0c00617a96976-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 05:24:04 2024 Received: (at 70776-done) by debbugs.gnu.org; 5 May 2024 09:24:04 +0000 Received: from localhost ([127.0.0.1]:58690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Y6F-00033t-Tu for submit@debbugs.gnu.org; Sun, 05 May 2024 05:24:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Y6D-00033W-Tb for 70776-done@debbugs.gnu.org; Sun, 05 May 2024 05:24:02 -0400 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 1s3Y5l-0004wR-2R; Sun, 05 May 2024 05:23:33 -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=++jXGJArRxokuuuqLW3I15py5BOA2F9XYj1KQTkBbxU=; b=LebEEW80QIZMt3J/EsEa mleegy8YzFyh5cgu9vwc4osE8eUzdGaY+dEYP3dCbgIxJswmxVQY0o9aNXF77gcYeY9cadnAmAJ0b EoDAvpL6m/z/5ftyiTYhS/9IWZoi4YvzDd8LQi5ZsQlFFIwET2OsXYkqbup+Qp/iLL99UqS9kL0Gw FdXs2liGmMnleBrzyNxh4D5WWOjWLUoksZDliACY5R8JbQoHdDA3UwO8X0NAc0EIM7LymlKGIZV6d O8rIKiSOuF84sSFj79fjgEoCQlsFtzyfIxkoKabjz6wSPkrSzEw4A1CvQ4pwswm4EDuycGvn4rjn3 SfD3dMMDtxUN7A==; From: Arash Esbati To: Paul Nelson Subject: Re: bug#70776: [PATCH] Generalize some error description regexp In-Reply-To: (Paul Nelson's message of "Sun, 5 May 2024 01:44:01 +0200") References: Date: Sun, 05 May 2024 11:23:28 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70776-done Cc: 70776-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Paul Nelson writes: > On the other hand, the relevant regular expression in > LaTeX-error-description-list doesn't allow for "on input line X". > This patch generalizes that regular expression so that it matches such > output. Thanks, installed, and closing. Best, Arash From unknown Wed Jun 18 23:18:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Jun 2024 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator