GNU logs - #74009, boring messages


Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
Resent-From: Uwe Brauer <oub@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Fri, 25 Oct 2024 08:32:01 +0000
Resent-Message-ID: <handler.74009.B.172984511127792 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: 74009 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-auctex@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172984511127792
          (code B ref -1); Fri, 25 Oct 2024 08:32:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 Oct 2024 08:31:51 +0000
Received: from localhost ([127.0.0.1]:37192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t4Fja-0007EB-By
	for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 04:31:50 -0400
Received: from lists.gnu.org ([209.51.188.17]:44300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <oub@HIDDEN>) id 1t4FjX-0007E2-7Q
 for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 04:31: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 <oub@HIDDEN>) id 1t4Fiz-0000fq-RT
 for bug-auctex@HIDDEN; Fri, 25 Oct 2024 04:31:13 -0400
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <oub@HIDDEN>) id 1t4Fix-0003ae-EC
 for bug-auctex@HIDDEN; Fri, 25 Oct 2024 04:31:13 -0400
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5c9693dc739so2267420a12.3
 for <bug-auctex@HIDDEN>; Fri, 25 Oct 2024 01:31:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mat.ucm.es; s=google; t=1729845068; x=1730449868; darn=gnu.org;
 h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc
 :subject:date:message-id:reply-to;
 bh=OnqXqSXyh+a1EsziQzhantJ6SvytsvvYq/dgwUkb5rs=;
 b=NdAzxl4tlepw5bpyya5tH8TrdG7VXSAY+5i0n7mFMU4qpBjwJ/Jzr2IBg3wINAnPUN
 czkjw9ax0slF3nhfW0BLn15xA50KdJiXF5vO1Fs9WsQaShYTm6w8GpQ24U6Dt9BD/mmQ
 n1HA4HLfLX2Z2nJp6IkrcXLrFkkeKFcyO1m+8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1729845068; x=1730449868;
 h=mime-version:user-agent:message-id:date:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=OnqXqSXyh+a1EsziQzhantJ6SvytsvvYq/dgwUkb5rs=;
 b=iGoR82ML+WqPfx/PUoNuBx8CvRs+ewwt/e2gGwwjjQofNwEBAQG1gxCpbF1S2mNUG7
 gOiX3FFQ/dI4WX/+eYHpdRrKpnPY/wMSSuCZ8dUf4q2BdQgfkntsK7XpIM862rjx/6iI
 NsH9cqTCQI7dsAOz4mM/jFI+o5fhNC0rKugR4iLLz7/hkwzge2K6wdy03+YQmqXL6kiS
 CGKm4JcUOwYqd5LkMGYid07GfxtNR9Ae4Lmzo++QhC7OYAgxrm2Bbf2v70xpr1pgAOHP
 ljR49iGBjky3Jp35RyAUXdJ5L6QSnNs++5Xucc0qBHPjWRWL10QCa16zYuSx1bh3paPl
 f66A==
X-Gm-Message-State: AOJu0YyeSoUWPaRseYekNGgrXBR50lBSikHqpmd9bmkYN6w2vUMTuLA0
 /Hx/ohdXghVP4cFlmM1TIhBTTy4uwEwl6/I03Q8EN4qmhVZPZeVpeuQt3eBR0VPx30OgVaswv9V
 RYJU8AOcvG6QztEHND1ynCj5OOwvLl5KIqeayHNoMzYp4D3feIsb+gyAJyVuRJ3FMRmIH0SUE8M
 DCszN7VFlHI5sncTwEgWQVLoKAWg==
X-Google-Smtp-Source: AGHT+IH/xyJT26HONtGzZ4s+GcWdzfJUmz7KHqxG1bdOvLBtFdCehz2P8nOSJgxQjnKl+2JbB/ZWgQ==
X-Received: by 2002:a05:6402:24a2:b0:5c9:218d:7071 with SMTP id
 4fb4d7f45d1cf-5cb8b1ed35dmr6263049a12.20.1729845068096; 
 Fri, 25 Oct 2024 01:31:08 -0700 (PDT)
Received: from Utnapischtim
 (p200300fb0f046920ca2799219b28e456.dip0.t-ipconnect.de.
 [2003:fb:f04:6920:ca27:9921:9b28:e456])
 by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5cbb613c3e9sm383752a12.0.2024.10.25.01.31.06
 for <bug-auctex@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 25 Oct 2024 01:31:07 -0700 (PDT)
X-Mailer: emacs 29.4 (via feedmail 11-beta-1 I)
From: Uwe Brauer <oub@HIDDEN>
Date: Fri, 25 Oct 2024 10:31:04 +0200
Message-ID: <8734kkinxz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=oub@HIDDEN;
 helo=mail-ed1-x536.google.com
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Hi all

Please consider 
--8<---------------cut here---------------start------------->8---

\begin{definition}[homotopy relation on 1-simplices]\label{defn:1-simplex-htpy}
  \uses{defn:simplicial-set}
   A parallel pair of 1-sim\-plices $f,g$ in a simplicial set $X$ are \textbf{homotopic} if there exists a 2-simplex whose boundary takes either of the following forms\footnote{The symbol ``$=$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
%\footnote{The symbol ``$\!\!\!\!\!\begin{tikzcd}[ampersand replacement=\&, sep=small] ~\arrow[r, equals] \& ~ \end{tikzcd}\!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
   \begin{center}
   \begin{tikzcd}[row sep=small, column sep=small]
   & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
   \end{tikzcd}
  \end{center}
   or if $f$ and $g$ are in the same equivalence class generated by this relation.
\end{definition}
--8<---------------cut here---------------end--------------->8---
running LaTeX-fill-environment results in 
formatting environment 41% I have to interrupt with C-g and obtain

\begin{definition}[homotopy relation on
  1-simplices]\label{defn:1-simplex-htpy}
  \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
  a simplicial set $X$ are \textbf{homotopic} if there exists a
  2-simplex whose boundary takes either of the following
  forms\footnote{The symbol ``$=$'' is used in diagrams to denote a
    degenerate simplex or an identity arrow.}
  % \footnote{The symbol
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  %
  % ``$\!\!\!\!\!\begin{tikzcd}[ampersand replacement=\&, sep=small] ~\arrow[r, equals] \& ~ \end{tikzcd}\!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
   \begin{center}
   \begin{tikzcd}[row sep=small, column sep=small]
   & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
   \end{tikzcd}
  \end{center}
   or if $f$ and $g$ are in the same equivalence class generated by this relation.
\end{definition}


It could have been much longer because I think emacs entered a infinite
loop.

Any ideas?

Regards

Uwe Brauer 




Emacs  : GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars)
 of 2024-09-03
Package: 14.0.6.2024-10-22_10:04:26

current state:
==============
(setq
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("/home/oub/emacs/site-lisp/packages/auctex-git/auctex/style" "auto" "style" "/home/oub/ALLES/emacs/site-lisp/auctex-private-style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX"
                     "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %(output-dir) %t"
                     TeX-run-TeX nil
                     (plain-tex-mode texinfo-mode ams-tex-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %(extraopts) %(o-dir) %t"
                     TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with Info output")
                    ("Makeinfo HTML"
                     "makeinfo %(extraopts) %(o-dir) --html %t"
                     TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX"
                     "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) %t"
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt"
                     "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt once")
                    ("ConTeXt Full"
                     "%(cntxcom) %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %(O?aux)" TeX-run-BibTeX nil
                     (plain-tex-mode latex-mode doctex-mode
                      context-mode texinfo-mode ams-tex-mode)
                     :help "Run BibTeX")
                    ("Biber" "biber %(output-dir) %s" TeX-run-Biber
                     nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Run Biber")
                    ("Texindex" "texindex %s.??" TeX-run-command nil
                     (texinfo-mode) :help "Run Texindex")
                    ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command
                     nil (texinfo-mode) :help
                     "Run Texi2dvi or Texi2pdf")
                    ("View" "%V" TeX-run-discard-or-function t t :help
                     "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help
                     "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible
                     TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Convert DVI file to PostScript")
                    ("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d"
                     TeX-run-dvipdfmx nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Convert DVI file to PDF with dvipdfmx")
                    ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Convert PostScript file to PDF")
                    ("Glossaries" "makeglossaries %(d-dir) %s"
                     TeX-run-command nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help
                     "Run makeglossaries to create glossary file")
                    ("Index" "makeindex %(O?idx)" TeX-run-index nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Run makeindex to create index file")
                    ("upMendex" "upmendex %(O?idx)" TeX-run-index t
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil
                     (plain-tex-mode latex-mode doctex-mode
                      texinfo-mode ams-tex-mode)
                     :help "Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil
                     (latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil
                     (latex-mode) :help
                     "Check LaTeX file for common mistakes")
                    ("Spell" "(TeX-ispell-document \"\")"
                     TeX-run-function nil t :help
                     "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil
                     t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    ("evince-new" "/usr/local/bin/evince %o"
                     TeX-run-command t t)
                    )
 )
-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Uwe Brauer <oub@HIDDEN>
Subject: bug#74009: Acknowledgement (14.0.6.2024-10-22_10:04:26;
 LaTeX-fill-environment does strange things when % is present)
Message-ID: <handler.74009.B.172984511127792.ack <at> debbugs.gnu.org>
References: <8734kkinxz.fsf@HIDDEN>
X-Gnu-PR-Message: ack 74009
X-Gnu-PR-Package: auctex
Reply-To: 74009 <at> debbugs.gnu.org
Date: Fri, 25 Oct 2024 08:32:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-auctex@HIDDEN

If you wish to submit further information on this problem, please
send it to 74009 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
74009: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74009
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
Resent-From: Arash Esbati <arash@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Tue, 29 Oct 2024 17:24:02 +0000
Resent-Message-ID: <handler.74009.B.173022262514227 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: 74009 <at> debbugs.gnu.org
Cc: oub@HIDDEN
X-Debbugs-Original-To: Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN>
X-Debbugs-Original-Cc: Uwe Brauer <oub@HIDDEN>, 74009 <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.173022262514227
          (code B ref -1); Tue, 29 Oct 2024 17:24:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Oct 2024 17:23:45 +0000
Received: from localhost ([127.0.0.1]:57555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5pwU-0003hK-Ss
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:23:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:46948)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1t5pwR-0003hB-Ka
 for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:23:41 -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 <arash@HIDDEN>) id 1t5pwR-0006bl-8j
 for bug-auctex@HIDDEN; Tue, 29 Oct 2024 13:23:39 -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 <arash@HIDDEN>)
 id 1t5pwQ-0006MS-Bh; Tue, 29 Oct 2024 13:23:38 -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=/f2wfPxDCkpMqTuMXsf2OU6ASVOf/02oJY8SBAZIDu8=; b=mjhiukPmswmMMyk2qon0
 pP7qC5HynK2gHMZviMK0aCcq82+immuohmBIBT7xacKAlETYZ6s+64eGIQYVYrD5YiAuw0lS4b/nU
 PcbAMFuEXqWaV0zQyd37JzmlofGH68WTSkQhCX8C0ztdGyBkjLpJ/wgpyAHLja/D76J1oxPUyP2Rz
 br3oG9lQM1YXPv54gbpR7TNJprKExkYzrstXv7JNbBAX8XE+rnF57xyxezSwT92l05sNK+uBNt06c
 paAKxm2b7UUasrOggf7DLDwrB95EcmqXHVuCJw5VYfF3p1PrL4wMMuYea1r9921UAY5XjsYwuNMfJ
 Kw9CN5ifo5JXLA==;
From: Arash Esbati <arash@HIDDEN>
In-Reply-To: <8734kkinxz.fsf@HIDDEN> (Uwe Brauer via bug-auctex via Bug
 reporting list for AUCTeX's message of "Fri, 25 Oct 2024 10:31:04
 +0200")
References: <8734kkinxz.fsf@HIDDEN>
Date: Tue, 29 Oct 2024 18:23:32 +0100
Message-ID: <m2cyjix1pn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN> writes:

> running LaTeX-fill-environment results in 
> formatting environment 41% I have to interrupt with C-g and obtain
>
> \begin{definition}[homotopy relation on
>   1-simplices]\label{defn:1-simplex-htpy}
>   \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
>   a simplicial set $X$ are \textbf{homotopic} if there exists a
>   2-simplex whose boundary takes either of the following
>   forms\footnote{The symbol ``$=$'' is used in diagrams to denote a
>     degenerate simplex or an identity arrow.}
>   % \footnote{The symbol
> [...]
>   % ``$\!\!\!\!\!\begin{tikzcd}[ampersand replacement=\&, sep=small] ~\arrow[r, equals] \& ~ \end{tikzcd}\!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
>    \begin{center}
>    \begin{tikzcd}[row sep=small, column sep=small]
>    & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
>    \end{tikzcd}
>   \end{center}
>    or if $f$ and $g$ are in the same equivalence class generated by this relation.
> \end{definition}
>
> It could have been much longer because I think emacs entered a infinite
> loop.
>
> Any ideas?

I didn't look closely, but slightly re-writting the code like this:

--8<---------------cut here---------------start------------->8---
\begin{definition}[homotopy relation on 1-simplices]\label{defn:1-simplex-htpy}
  \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in a simplicial set $X$ are \textbf{homotopic} if there exists a 2-simplex whose boundary takes either of the following forms\footnote{The symbol ``$=$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
   % \footnote{%
   % The symbol ``$\!\!\!\!\!%
   % \begin{tikzcd}[ampersand replacement=\&, sep=small]
   %   ~\arrow[r, equals] \& ~
   % \end{tikzcd}%
   % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
   \begin{center}
   \begin{tikzcd}[row sep=small, column sep=small]
   & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
   \end{tikzcd}
  \end{center}
   or if $f$ and $g$ are in the same equivalence class generated by this relation.
\end{definition}
--8<---------------cut here---------------end--------------->8---

and running `LaTeX-fill-environment' on this gives:

--8<---------------cut here---------------start------------->8---
\begin{definition}[homotopy relation on
    1-simplices]\label{defn:1-simplex-htpy}
  \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
  a simplicial set $X$ are \textbf{homotopic} if there exists a
  2-simplex whose boundary takes either of the following
  forms\footnote{The symbol ``$=$'' is used in diagrams to denote a
    degenerate simplex or an identity arrow.}
  % \footnote{% The symbol ``$\!\!\!\!\!%
  % \begin{tikzcd}[ampersand replacement=\&, sep=small]
  %   ~\arrow[r, equals] \& ~
  % \end{tikzcd}%
  % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex
  % or an identity arrow.}
  \begin{center}
    \begin{tikzcd}[row sep=small, column sep=small]
      & y \arrow[dr, equals] & && & x \arrow[dr, "f"] \\ x \arrow[ur,
        "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals]
      \arrow[rr, "g"'] & & y
    \end{tikzcd}
  \end{center}
  or if $f$ and $g$ are in the same equivalence class generated by
  this relation.
\end{definition}
--8<---------------cut here---------------end--------------->8---

So I suspect it has something to do with the placement of
\begin/\end{tikzcd} in the comment.

Best, Arash




Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
Resent-From: Arash Esbati <arash@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Tue, 29 Oct 2024 17:24:02 +0000
Resent-Message-ID: <handler.74009.B74009.173022262814234 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: 74009 <at> debbugs.gnu.org
Cc: oub@HIDDEN
X-Debbugs-Original-To: Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN>
X-Debbugs-Original-Cc: Uwe Brauer <oub@HIDDEN>, 74009 <at> debbugs.gnu.org
Received: via spool by 74009-submit <at> debbugs.gnu.org id=B74009.173022262814234
          (code B ref 74009); Tue, 29 Oct 2024 17:24:02 +0000
Received: (at 74009) by debbugs.gnu.org; 29 Oct 2024 17:23:48 +0000
Received: from localhost ([127.0.0.1]:57559 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5pwa-0003hW-BB
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:23:48 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60680)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1t5pwW-0003hA-6l
 for 74009 <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:23:44 -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 <arash@HIDDEN>)
 id 1t5pwQ-0006MS-Bh; Tue, 29 Oct 2024 13:23:38 -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=/f2wfPxDCkpMqTuMXsf2OU6ASVOf/02oJY8SBAZIDu8=; b=mjhiukPmswmMMyk2qon0
 pP7qC5HynK2gHMZviMK0aCcq82+immuohmBIBT7xacKAlETYZ6s+64eGIQYVYrD5YiAuw0lS4b/nU
 PcbAMFuEXqWaV0zQyd37JzmlofGH68WTSkQhCX8C0ztdGyBkjLpJ/wgpyAHLja/D76J1oxPUyP2Rz
 br3oG9lQM1YXPv54gbpR7TNJprKExkYzrstXv7JNbBAX8XE+rnF57xyxezSwT92l05sNK+uBNt06c
 paAKxm2b7UUasrOggf7DLDwrB95EcmqXHVuCJw5VYfF3p1PrL4wMMuYea1r9921UAY5XjsYwuNMfJ
 Kw9CN5ifo5JXLA==;
From: Arash Esbati <arash@HIDDEN>
In-Reply-To: <8734kkinxz.fsf@HIDDEN> (Uwe Brauer via bug-auctex via Bug
 reporting list for AUCTeX's message of "Fri, 25 Oct 2024 10:31:04
 +0200")
References: <8734kkinxz.fsf@HIDDEN>
Date: Tue, 29 Oct 2024 18:23:32 +0100
Message-ID: <m2cyjix1pn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN> writes:

> running LaTeX-fill-environment results in 
> formatting environment 41% I have to interrupt with C-g and obtain
>
> \begin{definition}[homotopy relation on
>   1-simplices]\label{defn:1-simplex-htpy}
>   \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
>   a simplicial set $X$ are \textbf{homotopic} if there exists a
>   2-simplex whose boundary takes either of the following
>   forms\footnote{The symbol ``$=$'' is used in diagrams to denote a
>     degenerate simplex or an identity arrow.}
>   % \footnote{The symbol
> [...]
>   % ``$\!\!\!\!\!\begin{tikzcd}[ampersand replacement=\&, sep=small] ~\arrow[r, equals] \& ~ \end{tikzcd}\!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
>    \begin{center}
>    \begin{tikzcd}[row sep=small, column sep=small]
>    & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
>    \end{tikzcd}
>   \end{center}
>    or if $f$ and $g$ are in the same equivalence class generated by this relation.
> \end{definition}
>
> It could have been much longer because I think emacs entered a infinite
> loop.
>
> Any ideas?

I didn't look closely, but slightly re-writting the code like this:

--8<---------------cut here---------------start------------->8---
\begin{definition}[homotopy relation on 1-simplices]\label{defn:1-simplex-htpy}
  \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in a simplicial set $X$ are \textbf{homotopic} if there exists a 2-simplex whose boundary takes either of the following forms\footnote{The symbol ``$=$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
   % \footnote{%
   % The symbol ``$\!\!\!\!\!%
   % \begin{tikzcd}[ampersand replacement=\&, sep=small]
   %   ~\arrow[r, equals] \& ~
   % \end{tikzcd}%
   % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or an identity arrow.}
   \begin{center}
   \begin{tikzcd}[row sep=small, column sep=small]
   & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
   \end{tikzcd}
  \end{center}
   or if $f$ and $g$ are in the same equivalence class generated by this relation.
\end{definition}
--8<---------------cut here---------------end--------------->8---

and running `LaTeX-fill-environment' on this gives:

--8<---------------cut here---------------start------------->8---
\begin{definition}[homotopy relation on
    1-simplices]\label{defn:1-simplex-htpy}
  \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
  a simplicial set $X$ are \textbf{homotopic} if there exists a
  2-simplex whose boundary takes either of the following
  forms\footnote{The symbol ``$=$'' is used in diagrams to denote a
    degenerate simplex or an identity arrow.}
  % \footnote{% The symbol ``$\!\!\!\!\!%
  % \begin{tikzcd}[ampersand replacement=\&, sep=small]
  %   ~\arrow[r, equals] \& ~
  % \end{tikzcd}%
  % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex
  % or an identity arrow.}
  \begin{center}
    \begin{tikzcd}[row sep=small, column sep=small]
      & y \arrow[dr, equals] & && & x \arrow[dr, "f"] \\ x \arrow[ur,
        "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals]
      \arrow[rr, "g"'] & & y
    \end{tikzcd}
  \end{center}
  or if $f$ and $g$ are in the same equivalence class generated by
  this relation.
\end{definition}
--8<---------------cut here---------------end--------------->8---

So I suspect it has something to do with the placement of
\begin/\end{tikzcd} in the comment.

Best, Arash




Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
In-Reply-To: <8734kkinxz.fsf@HIDDEN>
Resent-From: Uwe Brauer <oub@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Tue, 29 Oct 2024 17:34:03 +0000
Resent-Message-ID: <handler.74009.B.173022323915523 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: Arash Esbati <arash@HIDDEN>
Cc: 74009 <at> debbugs.gnu.org, oub@HIDDEN
X-Debbugs-Original-Cc: Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN>, 74009 <at> debbugs.gnu.org, Uwe Brauer <oub@HIDDEN>
Reply-To: Uwe Brauer <oub@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.173022323915523
          (code B ref -1); Tue, 29 Oct 2024 17:34:03 +0000
Received: (at submit) by debbugs.gnu.org; 29 Oct 2024 17:33:59 +0000
Received: from localhost ([127.0.0.1]:57632 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5q6Q-00042J-G5
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:33:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:60800)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <oub@HIDDEN>) id 1t5q6O-00042D-GP
 for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:33:57 -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 <oub@HIDDEN>) id 1t5q6N-00086B-T3
 for bug-auctex@HIDDEN; Tue, 29 Oct 2024 13:33:56 -0400
Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <oub@HIDDEN>) id 1t5q6L-0008Ju-B0
 for bug-auctex@HIDDEN; Tue, 29 Oct 2024 13:33:55 -0400
Received: by mail-ej1-x631.google.com with SMTP id
 a640c23a62f3a-a9932aa108cso860500166b.2
 for <bug-auctex@HIDDEN>; Tue, 29 Oct 2024 10:33:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mat.ucm.es; s=google; t=1730223229; x=1730828029; darn=gnu.org;
 h=mime-version:user-agent:message-id:date:reply-to:references:subject
 :cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=5lx38e/vRtVdFV/iIAKaesGu1NqJnQmeZsPht9YfKxk=;
 b=kBYl67n1ejPdTxUzaAijL6cj48Q8EeiS9NIOmzXO0FX0KYPEKQ9tnKBLWDwJm7FCKP
 EXLlikQ3Z0eckPTw3ZI8jLFmI3LvGmBzAdBY165kWJcrIMjZISsM8QwBUY2FwhHQMXQ/
 0jZOKC+v1QCEmYZbAxFTZX4/+IFIq9luipcEE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1730223229; x=1730828029;
 h=mime-version:user-agent:message-id:date:reply-to:references:subject
 :cc:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=5lx38e/vRtVdFV/iIAKaesGu1NqJnQmeZsPht9YfKxk=;
 b=DirB1te4OPvMjmJemG1/Y81gdyUtDiYZx5T+L2J7qq4VJAH42db/6p5Ddpv5Ruu4CB
 gdEfbsTKV54/hMwS8+DaZCBit4ckn99Z7CZOqurkzgTeIIVtReN/VlkA3jDcYhTaSaQY
 z3ACHFeq0Wi5cSH8oDXDXyqKRt6WimW6T7HOcoxBrRk0yuC0XRd6B8Ya4aNNeHVcVH8y
 8/mAsxSK0aHAASK86+ILluTvSqlWY0zmXBeyO6w1YR5F3ghsma3qKZ0tpQl99jL9H5sB
 0xPWxEL7mEgY+VsAaFGTjUtlSsEbVCF5n6WKIVuPeO+q2n9xDnCLMIBdf3tW9TQ3HvE4
 5oQA==
X-Gm-Message-State: AOJu0YymbMsU90BAU2tUbHbKmiGfnYc752DZuERUpzYD2zFBMJMbB42H
 arVQ7OtORYNGk9IUEM5ZOkyoacGYbSAoEd2RyFJx4vND22CBncZw0WJwfgJ1lPc=
X-Google-Smtp-Source: AGHT+IHnnBsS42EV0biijl/eRRB+bTXleu58GlTVmxPABJm54gjqX57wJVEvdqewBwFYm11q4L+SxA==
X-Received: by 2002:a17:906:dc8f:b0:a9a:6dc:b39d with SMTP id
 a640c23a62f3a-a9de619e644mr1132017466b.41.1730223229134; 
 Tue, 29 Oct 2024 10:33:49 -0700 (PDT)
Received: from Utnapischtim
 (p200300fb0f046921bafce0790c66568d.dip0.t-ipconnect.de.
 [2003:fb:f04:6921:bafc:e079:c66:568d])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9b1f297a57sm495647466b.133.2024.10.29.10.33.48
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 29 Oct 2024 10:33:48 -0700 (PDT)
X-Mailer: emacs 29.4 (via feedmail 11-beta-1 I)
From: Uwe Brauer <oub@HIDDEN>
References: <8734kkinxz.fsf@HIDDEN> <m2cyjix1pn.fsf@HIDDEN>
Date: Tue, 29 Oct 2024 18:33:41 +0100
Message-ID: <87cyji6cga.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=sha256;   protocol="application/pkcs7-signature"
Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=oub@HIDDEN;
 helo=mail-ej1-x631.google.com
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

>>> "AE" =3D=3D Arash Esbati <arash@HIDDEN> writes:

> Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@g=
nu.org> writes:
>> running LaTeX-fill-environment results in=20
>> formatting environment 41% I have to interrupt with C-g and obtain
>>=20
>> \begin{definition}[homotopy relation on
>> 1-simplices]\label{defn:1-simplex-htpy}
>> \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
>> a simplicial set $X$ are \textbf{homotopic} if there exists a
>> 2-simplex whose boundary takes either of the following
>> forms\footnote{The symbol ``$=3D$'' is used in diagrams to denote a
>> degenerate simplex or an identity arrow.}
>> % \footnote{The symbol
>> [...]
>> % ``$\!\!\!\!\!\begin{tikzcd}[ampersand replacement=3D\&, sep=3Dsmall] ~=
\arrow[r, equals] \& ~ \end{tikzcd}\!\!\!\!\!$'' is used in diagrams to den=
ote a degenerate simplex or an identity arrow.}
>> \begin{center}
>> \begin{tikzcd}[row sep=3Dsmall, column sep=3Dsmall]
>> & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \=
arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
>> \end{tikzcd}
>> \end{center}
>> or if $f$ and $g$ are in the same equivalence class generated by this re=
lation.
>> \end{definition}
>>=20
>> It could have been much longer because I think emacs entered a infinite
>> loop.
>>=20
>> Any ideas?

> I didn't look closely, but slightly re-writting the code like this:

> \begin{definition}[homotopy relation on 1-simplices]\label{defn:1-simplex=
-htpy}
>   \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in a =
simplicial set $X$ are \textbf{homotopic} if there exists a 2-simplex whose=
 boundary takes either of the following forms\footnote{The symbol ``$=3D$''=
 is used in diagrams to denote a degenerate simplex or an identity arrow.}
>    % \footnote{%
>    % The symbol ``$\!\!\!\!\!%
>    % \begin{tikzcd}[ampersand replacement=3D\&, sep=3Dsmall]
>    %   ~\arrow[r, equals] \& ~
>    % \end{tikzcd}%
>    % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or =
an identity arrow.}
>    \begin{center}
>    \begin{tikzcd}[row sep=3Dsmall, column sep=3Dsmall]
>    & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"]=
 \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
>    \end{tikzcd}
>   \end{center}
>    or if $f$ and $g$ are in the same equivalence class generated by this =
relation.
> \end{definition}


> and running `LaTeX-fill-environment' on this gives:

> \begin{definition}[homotopy relation on
>     1-simplices]\label{defn:1-simplex-htpy}
>   \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
>   a simplicial set $X$ are \textbf{homotopic} if there exists a
>   2-simplex whose boundary takes either of the following
>   forms\footnote{The symbol ``$=3D$'' is used in diagrams to denote a
>     degenerate simplex or an identity arrow.}
>   % \footnote{% The symbol ``$\!\!\!\!\!%
>   % \begin{tikzcd}[ampersand replacement=3D\&, sep=3Dsmall]
>   %   ~\arrow[r, equals] \& ~
>   % \end{tikzcd}%
>   % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex
>   % or an identity arrow.}
>   \begin{center}
>     \begin{tikzcd}[row sep=3Dsmall, column sep=3Dsmall]
>       & y \arrow[dr, equals] & && & x \arrow[dr, "f"] \\ x \arrow[ur,
>         "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals]
>       \arrow[rr, "g"'] & & y
>     \end{tikzcd}
>   \end{center}
>   or if $f$ and $g$ are in the same equivalence class generated by
>   this relation.
> \end{definition}

> So I suspect it has something to do with the placement of
> \begin/\end{tikzcd} in the comment.

Hi Arash

First thanks for looking into this

Two comments

    1. Confirmed, you are right, but

    2. I receive lately a lot of latex files, with very very long lines
       (it seems that a lot of latex editor now support soft line
       wrapping), emacs still struggles I use virtual-auto-fill-mode
       from time to time but it is inferior than running auctex latex
       fill commands. So mostly I run LaTeX-fill-section on those files,
       and as this example indicates this can result in a sort of
       catastrophe since emacs becomes idle but is then silently filling
       the buffer with these
       %
       %
       lines.

    3. This is why I sent this report. It might be helpful if emacs
       would just abort the filling process with an error message, but I
       am not sure how this could be implemented
=20=20=20=20=20

Regards

Uwe=20


=2D-=20
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.=20
I support the EU and NATO membership of Ukraine.=20


--=-=-=
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=smime.p7s

MIIWMAYJKoZIhvcNAQcCoIIWITCCFh0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg
ghPHMIIFgzCCA2ugAwIBAgIPXZONMGc2yAYdGsdUhGkHMA0GCSqGSIb3DQEBCwUAMDsxCzAJBgNV
BAYTAkVTMREwDwYDVQQKDAhGTk1ULVJDTTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTAeFw0w
ODEwMjkxNTU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--




Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
In-Reply-To: <8734kkinxz.fsf@HIDDEN>
Resent-From: Uwe Brauer <oub@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Tue, 29 Oct 2024 17:35:02 +0000
Resent-Message-ID: <handler.74009.B74009.173022329215598 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: Arash Esbati <arash@HIDDEN>
Cc: 74009 <at> debbugs.gnu.org, oub@HIDDEN
X-Debbugs-Original-Cc: Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN>, 74009 <at> debbugs.gnu.org, Uwe Brauer <oub@HIDDEN>
Reply-To: Uwe Brauer <oub@HIDDEN>
Received: via spool by 74009-submit <at> debbugs.gnu.org id=B74009.173022329215598
          (code B ref 74009); Tue, 29 Oct 2024 17:35:02 +0000
Received: (at 74009) by debbugs.gnu.org; 29 Oct 2024 17:34:52 +0000
Received: from localhost ([127.0.0.1]:57641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5q7I-00043W-8w
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:34:52 -0400
Received: from mail-ed1-f42.google.com ([209.85.208.42]:47586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <oub@HIDDEN>) id 1t5q7G-00043Q-E3
 for 74009 <at> debbugs.gnu.org; Tue, 29 Oct 2024 13:34:51 -0400
Received: by mail-ed1-f42.google.com with SMTP id
 4fb4d7f45d1cf-5cb72918bddso7582324a12.3
 for <74009 <at> debbugs.gnu.org>; Tue, 29 Oct 2024 10:34:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mat.ucm.es; s=google; t=1730223229; x=1730828029; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:reply-to:references:subject
 :cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=5lx38e/vRtVdFV/iIAKaesGu1NqJnQmeZsPht9YfKxk=;
 b=gOSdtBxA59bY+yJQo3jMWXJWAOMga5Y6yfqueD+V6DRBbnWUwT7XyCLDFOmO3qzU5x
 ybbw2R8jhiDH68mG9JQjNtwNasO4/SqkeOgy6+t+9JruMNe0vUcTLIsSHFWbnnVgtIQ9
 9kvK80yNawrBnA9/Rd/ZzK22POdlK4Hp0CcK8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1730223229; x=1730828029;
 h=mime-version:user-agent:message-id:date:reply-to:references:subject
 :cc:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=5lx38e/vRtVdFV/iIAKaesGu1NqJnQmeZsPht9YfKxk=;
 b=FfJoruOt/4iFqIifJaKy309agzvKLErCsC3DQlo9TGdzC3y0SJD1b31LAJj+sExzFz
 D43tVYwQsAgirQLdUxWoW31fFW9dEXgm+Relv6TsVQjicudpzCcWQoda+G4dywJNCna6
 67bLsf49YngLmO/zsNoAzDoewYvGxeoEp75S/1rRCNnqxrJ9G7cEmNu4S8xkyQidOoAV
 7DwkVpk9CO0hB3eys5BWh45W4LQouSD2Pd4FQoEPKAckHgBQP0InVDXQGgSuQCh7GOxi
 AD0aQapfZxDk6ug1fMCW4NKYYqDgB/PNP7yDJrPcn6tfskoIgDLnWBC1wuOKGP+UfMX5
 2pRw==
X-Forwarded-Encrypted: i=1;
 AJvYcCXseZcVZg0ItFMOuoiOTxHMuFPUWbjML8D78pa8hv6bE8bnZh83kKbj/keoy+09BZS8GTtu9w==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yz3zLs0pi/DrhgvqIbXDluepOCL0YUvzJj9NwiZXdkjF9ReceBn
 B0MOnJCpn74dphDDLiNbzr+alRANxLjjs8kCXu6vXGhYYjMEFRuIFsG952g0z4A=
X-Google-Smtp-Source: AGHT+IHnnBsS42EV0biijl/eRRB+bTXleu58GlTVmxPABJm54gjqX57wJVEvdqewBwFYm11q4L+SxA==
X-Received: by 2002:a17:906:dc8f:b0:a9a:6dc:b39d with SMTP id
 a640c23a62f3a-a9de619e644mr1132017466b.41.1730223229134; 
 Tue, 29 Oct 2024 10:33:49 -0700 (PDT)
Received: from Utnapischtim
 (p200300fb0f046921bafce0790c66568d.dip0.t-ipconnect.de.
 [2003:fb:f04:6921:bafc:e079:c66:568d])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9b1f297a57sm495647466b.133.2024.10.29.10.33.48
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 29 Oct 2024 10:33:48 -0700 (PDT)
X-Mailer: emacs 29.4 (via feedmail 11-beta-1 I)
From: Uwe Brauer <oub@HIDDEN>
References: <8734kkinxz.fsf@HIDDEN> <m2cyjix1pn.fsf@HIDDEN>
Date: Tue, 29 Oct 2024 18:33:41 +0100
Message-ID: <87cyji6cga.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=sha256;   protocol="application/pkcs7-signature"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

>>> "AE" =3D=3D Arash Esbati <arash@HIDDEN> writes:

> Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@g=
nu.org> writes:
>> running LaTeX-fill-environment results in=20
>> formatting environment 41% I have to interrupt with C-g and obtain
>>=20
>> \begin{definition}[homotopy relation on
>> 1-simplices]\label{defn:1-simplex-htpy}
>> \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
>> a simplicial set $X$ are \textbf{homotopic} if there exists a
>> 2-simplex whose boundary takes either of the following
>> forms\footnote{The symbol ``$=3D$'' is used in diagrams to denote a
>> degenerate simplex or an identity arrow.}
>> % \footnote{The symbol
>> [...]
>> % ``$\!\!\!\!\!\begin{tikzcd}[ampersand replacement=3D\&, sep=3Dsmall] ~=
\arrow[r, equals] \& ~ \end{tikzcd}\!\!\!\!\!$'' is used in diagrams to den=
ote a degenerate simplex or an identity arrow.}
>> \begin{center}
>> \begin{tikzcd}[row sep=3Dsmall, column sep=3Dsmall]
>> & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"] \=
arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
>> \end{tikzcd}
>> \end{center}
>> or if $f$ and $g$ are in the same equivalence class generated by this re=
lation.
>> \end{definition}
>>=20
>> It could have been much longer because I think emacs entered a infinite
>> loop.
>>=20
>> Any ideas?

> I didn't look closely, but slightly re-writting the code like this:

> \begin{definition}[homotopy relation on 1-simplices]\label{defn:1-simplex=
-htpy}
>   \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in a =
simplicial set $X$ are \textbf{homotopic} if there exists a 2-simplex whose=
 boundary takes either of the following forms\footnote{The symbol ``$=3D$''=
 is used in diagrams to denote a degenerate simplex or an identity arrow.}
>    % \footnote{%
>    % The symbol ``$\!\!\!\!\!%
>    % \begin{tikzcd}[ampersand replacement=3D\&, sep=3Dsmall]
>    %   ~\arrow[r, equals] \& ~
>    % \end{tikzcd}%
>    % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex or =
an identity arrow.}
>    \begin{center}
>    \begin{tikzcd}[row sep=3Dsmall, column sep=3Dsmall]
>    & y \arrow[dr, equals] & && &  x \arrow[dr, "f"]  \\ x \arrow[ur, "f"]=
 \arrow[rr, "g"'] & & y & & x \arrow[ur, equals] \arrow[rr, "g"'] & & y
>    \end{tikzcd}
>   \end{center}
>    or if $f$ and $g$ are in the same equivalence class generated by this =
relation.
> \end{definition}


> and running `LaTeX-fill-environment' on this gives:

> \begin{definition}[homotopy relation on
>     1-simplices]\label{defn:1-simplex-htpy}
>   \uses{defn:simplicial-set} A parallel pair of 1-sim\-plices $f,g$ in
>   a simplicial set $X$ are \textbf{homotopic} if there exists a
>   2-simplex whose boundary takes either of the following
>   forms\footnote{The symbol ``$=3D$'' is used in diagrams to denote a
>     degenerate simplex or an identity arrow.}
>   % \footnote{% The symbol ``$\!\!\!\!\!%
>   % \begin{tikzcd}[ampersand replacement=3D\&, sep=3Dsmall]
>   %   ~\arrow[r, equals] \& ~
>   % \end{tikzcd}%
>   % \!\!\!\!\!$'' is used in diagrams to denote a degenerate simplex
>   % or an identity arrow.}
>   \begin{center}
>     \begin{tikzcd}[row sep=3Dsmall, column sep=3Dsmall]
>       & y \arrow[dr, equals] & && & x \arrow[dr, "f"] \\ x \arrow[ur,
>         "f"] \arrow[rr, "g"'] & & y & & x \arrow[ur, equals]
>       \arrow[rr, "g"'] & & y
>     \end{tikzcd}
>   \end{center}
>   or if $f$ and $g$ are in the same equivalence class generated by
>   this relation.
> \end{definition}

> So I suspect it has something to do with the placement of
> \begin/\end{tikzcd} in the comment.

Hi Arash

First thanks for looking into this

Two comments

    1. Confirmed, you are right, but

    2. I receive lately a lot of latex files, with very very long lines
       (it seems that a lot of latex editor now support soft line
       wrapping), emacs still struggles I use virtual-auto-fill-mode
       from time to time but it is inferior than running auctex latex
       fill commands. So mostly I run LaTeX-fill-section on those files,
       and as this example indicates this can result in a sort of
       catastrophe since emacs becomes idle but is then silently filling
       the buffer with these
       %
       %
       lines.

    3. This is why I sent this report. It might be helpful if emacs
       would just abort the filling process with an error message, but I
       am not sure how this could be implemented
=20=20=20=20=20

Regards

Uwe=20


=2D-=20
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.=20
I support the EU and NATO membership of Ukraine.=20


--=-=-=
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=smime.p7s

MIIWMAYJKoZIhvcNAQcCoIIWITCCFh0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg
ghPHMIIFgzCCA2ugAwIBAgIPXZONMGc2yAYdGsdUhGkHMA0GCSqGSIb3DQEBCwUAMDsxCzAJBgNV
BAYTAkVTMREwDwYDVQQKDAhGTk1ULVJDTTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTAeFw0w
ODEwMjkxNTU5NTZaFw0zMDAxMDEwMDAwMDBaMDsxCzAJBgNVBAYTAkVTMREwDwYDVQQKDAhGTk1U
LVJDTTEZMBcGA1UECwwQQUMgUkFJWiBGTk1ULVJDTTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
AgoCggIBALpxgHpMhm5/yBNtwMZ9HACXjywMI7sQmkCpGreHiPibVmr75nuOi5KOpyVdWRHbNi63
URcfqQgfBBckWKo3Shjf5TnUV/3XwSyRAZHiItQDwFj8d0fs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2Ogw1fF/axpJItZ/CSDsaTTnsYGIG5mr9KHpHPty01BwExggItMIIC
KQIBATBfMEsxCzAJBgNVBAYTAkVTMREwDwYDVQQKDAhGTk1ULVJDTTEOMAwGA1UECwwFQ2VyZXMx
GTAXBgNVBAMMEEFDIEZOTVQgVXN1YXJpb3MCEE7jGLDRL7reYiUcckKTal4wDQYJYIZIAWUDBAIB
BQCggaAwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMjQxMDI5MTcz
MzQxWjAvBgkqhkiG9w0BCQQxIgQg5tjb7uvVyRRJ0jRh4gMldf68rHDll7SXud4L0Cu/dAYwNQYJ
KoZIhvcNAQkPMSgwJjALBglghkgBZQMEASowCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA0GCSqG
SIb3DQEBAQUABIIBAFGx2yaQX5B7VGLDqcZ80jjkMvwra00XIOlohTYwj8rzVSFhZuxLhlMZBnSG
nvmvFNgP5lslUQb39KVatVX+N5WxYpG8BSG5+jDiUzCEHrDpca6o8HUfAd/3T6z/dht3YGMMYkoc
SBJ1IhTuLqLgQn0TaArpU15LRi3zkNl95EoBOu65lyMmMoqsC7Djb1QKmC+WqkkgoOJcWKT1C/5i
L6YJjQwHtzUAjzGmkFzlo81jeP/BXGHs/86Avs3TOLFoYdprkMSgBpW8Tb78UbjgjqqpefHgJe70
zpcnxDBg45JaGQnjni75YB66UmDjv9r9nIPgxZn0nmUQOsH0SgqfRHU=
--=-=-=--




Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
Resent-From: Arash Esbati <arash@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Tue, 29 Oct 2024 20:36:01 +0000
Resent-Message-ID: <handler.74009.B.17302341315318 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: Uwe Brauer <oub@HIDDEN>
Cc: 74009 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN>, 74009 <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.17302341315318
          (code B ref -1); Tue, 29 Oct 2024 20:36:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Oct 2024 20:35:31 +0000
Received: from localhost ([127.0.0.1]:58659 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5sw7-0001Ng-Fs
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 16:35:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:50688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1t5sw5-0001NV-8r
 for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 16:35:30 -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 <arash@HIDDEN>) id 1t5sw4-000646-W3
 for bug-auctex@HIDDEN; Tue, 29 Oct 2024 16:35:29 -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 <arash@HIDDEN>)
 id 1t5sw4-0003E0-48; Tue, 29 Oct 2024 16:35:28 -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=A3pOAgI7XQllg3jYWvdZ8U11pK3AnGxK53kOBHG0yjA=; b=dOYhfK8SpkpPzgYmSseE
 42nF4lYT/5c3GCAE4BnC4yxm2cB4GUjYbSnIw5VFNbBq1aGu/XQDuS9kl6kfWJAUtr40bzcfbWmgO
 OD/imLXFa/Ew7G3Esuhl29M6V6X8+GwGHtzw3DLEYwMFzfERw/ijeNFZe9uu1WARHIc6NpZ48PUXB
 5HlXxh2x0UfSNdpjm+dYInKAhDJXquY8l/qjcgcm+BJg97JvI/dOGOYUnerm84UBa+gPbWhPjmiaK
 Xwmy/wC+15frD0A9YrjUbw85eEUPJGh/SXLU5rnfhc/fpHPwd08in3OGJoN/AOlr2J1f44+Q/H7oz
 QIl0b3Tnt8xHGQ==;
From: Arash Esbati <arash@HIDDEN>
In-Reply-To: <87cyji6cga.fsf@HIDDEN> (Uwe Brauer's message of "Tue, 29 Oct
 2024 18:33:41 +0100")
References: <8734kkinxz.fsf@HIDDEN> <m2cyjix1pn.fsf@HIDDEN>
 <87cyji6cga.fsf@HIDDEN>
Date: Tue, 29 Oct 2024 21:35:24 +0100
Message-ID: <m2jzdqejg3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Uwe Brauer <oub@HIDDEN> writes:

>     2. I receive lately a lot of latex files, with very very long lines
>        (it seems that a lot of latex editor now support soft line
>        wrapping), emacs still struggles I use virtual-auto-fill-mode
>        from time to time but it is inferior than running auctex latex
>        fill commands. So mostly I run LaTeX-fill-section on those files,
>        and as this example indicates this can result in a sort of
>        catastrophe since emacs becomes idle but is then silently filling
>        the buffer with these
>        %
>        %
>        lines.

AUCTeX shouldn't behave like this, so we should investigate why this
happens, but OTOH, AUCTeX isn't a text formatter for all sort of strange
code.  Maybe you want to give latexindent[1] a try and see, if it does a
better job in your case.

Best, Arash

Footnotes:
[1]  https://ctan.org/pkg/latexindent




Message sent to bug-auctex@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#74009: 14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
Resent-From: Arash Esbati <arash@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-auctex@HIDDEN
Resent-Date: Tue, 29 Oct 2024 20:36:02 +0000
Resent-Message-ID: <handler.74009.B74009.17302341375337 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74009
X-GNU-PR-Package: auctex
X-GNU-PR-Keywords: 
To: Uwe Brauer <oub@HIDDEN>
Cc: 74009 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: Uwe Brauer via bug-auctex via Bug reporting list for AUCTeX <bug-auctex@HIDDEN>, 74009 <at> debbugs.gnu.org
Received: via spool by 74009-submit <at> debbugs.gnu.org id=B74009.17302341375337
          (code B ref 74009); Tue, 29 Oct 2024 20:36:02 +0000
Received: (at 74009) by debbugs.gnu.org; 29 Oct 2024 20:35:37 +0000
Received: from localhost ([127.0.0.1]:58664 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t5swC-0001Nz-S7
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2024 16:35:37 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1t5swA-0001NT-0T
 for 74009 <at> debbugs.gnu.org; Tue, 29 Oct 2024 16:35:34 -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 <arash@HIDDEN>)
 id 1t5sw4-0003E0-48; Tue, 29 Oct 2024 16:35:28 -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=A3pOAgI7XQllg3jYWvdZ8U11pK3AnGxK53kOBHG0yjA=; b=dOYhfK8SpkpPzgYmSseE
 42nF4lYT/5c3GCAE4BnC4yxm2cB4GUjYbSnIw5VFNbBq1aGu/XQDuS9kl6kfWJAUtr40bzcfbWmgO
 OD/imLXFa/Ew7G3Esuhl29M6V6X8+GwGHtzw3DLEYwMFzfERw/ijeNFZe9uu1WARHIc6NpZ48PUXB
 5HlXxh2x0UfSNdpjm+dYInKAhDJXquY8l/qjcgcm+BJg97JvI/dOGOYUnerm84UBa+gPbWhPjmiaK
 Xwmy/wC+15frD0A9YrjUbw85eEUPJGh/SXLU5rnfhc/fpHPwd08in3OGJoN/AOlr2J1f44+Q/H7oz
 QIl0b3Tnt8xHGQ==;
From: Arash Esbati <arash@HIDDEN>
In-Reply-To: <87cyji6cga.fsf@HIDDEN> (Uwe Brauer's message of "Tue, 29 Oct
 2024 18:33:41 +0100")
References: <8734kkinxz.fsf@HIDDEN> <m2cyjix1pn.fsf@HIDDEN>
 <87cyji6cga.fsf@HIDDEN>
Date: Tue, 29 Oct 2024 21:35:24 +0100
Message-ID: <m2jzdqejg3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Uwe Brauer <oub@HIDDEN> writes:

>     2. I receive lately a lot of latex files, with very very long lines
>        (it seems that a lot of latex editor now support soft line
>        wrapping), emacs still struggles I use virtual-auto-fill-mode
>        from time to time but it is inferior than running auctex latex
>        fill commands. So mostly I run LaTeX-fill-section on those files,
>        and as this example indicates this can result in a sort of
>        catastrophe since emacs becomes idle but is then silently filling
>        the buffer with these
>        %
>        %
>        lines.

AUCTeX shouldn't behave like this, so we should investigate why this
happens, but OTOH, AUCTeX isn't a text formatter for all sort of strange
code.  Maybe you want to give latexindent[1] a try and see, if it does a
better job in your case.

Best, Arash

Footnotes:
[1]  https://ctan.org/pkg/latexindent





Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.