[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.
- Re: Any way to remove ^L or ^M from some buffer outputs?, (continued)
- RE: Any way to remove ^L or ^M from some buffer outputs?, Drew Adams, 2020/10/05
- Re: Any way to remove ^L or ^M from some buffer outputs?, Jean Louis, 2020/10/05
- Re: Any way to remove ^L or ^M from some buffer outputs?, Eli Zaretskii, 2020/10/05
- Re: Any way to remove ^L or ^M from some buffer outputs?, Eli Zaretskii, 2020/10/05
- Re: Any way to remove ^L or ^M from some buffer outputs?, Yuri Khan, 2020/10/05
- Re: Any way to remove ^L or ^M from some buffer outputs?, Stefan Monnier, 2020/10/05
- Re: Any way to remove ^L or ^M from some buffer outputs?, Jean Louis, 2020/10/09
- Re: Any way to remove ^L or ^M from some buffer outputs?,
Eli Zaretskii <=
Re: Any way to remove ^L or ^M from some buffer outputs?, Patrick Mahan, 2020/10/04
Re: Any way to remove ^L or ^M from some buffer outputs?, Nick Dokos, 2020/10/05