From: brakjoller@hotmail.com (Barman Brakjoller)
Subject: Re: How can I disable the display of ^M characters?
Date: 24 Jun 2003 01:39:00 -0700 [thread overview]
Message-ID: <1c58a7c3.0306240039.cb4567c@posting.google.com> (raw)
In-Reply-To: mailman.8548.1056433250.21513.help-gnu-emacs@gnu.org
> I often need to view log files which contain embedded control
> characters, and these buffers always contain a great number of ^M
> characters, which I find distracting.
>
> Can I get emacs to suppress the display of these characters?
Yes, I don't know if this is the correct way, but it seems to work for
me:
(standard-display-ascii ?\015 "")
and to turn it on again:
(standard-display-ascii ?\015 "^M") ;; Or whatever characters
;; you want to be seen
One time when I tried the first expression above and navigated to a
point ín the buffer where there were a ASCII 13 character, emacs
freezed, and I mean a major freeze. So test this a couple of times
before you try it in a critical situation with lot of unsaved buffers.
next parent reply other threads:[~2003-06-24 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8548.1056433250.21513.help-gnu-emacs@gnu.org>
2003-06-24 8:39 ` Barman Brakjoller [this message]
2003-06-24 9:28 ` How can I disable the display of ^M characters? Kai Großjohann
2003-06-24 5:40 Matt Noel
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=1c58a7c3.0306240039.cb4567c@posting.google.com \
--to=brakjoller@hotmail.com \
/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).