all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Any way to remove ^L or ^M from some buffer outputs?
Date: Mon, 05 Oct 2020 14:54:41 +0200	[thread overview]
Message-ID: <87lfgk6df2.fsf@ebih.ebihd> (raw)
In-Reply-To: 87k0w5qa22.fsf@fastmail.fm

Joost Kremers wrote:

> There is a package that should take care of ^L at least:

What is the deal with them chars, what are they
called, and why do they appear to begin with,
and where?

I know them only from IRC where you can do, with ERC
first

  (setq erc-interpret-mirc-color t)

then

  $ 08,04 * red army *  ( <-- here I use real chars, i.e
                                  M-x insert-char RET 3 RET )

which looks like this

  $ ^C08,04 * red army * ^C

only the ^C are in cyan (wierd, `what-face' [1] don't
report any face for them?)

BTW, actually, you don't need the closing char if
there is just one thing to color and that's to the
EOL. but consider:

  $ 08,03it\x0302,00al\x0308,04ia

which looks like

  $ ^C08,03it^C^C02,00al^C^C08,04ia^C

See this dump for how that looks, the red army one :) [2]

How to use the colors: [3]

Bonus photo: another red machine [4]


[1] https://dataswamp.org/~incal/emacs-init/my-faces.el

[2] https://dataswamp.org/~incal/figures/emacs/red-army.png

[3] https://help.codeux.com/textual/Text-Formatting.kb

[4] https://dataswamp.org/~incal/pimgs/red-machine.png

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




  reply	other threads:[~2020-10-05 12:54 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=87lfgk6df2.fsf@ebih.ebihd \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.