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: Eli Zaretskii
Subject: Re: Any way to remove ^L or ^M from some buffer outputs?
Date: Sat, 10 Oct 2020 10:02:56 +0300

> Date: Sat, 10 Oct 2020 03:23:02 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: help-gnu-emacs@gnu.org
> 
> * Eli Zaretskii <eliz@gnu.org> [2020-10-05 21:23]:
> > > Date: Mon, 5 Oct 2020 21:14:25 +0300
> > > From: Jean Louis <bugs@gnu.support>
> > > Cc: help-gnu-emacs@gnu.org
> > > 
> > > 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.
> 
> Do you mean the variable default-process-coding-system ?

I'm not sure, because you didn't tell enough details regarding how
this text was received from the shell.  In the simplest case, using
"C-x RET c" prefix before invoking the shell command could be a better
solution; no need to change the defaults.



reply via email to

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