[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Trailing whitespace and RET

From: David Kastrup
Subject: Re: [AUCTeX] Trailing whitespace and RET
Date: Fri, 17 Mar 2006 12:56:26 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Uwe Siart <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>> Uwe Siart <address@hidden> writes:
>>> I found that AUCTeX eats up trailing whitespace in the current line
>>> after pressing RET. In case this is a wanted behaviour: Can it be
>>> customized if it was undesired?
>> Could you tell why you would think it a desired behavior? [...] So
>> what situation causes you trouble?
> The situation where it caused trouble: I tried to compose a rectangular
> region with some material which I wanted to yank back at several
> positions via rectangle registers. During composition of this
> rectangular/tabular material within the TeX buffer, I found that RET
> deleted those whitespaces (they were wanted here, for source formatting
> purposes).

I don't see what the problem is.  If you cut and paste a rectangle,
the parts get padded with blanks on pasting even if the original parts
had "early ending" lines.

> To conclude it in few words: Of course, multiple whitespace is not
> needed for (La)TeX, but for code formatting and beautifying.

Can you come up with a single _actual_ example where the current
behavior causes a problem?  I mean, a given text file and a sequence
of keystrokes that does not lead to the desired result?

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]