Hi Uwe,

>>>>> Uwe Siart <uwe.si...@tum.de> writes:
> 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.

Looking at align.el, there are several reference on lower case mode
names:
----------------------------------------------------------------------
(defcustom align-tex-modes
  '(tex-mode plain-tex-mode latex-mode slitex-mode)
  "A list of modes whose syntax resembles TeX (and family)."
  :type '(repeat symbol)
  :group 'align)
[...]
(defcustom align-rules-list
[...]
    (tex-tabbing-separator
     (regexp   . ,(lambda (end reverse)
                    (align-match-tex-pattern "\\\\[=>]" end reverse)))
     (group    . (1 2))
     (modes    . align-tex-modes)
     (repeat   . t)
     (run-if   . ,(lambda ()
                    (eq major-mode 'latex-mode))))
[...]
----------------------------------------------------------------------
For the time being, please change the value of these customize options.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to