Discussion:
AucTex inserting whitespace on M-q
Thomas Petazzoni
2005-02-15 08:35:17 UTC
Permalink
Hello,

(As I'm not on the list, please Cc: any answer, thanks.)

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).

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.

Thanks,

Thomas
--
PETAZZONI Thomas - ***@enix.org
http://thomas.enix.org - Jabber: ***@jabber.dk
http://kos.enix.org, http://sos.enix.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
Ralf Angeli
2005-02-15 09:49:20 UTC
Permalink
Post by Thomas Petazzoni
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).
* 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'.
Post by Thomas Petazzoni
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
Frank Küster
2005-02-15 09:55:58 UTC
Permalink
Post by Thomas Petazzoni
Hello,
(As I'm not on the list, please Cc: any answer, thanks.)
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.
Please always use M-x TeX-submit-bug-report when you complain about
AUCTeX, or at least use the Debian bugtracking system. Which version are
you using exactly?

Does upgrading to the current version in sarge/sid fix the problem?

Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Thomas Petazzoni
2005-02-15 10:10:44 UTC
Permalink
Hello,
Post by Frank Küster
Does upgrading to the current version in sarge/sid fix the problem?
Yes, version 11.55 works perfectly regarding trailing whitespaces.

I'll try to provide a verbatim example that displays the other problem
as soon as possible. There are other environnements that might need the
same thing, for example lstlisting.

Thomas
--
PETAZZONI Thomas - ***@enix.org
http://thomas.enix.org - Jabber: ***@jabber.dk
http://kos.enix.org, http://sos.enix.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
Loading...