From: Drew Adams <drew.adams@oracle.com>
To: Steinar Bang <sb@dod.no>, help-gnu-emacs@gnu.org
Subject: RE: How to see the raw line endings in a file?
Date: Sun, 31 Mar 2019 12:20:25 -0700 (PDT) [thread overview]
Message-ID: <c1a6c57d-c37c-4072-8620-cd5b0e3a0032@default> (raw)
In-Reply-To: <865zrzhtya.fsf@dod.no>
> Is there a way in emacs where I can be sure that I see that the files
> have line endings of a particular form?
Eli has answered your question, I think.
Additionally, you can use command `hc-highlight-chars'
from library `highlight-chars.el' to highlight any set
of chars you like, in any face you like.
To highlight control chars newline (`C-j') and carriage
return (`C-m'), you type `C-q C-j C-q C-m'.
With a prefix arg the command unhighlights.
https://www.emacswiki.org/emacs/download/highlight-chars.el
https://www.emacswiki.org/emacs/ShowWhiteSpace#HighlightChars
prev parent reply other threads:[~2019-03-31 19:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-31 16:47 How to see the raw line endings in a file? Steinar Bang
2019-03-31 17:18 ` Eli Zaretskii
2019-03-31 17:33 ` Steinar Bang
2019-03-31 17:44 ` Eli Zaretskii
2019-03-31 18:57 ` Steinar Bang
2019-03-31 19:09 ` Steinar Bang
2019-03-31 20:17 ` Eli Zaretskii
2019-03-31 19:10 ` Eli Zaretskii
2019-03-31 20:08 ` Stefan Monnier
2019-03-31 19:20 ` Drew Adams [this message]
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=c1a6c57d-c37c-4072-8620-cd5b0e3a0032@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=sb@dod.no \
/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).