GNU bug report logs - #69069
14.0.2; table alignment by align-current gives wrong result

Previous Next

Package: auctex;

Reported by: Uwe Siart <uwe.siart <at> tum.de>

Date: Mon, 12 Feb 2024 07:33:02 UTC

Severity: normal

Found in version 14.0.2

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Uwe Siart <uwe.siart <at> tum.de>
To: 69069 <at> debbugs.gnu.org
Subject: bug#69069: 14.0.2; table alignment by align-current gives wrong result
Date: Mon, 12 Feb 2024 08:31:30 +0100
When I do 'M-x align-current' on

,----
| Mat.-Nr. & Nachname & Vorname & Unterschrift \\
| Mat. No. & Surname  & Name    & Signature    \\
`----

(which would be the expected result, so align-current should do nothing
here) I get

,----
| Mat.-Nr. & Nachname & Vorname & Unterschrift \\
| Mat.     No.        & Surname & Name         & Signature \\
`----

instead. It seems like align-current gets confused by whitespace inside
cell content.

--
Uwe

Emacs  : GNU Emacs 29.2 (build 2, x86_64-w64-mingw32)
 of 2024-01-18
Package: 14.0.2

current state:
==============
(setq
 AUCTeX-date "2024-02-09"
 window-system 'w32
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex" "c:/Users/siart/.emacs.d/elpa/auctex-14.0.2/style"
                  "c:/Users/siart/.emacs.d/auctex/auto" "c:/Users/siart/.emacs.d/auctex/style" "auto" "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 %s %(output-dir)" TeX-run-Biber nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode ams-tex-mode) :help "Run Biber")
                    ("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 -landscaperotate -Ppdf -j0 -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 -landscaperotate -Ppdf -j0 -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 %d -o %(O?pdf)" 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 -dALLOWPSTRANSPARENCY %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 %(O?aux)" TeX-run-command nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode ams-tex-mode) :help
                     "Run makeglossaries to create glossary\n     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"))
 )
-- 
Dr.-Ing.
Uwe Siart

Technical University of Munich
TUM School of Computation, Information and Technology
Department of Electrical Engineering
Chair of High-Frequency Engineering

Arcisstraße 21
80333 Munich, Germany
Tel. +49 89 289 23374
Fax  +49 89 289 23365
uwe.siart <at> tum.de




This bug report was last modified 1 year and 94 days ago.

Previous Next


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