Re: AucTex inserting whitespace on M-q
Ralf Angeli <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
* Thomas Petazzoni (2005-02-15) writes:
> I'm using Auctex 11.54 in Emacs 21.3 on a Debian GNU/Linux system.
> Auctex is really a nice mode, thanks for the great piece of software !
>
> I've only noted a minor detail : if I rewrap a paragraph using M-q, then
> a whitespace is added at the end of the following paragraphs. As I have
> asked Emacs to mark all trailing whitespaces in red, it adds some red
> characters at the end of each paragraph.
>
> (Mark all trailing whitespaces in red is done by using (setq-default
> show-trailing-whitespace t) in ~/.emacs.el).
From the Changes section in the manual of AUCTeX 11.55:
* A bug was fixed which lead to the insertion of trailing whitespace
during filling. In particular extra spaces were added to sentence
endings at the end of lines. You can make this whitespace visible
by setting the variable `show-trailing-whitespace' to `t'. If you
want to delete all trailing whitespace in a buffer, type `M-x
delete-trailing-whitespace RET'.
> An other thing which is a bit annoying is the fact that verbatim
> environnement are parsed by AucTex, which may led to wrong syntax
> colouring or shortcut functionning (ex: C-f-t it \texttt normally, but
> after a strange verbatim with $ charcters, C-f-t might be \mattth). I
> know this is on the TODO-list, but that would be a nice feature.
Syntax highlighting should be fixed. Can you provide an example file
where this is failing?
--
Ralf