From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vadim Zaliva Newsgroups: gmane.emacs.bugs Subject: bug#72999: 29.4; fill-paragraph error in latex mode Date: Tue, 3 Sep 2024 08:46:10 +0200 Message-ID: <6412cb60-1182-4c09-8f52-b2e42b4fb7c5@crocodile.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------1WU0Nh0Zz6p3Dj1Pd3E3VPrh" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25815"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 72999@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 03 11:05:28 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 1slPTb-0006W4-Jb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Sep 2024 11:05:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slPTH-00075z-HC; Tue, 03 Sep 2024 05:05:07 -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 1slPTB-00075T-0Q for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 05:05:01 -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 1slPTA-0002Jd-JI for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 05:05:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=PsDqV8GcEtdNtlIT8EYO3mSblborJnjT3fpUGqhBOok=; b=jEKI/ipG9OJugfgOIBpnGw7hfpKyu+NjX6Nr0/qiHVkdgND5fDcp2yX53cyX44qAzRtT6uzqGixWjwWbIj/3wVkGYMtivPtY37IUsUXMMILLMszOWwsWoevqz3jQDAgpFqC7daa8wAGrEgyb6eF3/l/AX71PlrxfUoEeZGBeEXFrL5GwEIel9i8sMZcXQRd6E2+w9eXZMYiSEfoJ84jYDzQUB2IVXdvWBkuPT7rf30Z9nzHCASk3ASTFR0Dn15+yCv6dzqywdVQZM5aesk8keO1gE6367T024iBzQIApr9sr+wV3vQgvX3J7ugDscjsYfJ8xsn8mbAenm3F39ELwwA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slPUA-0004wW-Hz for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 05:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vadim Zaliva Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Sep 2024 09:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72999 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172535435418967 (code B ref -1); Tue, 03 Sep 2024 09:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Sep 2024 09:05:54 +0000 Original-Received: from localhost ([127.0.0.1]:58884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slPU0-0004vm-9Y for submit@debbugs.gnu.org; Tue, 03 Sep 2024 05:05:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slNK2-0000JI-Ke for submit@debbugs.gnu.org; Tue, 03 Sep 2024 02:47:28 -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 1slNIz-0007i3-4I for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 02:46:24 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slNIv-0005GI-4s for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2024 02:46:20 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a8682bb5e79so602038066b.2 for ; Mon, 02 Sep 2024 23:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crocodile-org.20230601.gappssmtp.com; s=20230601; t=1725345974; x=1725950774; darn=gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=PsDqV8GcEtdNtlIT8EYO3mSblborJnjT3fpUGqhBOok=; b=zY66JadodpvCnR7vuh3lQ1CcDHXsN3NGt/dmkW5scjH2yvBddfJeyFEIH/+2jL67hH OOLfCO6GUF06fCMCVPpbg/BNA4aDZTnVKpTa6RM2Dk9WIfK+kb94HTFH8k2GJVUFLCy4 uK0H3SPEDZVJQ30S+AFHhxZKsR6erCTbpfVotNBPlY4uqG5jkj7o9ooBDVG03yOH3iSE /jbuIAEMxWudvFhAppxdVScCP8YbHgATLgE8NoanOUgOYYCYe4n6J7XtgZktutmbm8d8 ZiyBty8QN3lgyAY/YkHUO7GHnsgiXJkP6iWTypSHXIhE0e7HYjvE9Hbh+01JrpWAXpBv 8EKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725345974; x=1725950774; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PsDqV8GcEtdNtlIT8EYO3mSblborJnjT3fpUGqhBOok=; b=Jj78a7w8Z72sb+NYkww9L5tIIDTRlvSHWI1Mpmmi5MdUPIONmJGrzJmUb5JWHT4i2f DlKhpvLqO4rZKWQCPGUUcdx4xVTUorDS05BXeI+B3JdU9LWleBag6ig5YZXPj99vK672 gYwSW3akFczN5qQ2MDE0ChOpt7BWueLGq1iaaxCp8cpSrNSM5jBUsqrdIbccFP4727WT O3nWdWzcI6gXXYil8u5lkWkU50nhpCkxNcfJRrBsviyj/xvp8FbaxWAb+RETCzPThBhB jWS2lJH7yzDyMCUu5Ty1djdH6t7BRDAljOKv3fwmQMo0JZRD9jDmtPbd1ggDE7DomS4p exGw== X-Gm-Message-State: AOJu0YwsRSYnmCAxUqSJwBoNXXqTI1hoUvzwEzQ5R2pmUrLHtHFZfAj5 VILMM2JPFuw/Gb/xbpnxM9/qpB1FgiorKODCZuiWkRaUKLnjQJ9/5gSnQPB9uQWvCZb5B3XyKH0 rnb7Cfg== X-Google-Smtp-Source: AGHT+IHdRbgGvRAaiKewx81LUvvFMgOZIYuWbNAmWRGhuAK8CFjQUy0yN/t/QouDgboeZlU7v0vvxA== X-Received: by 2002:a17:907:d02:b0:a86:a178:42de with SMTP id a640c23a62f3a-a89faf98507mr498812866b.54.1725345973562; Mon, 02 Sep 2024 23:46:13 -0700 (PDT) Original-Received: from [10.96.0.57] ([146.70.182.21]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a89891968f4sm639078366b.106.2024.09.02.23.46.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Sep 2024 23:46:12 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=lord@crocodile.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 03 Sep 2024 05:05:50 -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:291133 Archived-At: This is a multi-part message in MIME format. --------------1WU0Nh0Zz6p3Dj1Pd3E3VPrh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit --text follows this line-- If I have buffer like this: Foo \cite{bar} bar. And press `M-q` I get error: LaTeX-indent-calculate-last: Wrong type argument: stringp, nil In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,  cairo version 1.16.0) of 2024-06-23 built on lcy02-amd64-050 Repository revision: 176061eb965cf945e7627ce87bb16ec5a03f8a4d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101007 System Description: Ubuntu 23.10 Configured using:  'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3  --without-xaw3d --with-modules --with-cairo  --with-native-compilation=aot --without-pgtk --with-xinput2  --with-tree-sitter --with-json  'CFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include  -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu  -isystem/build/emacs/stage/usr/include -O2'  'CPPFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include  -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu  -isystem/build/emacs/stage/usr/include'  'LDFLAGS=-L/build/emacs/parts/emacs/install/lib  -L/build/emacs/parts/emacs/install/usr/lib  -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu  -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu  -L/build/emacs/stage/usr/lib'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings:   value of $LANG: en_US.UTF-8   locale-coding-system: utf-8-unix Major mode: LaTeX Minor modes in effect:   helm-mode: t   helm-minibuffer-history-mode: t   TeX-PDF-mode: t   lsp-diagnostics-mode: t   lsp-modeline-workspace-status-mode: t   lsp-modeline-diagnostics-mode: t   lsp-modeline-code-actions-mode: t   savehist-mode: t   lsp-ui-mode: t   lsp-ui-sideline-mode: t   flycheck-mode: t   lsp-managed-mode: t   lsp-mode: t   doom-modeline-mode: t   helm-file-preview-mode: t   delete-selection-mode: t   global-git-commit-mode: t   magit-auto-revert-mode: t   auto-revert-mode: t   server-mode: t   shell-dirtrack-mode: t   async-bytecomp-package-mode: t   override-global-mode: t   tooltip-mode: t   global-eldoc-mode: t   eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   line-number-mode: t   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t Load-path shadows: /home/lord/.emacs.d/elpa/transient-20240831.2233/transient hides /snap/emacs/current/usr/share/emacs/29.4/lisp/transient Features: (mailalias mailclient textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check shadow sort mail-extr emacsbug mm-archive url-cache url-http url-auth url-gw shortdoc help-fns radix-tree python sh-script treesit executable conf-mode vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view bug-reference magit-extras chatgpt-shell shell-maker ielm eshell esh-mode esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util helm-command helm-elisp helm-eval edebug debug backtrace helm-info helm-mode helm-misc misearch multi-isearch preview tex-mode font-latex latex latex-flymake tex-ispell tex-style tex texmathp latexenc image-file image-converter winner helm-external helm-net tramp-archive tramp-gvfs tramp-cache time-stamp zeroconf ffap lsp-diagnostics lsp-modeline lsp-lens mule-util display-line-numbers lsp-zig lsp-yang lsp-yaml lsp-xml lsp-wgsl lsp-volar lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-trunk lsp-toml lsp-tilt lsp-tex lsp-terraform lsp-svelte lsp-steep lsp-sqls lsp-sql lsp-sorbet lsp-solidity lsp-solargraph lsp-semgrep lsp-rust lsp-ruff-lsp lsp-ruby-syntax-tree lsp-ruby-lsp lsp-rubocop lsp-roslyn lsp-rf lsp-remark lsp-racket lsp-r lsp-qml lsp-pylsp lsp-pyls lsp-pwsh lsp-purescript lsp-pls lsp-php lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-nushell lsp-nix lsp-nim lsp-nginx lsp-move lsp-mojo lsp-mint lsp-meson lsp-mdx lsp-marksman lsp-markdown lsp-magik lsp-lua lsp-lisp lsp-kotlin lsp-json lsp-jq lsp-javascript lsp-idris lsp-haxe lsp-hack lsp-groovy lsp-graphql lsp-golangci-lint lsp-glsl lsp-gleam lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elm lsp-elixir lsp-earthly lsp-dockerfile lsp-dhall lsp-d lsp-cypher lsp-cucumber lsp-css lsp-csharp lsp-crystal lsp-credo lsp-cobol lsp-cmake lsp-clojure lsp-clangd lsp-bufls lsp-go lsp-completion lsp-beancount lsp-bash lsp-awk lsp-autotools lsp-astro lsp-asm lsp-ansible lsp-angular lsp-ada lsp-semantic-tokens lsp-actionscript oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview doc-view jka-compr ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi ox-md ox-beamer zoom-frm frame-cmds frame-fns avoid solarized-dark-theme savehist rust-utils rust-prog-mode rust-mode rust-playpen rust-compile rust-cargo rust-common rust-rustfmt lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-ui-util face-remap keytar lsp-grammarly grammarly lsp-mode lsp-protocol tree-widget wid-edit spinner network-stream nsm markdown-mode lv inline ht langtool ob-ein ein-cell ein-shared-output ein-output-area ein-kernel ein-ipdb ein-query ein-events ein-websocket websocket bindat ein-node ewoc ein-log ein-classes ein-core request anaphora ein-utils deferred ein org-protocol epresent ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-element org-persist org-id org-refile avl-tree org-bullets org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs tuareg tuareg-compat tuareg-opam flymake-proc flymake caml-help view find-file merlin-company merlin-xref merlin-cap merlin caml-types dune-format reformatter dune flex-mode jison-mode bison-mode slime apropos etags fileloop generator xref arc-mode archive-mode pp hyperspec company-coq company-coq-utils company-coq-tg company-coq-abbrev notifications dbus pulse yasnippet smie shr pixel-fill kinsoku url-file svg xml hideshow noutline outline company-math math-symbol-lists company doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path f s nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon org-pretty-table helm-file-preview project delsel ws-butler iflipb helm-ag compile magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient benchmark magit-git magit-base magit-section cursor-sensor crm dash compat compat-30 cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs solarized-theme solarized solarized-faces color imenu-anywhere helm-imenu imenu helm-flyspell helm-ls-git helm-files image-dired image-dired-tags image-dired-external image-dired-util xdg image-mode dired dired-loaddefs exif filenotify tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-osc ring parse-time iso8601 time-date helm-buffers all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons helm-occur helm-tags helm-locate helm-grep helm-regexp format-spec ansi-color helm-utils helm-help helm-types vc-git diff-mode vc vc-dispatcher helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async flyspell ispell multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines mc-hide-unmatched-lines-mode mc-mark-more sgml-mode facemenu dom thingatpt mc-cycle-cursors multiple-cursors-core advice rect edmacro kmacro use-package-bind-key bind-key easy-mmode use-package-ensure use-package-core finder-inf site-start comp comp-cstr warnings icons cl-extra help-mode 0blayout-autoloads 0x0-autoloads abl-mode-autoloads all-the-icons-autoloads bison-mode-autoloads chatgpt-shell-autoloads company-coq-autoloads company-math-autoloads dante-autoloads doom-modeline-autoloads dune-autoloads dune-format-autoloads ein-autoloads deferred-autoloads anaphora-autoloads epresent-autoloads flycheck-autoloads gnu-elpa-keyring-update-autoloads haskell-mode-autoloads helm-ag-autoloads helm-file-preview-autoloads helm-flyspell-autoloads helm-ls-git-autoloads helm-lsp-autoloads helm-swoop-autoloads helm-autoloads helm-core-autoloads async-autoloads iflipb-autoloads imenu-anywhere-autoloads keytar-autoloads langtool-autoloads latex-extra-autoloads auctex-autoloads tex-site lcr-autoloads lsp-grammarly-autoloads grammarly-autoloads lsp-ui-autoloads lsp-mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase magit-section-autoloads markdown-mode-autoloads math-symbol-lists-autoloads merlin-company-autoloads company-autoloads merlin-autoloads multiple-cursors-autoloads nerd-icons-autoloads opam-switch-mode-autoloads org-bullets-autoloads pkg-info-autoloads epl-autoloads polymode-autoloads popup-autoloads proof-general-autoloads proof-site proof-autoloads reformatter-autoloads request-autoloads rust-mode-autoloads shell-maker-autoloads shrink-path-autoloads f-autoloads dash-autoloads s-autoloads slime-autoloads macrostep-autoloads solarized-theme-autoloads spinner-autoloads transient-autoloads transpose-frame-autoloads tree-sitter-autoloads treesit-auto-autoloads tsc-autoloads tuareg-autoloads rx caml-autoloads websocket-autoloads wfnames-autoloads with-editor-autoloads info compat-autoloads ws-butler-autoloads xterm-color-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 2908334 59899)  (symbols 48 74434 57)  (strings 32 527596 20484)  (string-bytes 1 15859871)  (vectors 16 192370)  (vector-slots 8 4113748 99873)  (floats 8 1602 640)  (intervals 56 218265 4026)  (buffers 984 54)) -- "La perfection est atteinte non quand il ne reste rien a ajouter, mais quand il ne reste rien a enlever." (Antoine de Saint-Exupery) --------------1WU0Nh0Zz6p3Dj1Pd3E3VPrh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit --text follows this line--

If I have buffer like this:

Foo \cite{bar} bar.

And press `M-q` I get error:

LaTeX-indent-calculate-last: Wrong type argument: stringp, nil



In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
 cairo version 1.16.0) of 2024-06-23 built on lcy02-amd64-050
Repository revision: 176061eb965cf945e7627ce87bb16ec5a03f8a4d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Ubuntu 23.10

Configured using:
 'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3
 --without-xaw3d --with-modules --with-cairo
 --with-native-compilation=aot --without-pgtk --with-xinput2
 --with-tree-sitter --with-json
 'CFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include
 -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
 -isystem/build/emacs/stage/usr/include -O2'
 'CPPFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include
 -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
 -isystem/build/emacs/stage/usr/include'
 'LDFLAGS=-L/build/emacs/parts/emacs/install/lib
 -L/build/emacs/parts/emacs/install/usr/lib
 -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
 -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu
 -L/build/emacs/stage/usr/lib''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM
GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX

Minor modes in effect:
  helm-mode: t
  helm-minibuffer-history-mode: t
  TeX-PDF-mode: t
  lsp-diagnostics-mode: t
  lsp-modeline-workspace-status-mode: t
  lsp-modeline-diagnostics-mode: t
  lsp-modeline-code-actions-mode: t
  savehist-mode: t
  lsp-ui-mode: t
  lsp-ui-sideline-mode: t
  flycheck-mode: t
  lsp-managed-mode: t
  lsp-mode: t
  doom-modeline-mode: t
  helm-file-preview-mode: t
  delete-selection-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  auto-revert-mode: t
  server-mode: t
  shell-dirtrack-mode: t
  async-bytecomp-package-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/lord/.emacs.d/elpa/transient-20240831.2233/transient hides /snap/emacs/current/usr/share/emacs/29.4/lisp/transient

Features:
(mailalias mailclient textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check shadow sort mail-extr emacsbug mm-archive
url-cache url-http url-auth url-gw shortdoc help-fns radix-tree python
sh-script treesit executable conf-mode vc-hg vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs log-view bug-reference magit-extras chatgpt-shell
shell-maker ielm eshell esh-mode esh-cmd esh-ext esh-opt esh-proc esh-io
esh-arg esh-module esh-groups esh-util helm-command helm-elisp helm-eval
edebug debug backtrace helm-info helm-mode helm-misc misearch
multi-isearch preview tex-mode font-latex latex latex-flymake tex-ispell
tex-style tex texmathp latexenc image-file image-converter winner
helm-external helm-net tramp-archive tramp-gvfs tramp-cache time-stamp
zeroconf ffap lsp-diagnostics lsp-modeline lsp-lens mule-util
display-line-numbers lsp-zig lsp-yang lsp-yaml lsp-xml lsp-wgsl
lsp-volar lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala
lsp-v lsp-typeprof lsp-ttcn3 lsp-trunk lsp-toml lsp-tilt lsp-tex
lsp-terraform lsp-svelte lsp-steep lsp-sqls lsp-sql lsp-sorbet
lsp-solidity lsp-solargraph lsp-semgrep lsp-rust lsp-ruff-lsp
lsp-ruby-syntax-tree lsp-ruby-lsp lsp-rubocop lsp-roslyn lsp-rf
lsp-remark lsp-racket lsp-r lsp-qml lsp-pylsp lsp-pyls lsp-pwsh
lsp-purescript lsp-pls lsp-php lsp-perlnavigator lsp-perl lsp-openscad
lsp-ocaml lsp-nushell lsp-nix lsp-nim lsp-nginx lsp-move lsp-mojo
lsp-mint lsp-meson lsp-mdx lsp-marksman lsp-markdown lsp-magik lsp-lua
lsp-lisp lsp-kotlin lsp-json lsp-jq lsp-javascript lsp-idris lsp-haxe
lsp-hack lsp-groovy lsp-graphql lsp-golangci-lint lsp-glsl lsp-gleam
lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet
lsp-elm lsp-elixir lsp-earthly lsp-dockerfile lsp-dhall lsp-d lsp-cypher
lsp-cucumber lsp-css lsp-csharp lsp-crystal lsp-credo lsp-cobol
lsp-cmake lsp-clojure lsp-clangd lsp-bufls lsp-go lsp-completion
lsp-beancount lsp-bash lsp-awk lsp-autotools lsp-astro lsp-asm
lsp-ansible lsp-angular lsp-ada lsp-semantic-tokens lsp-actionscript
oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls
dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap
nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus
nnheader range ol-docview doc-view jka-compr ol-bibtex bibtex ol-bbdb
ol-w3m ol-doi org-link-doi ox-md ox-beamer zoom-frm frame-cmds frame-fns
avoid solarized-dark-theme savehist rust-utils rust-prog-mode rust-mode
rust-playpen rust-compile rust-cargo rust-common rust-rustfmt lsp-ui
lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek
lsp-ui-sideline flycheck lsp-ui-util face-remap keytar lsp-grammarly
grammarly lsp-mode lsp-protocol tree-widget wid-edit spinner
network-stream nsm markdown-mode lv inline ht langtool ob-ein ein-cell
ein-shared-output ein-output-area ein-kernel ein-ipdb ein-query
ein-events ein-websocket websocket bindat ein-node ewoc ein-log
ein-classes ein-core request anaphora ein-utils deferred ein
org-protocol epresent ox-odt rng-loc rng-uri rng-parse rng-match rng-dt
rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-element
org-persist org-id org-refile avl-tree org-bullets org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete
org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core
ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc
org-loaddefs find-func cal-menu calendar cal-loaddefs org-version
org-compat org-macs tuareg tuareg-compat tuareg-opam flymake-proc
flymake caml-help view find-file merlin-company merlin-xref merlin-cap
merlin caml-types dune-format reformatter dune flex-mode jison-mode
bison-mode slime apropos etags fileloop generator xref arc-mode
archive-mode pp hyperspec company-coq company-coq-utils company-coq-tg
company-coq-abbrev notifications dbus pulse yasnippet smie shr
pixel-fill kinsoku url-file svg xml hideshow noutline outline
company-math math-symbol-lists company doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
f s nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon
nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon
nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon
nerd-icons-data-powerline nerd-icons-data-octicon
nerd-icons-data-pomicon nerd-icons-data-ipsicon org-pretty-table
helm-file-preview project delsel ws-butler iflipb helm-ag compile
magit-submodule magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff git-commit log-edit message sendmail yank-media puny
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util
text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert
autorevert magit-margin magit-transient magit-process with-editor server
magit-mode transient benchmark magit-git magit-base magit-section
cursor-sensor crm dash compat compat-30 cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
solarized-theme solarized solarized-faces color imenu-anywhere
helm-imenu imenu helm-flyspell helm-ls-git helm-files image-dired
image-dired-tags image-dired-external image-dired-util xdg image-mode
dired dired-loaddefs exif filenotify tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell pcomplete comint ansi-osc
ring parse-time iso8601 time-date helm-buffers all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons helm-occur helm-tags
helm-locate helm-grep helm-regexp format-spec ansi-color helm-utils
helm-help helm-types vc-git diff-mode vc vc-dispatcher helm
helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source
helm-multi-match helm-lib async flyspell ispell multiple-cursors
mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines
mc-hide-unmatched-lines-mode mc-mark-more sgml-mode facemenu dom
thingatpt mc-cycle-cursors multiple-cursors-core advice rect edmacro
kmacro use-package-bind-key bind-key easy-mmode use-package-ensure
use-package-core finder-inf site-start comp comp-cstr warnings icons
cl-extra help-mode 0blayout-autoloads 0x0-autoloads abl-mode-autoloads
all-the-icons-autoloads bison-mode-autoloads chatgpt-shell-autoloads
company-coq-autoloads company-math-autoloads dante-autoloads
doom-modeline-autoloads dune-autoloads dune-format-autoloads
ein-autoloads deferred-autoloads anaphora-autoloads epresent-autoloads
flycheck-autoloads gnu-elpa-keyring-update-autoloads
haskell-mode-autoloads helm-ag-autoloads helm-file-preview-autoloads
helm-flyspell-autoloads helm-ls-git-autoloads helm-lsp-autoloads
helm-swoop-autoloads helm-autoloads helm-core-autoloads async-autoloads
iflipb-autoloads imenu-anywhere-autoloads keytar-autoloads
langtool-autoloads latex-extra-autoloads auctex-autoloads tex-site
lcr-autoloads lsp-grammarly-autoloads grammarly-autoloads
lsp-ui-autoloads lsp-mode-autoloads ht-autoloads lv-autoloads
magit-autoloads pcase magit-section-autoloads markdown-mode-autoloads
math-symbol-lists-autoloads merlin-company-autoloads company-autoloads
merlin-autoloads multiple-cursors-autoloads nerd-icons-autoloads
opam-switch-mode-autoloads org-bullets-autoloads pkg-info-autoloads
epl-autoloads polymode-autoloads popup-autoloads proof-general-autoloads
proof-site proof-autoloads reformatter-autoloads request-autoloads
rust-mode-autoloads shell-maker-autoloads shrink-path-autoloads
f-autoloads dash-autoloads s-autoloads slime-autoloads
macrostep-autoloads solarized-theme-autoloads spinner-autoloads
transient-autoloads transpose-frame-autoloads tree-sitter-autoloads
treesit-auto-autoloads tsc-autoloads tuareg-autoloads rx caml-autoloads
websocket-autoloads wfnames-autoloads with-editor-autoloads info
compat-autoloads ws-butler-autoloads xterm-color-autoloads
yasnippet-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 2908334 59899)
 (symbols 48 74434 57)
 (strings 32 527596 20484)
 (string-bytes 1 15859871)
 (vectors 16 192370)
 (vector-slots 8 4113748 99873)
 (floats 8 1602 640)
 (intervals 56 218265 4026)
 (buffers 984 54))


-- 
"La perfection est atteinte non quand il ne reste rien a ajouter, mais quand il ne reste rien a enlever."  (Antoine de Saint-Exupery)
--------------1WU0Nh0Zz6p3Dj1Pd3E3VPrh--