unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Any way to remove ^L or ^M from some buffer outputs?
Date: Sat, 10 Oct 2020 10:02:56 +0300	[thread overview]
Message-ID: <83ft6m5zrz.fsf@gnu.org> (raw)
In-Reply-To: <20201010002302.GF12803@protected.rcdrun.com> (message from Jean Louis on Sat, 10 Oct 2020 03:23:02 +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	other threads:[~2020-10-10  7:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 14:52 Any way to remove ^L or ^M from some buffer outputs? Jean Louis
2020-10-04 16:51 ` Drew Adams
2020-10-04 18:41   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-05  9:06     ` Jean Louis
2020-10-05  9:43       ` Eli Zaretskii
2020-10-05  9:47       ` Joost Kremers
2020-10-05 12:54         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-05 17:06       ` Drew Adams
2020-10-05 18:14         ` Jean Louis
2020-10-05 18:21           ` Eli Zaretskii
2020-10-05 18:23             ` Eli Zaretskii
2020-10-05 18:59             ` Yuri Khan
2020-10-05 19:13             ` Stefan Monnier
2020-10-10  0:23             ` Jean Louis
2020-10-10  7:02               ` Eli Zaretskii [this message]
2020-10-04 19:41 ` Patrick Mahan
2020-10-04 19:49   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-04 20:32     ` Patrick Mahan
2020-10-04 22:56       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-04 23:26         ` 2QdxY4RzWzUUiLuE
2020-10-04 23:43           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-05  3:57         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-05  7:29         ` tomas
2020-10-05 18:44         ` Nick Dokos
2020-10-05 19:16 ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ft6m5zrz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).