[Top][All Lists]

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

Re: address@hidden: ansi-term \e[J causes spurious newline [revised repo

From: Richard Stallman
Subject: Re: address@hidden: ansi-term \e[J causes spurious newline [revised report]]
Date: Thu, 22 Mar 2007 01:01:57 -0400

    Looking through the code, I think the calls to term-unwrap-line should
    be removed.  The note in the docstring of term-erase-in-display that
    it "should only be called when point is at the start of a screen line"
    is also false; this condition generally doesn't hold in situations
    where this function is called, and if we remove the term-unwrap-line
    calls, it's not necessary at all.

    Cursory testing seems to indicate that ansi-term behaves fine without
    the term-unwrap-line calls.

    What do you think?

I do not know that code, but if we do eventually make the change you
recommend, please put in a comment explaining that term-unwrap-line
was formerly called there, and a pointer to the test case for which
that call was removed.  That way, if this change breaks another case,
we will see what to do.

reply via email to

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