all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Seweryn Kokot <sewkokot@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: eol in emacs23
Date: Tue, 03 Feb 2009 11:26:38 +0100	[thread overview]
Message-ID: <87myd3hl41.fsf@poczta.po.opole.pl> (raw)

Hello,

In Emacs manual (info "(emacs)Recognize Coding")

,----[ (info "(emacs)Recognize Coding") ]
|    Emacs recognizes which kind of end-of-line conversion to use based on
| the contents of the file: if it sees only carriage-returns, or only
| carriage-return linefeed sequences, then it chooses the end-of-line
| conversion accordingly.  You can inhibit the automatic use of
| end-of-line conversion by setting the variable `inhibit-eol-conversion'
| to non-`nil'.  If you do that, DOS-style files will be displayed with
| the `^M' characters visible in the buffer; some people prefer this to
| the more subtle `(DOS)' end-of-line type indication near the left edge
| of the mode line (*note eol-mnemonic: Mode Line.).
`----

it is written that if inhibit-eol-conversion is non-nil
then I will see ^M at every line instead of (DOS) in modeline. However
no matter to what inhibit-eol-conversion is set (t or nil) I always get
(DOS) and no ^M when visiting a DOS file.

Any idea what is wrong?

Thanks in advance.
-- 
regards,
Seweryn







             reply	other threads:[~2009-02-03 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03 10:26 Seweryn Kokot [this message]
2009-02-03 19:55 ` eol in emacs23 Eli Zaretskii
2009-02-03 21:45   ` Seweryn Kokot

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=87myd3hl41.fsf@poczta.po.opole.pl \
    --to=sewkokot@gmail.com \
    --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.
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.