Hi
Sometimes when calling LaTeX-fill-environment I receive an error, whose trace I
attach. Restarting emacs resolves the problem, so I am not sure who is the
culprit here.
Regards
Uwe Brauer
Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.14.6, Xaw3d scroll bars)
of 2022-05-02
Package: 13.0.9
current state:
==============
(setq
AUCTeX-date "2021-04-25"
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 ams-tex-mode texinfo-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
ams-tex-mode texinfo-mode context-mode)
:help "Run BibTeX")
("Biber" "biber %(output-dir) %s" TeX-run-Biber
nil
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-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
ams-tex-mode texinfo-mode)
:help "Generate PostScript file")
("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-mode)
:help "Convert DVI file to PostScript")
("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d"
TeX-run-dvipdfmx nil
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-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
ams-tex-mode texinfo-mode)
:help "Convert PostScript file to PDF")
("Glossaries" "makeglossaries %(d-dir) %s"
TeX-run-command nil
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-mode)
:help
"Run makeglossaries to create glossary file")
("Index" "makeindex %(O?idx)" TeX-run-index nil
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-mode)
:help "Run makeindex to create index file")
("upMendex" "upmendex %(O?idx)" TeX-run-index t
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-mode)
:help "Run upmendex to create index file")
("Xindy" "texindy %s" TeX-run-command nil
(plain-tex-mode latex-mode doctex-mode
ams-tex-mode texinfo-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")
)
)
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2)
#f(compiled-function (old) "Workaround bug#31361." #<bytecode
-0x18b6fb6c607626d6>)(#f(compiled-function (&optional inhibit-widen) "Indent
line in proper way for current major mode.\nNormally, this is done by calling
the function specified by the\nvariable `indent-line-function'. However, if
the value of that\nvariable is present in the `indent-line-ignored-functions'
variable,\nhandle it specially (since those functions are used for
tabbing);\nin that case, indent by aligning to the previous non-blank
line.\n\nIgnore restriction, unless the optional argument INHIBIT-WIDEN
is\nnon-nil." (interactive nil) #<bytecode -0x4a9fc33acb80205>) t)
apply(#f(compiled-function (old) "Workaround bug#31361." #<bytecode
-0x18b6fb6c607626d6>) #f(compiled-function (&optional inhibit-widen) "Indent
line in proper way for current major mode.\nNormally, this is done by calling
the function specified by the\nvariable `indent-line-function'. However, if
the value of that\nvariable is present in the `indent-line-ignored-functions'
variable,\nhandle it specially (since those functions are used for
tabbing);\nin that case, indent by aligning to the previous non-blank
line.\n\nIgnore restriction, unless the optional argument INHIBIT-WIDEN
is\nnon-nil." (interactive nil) #<bytecode -0x4a9fc33acb80205>) t)
indent-according-to-mode(t)
indent-region-line-by-line(1563 1576)
indent-region(1563 1576 nil)
#f(compiled-function (from to &optional justify-flag) "Fill region as one
paragraph.\nBreak lines to fit `fill-column', but leave all lines ending
with\n\\\\ (plus its optional argument) alone. Lines with code\ncomments and
lines ending with `\\par' are included in filling but\nact as boundaries.
Prefix arg means justify too. From program,\npass args FROM, TO and
JUSTIFY-FLAG.\n\nYou can disable filling inside a specific environment by
adding\nit to `LaTeX-indent-environment-list', only indentation is\nperformed
in that case." (interactive "*r\nP") #<bytecode 0x153ef82b35d9a6d8>)(1563 1576
nil)
ad-Advice-LaTeX-fill-region-as-paragraph(#f(compiled-function (from to
&optional justify-flag) "Fill region as one paragraph.\nBreak lines to fit
`fill-column', but leave all lines ending with\n\\\\ (plus its optional
argument) alone. Lines with code\ncomments and lines ending with `\\par' are
included in filling but\nact as boundaries. Prefix arg means justify too.
From program,\npass args FROM, TO and JUSTIFY-FLAG.\n\nYou can disable filling
inside a specific environment by adding\nit to `LaTeX-indent-environment-list',
only indentation is\nperformed in that case." (interactive "*r\nP") #<bytecode
0x153ef82b35d9a6d8>) 1563 1577 nil)
apply(ad-Advice-LaTeX-fill-region-as-paragraph #f(compiled-function (from to
&optional justify-flag) "Fill region as one paragraph.\nBreak lines to fit
`fill-column', but leave all lines ending with\n\\\\ (plus its optional
argument) alone. Lines with code\ncomments and lines ending with `\\par' are
included in filling but\nact as boundaries. Prefix arg means justify too.
From program,\npass args FROM, TO and JUSTIFY-FLAG.\n\nYou can disable filling
inside a specific environment by adding\nit to `LaTeX-indent-environment-list',
only indentation is\nperformed in that case." (interactive "*r\nP") #<bytecode
0x153ef82b35d9a6d8>) (1563 1577 nil))
LaTeX-fill-region-as-paragraph(1563 1577 nil)
LaTeX-fill-paragraph(nil)
LaTeX-fill-region(1576 1865 nil " environment align")
LaTeX-fill-environment(nil)
LaTeX-align-tabular()
funcall-interactively(LaTeX-align-tabular)
call-interactively(LaTeX-align-tabular nil nil)
command-execute(LaTeX-align-tabular)
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex