help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Any way to remove ^L or ^M from some buffer outputs?


From: Stefan Monnier
Subject: Re: Any way to remove ^L or ^M from some buffer outputs?
Date: Mon, 05 Oct 2020 15:13:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Those are shell output buffers and similar, and it looks ugly, I was
>> thinking there is some option to set, to avoid that. Of course I will
>> not edit it with hand, it is about watching output nicely formatted.
>
> If this text comes from the shell, you can make Emacs eliminate the ^M
> characters by setting the read part of process-coding-system to *-dos.

I think in the OP's case what the users really want is not that but to
treat it like a terminal would (i.e. erasing to BOL).


        Stefan




reply via email to

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