unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* eol in emacs23
@ 2009-02-03 10:26 Seweryn Kokot
  2009-02-03 19:55 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Seweryn Kokot @ 2009-02-03 10:26 UTC (permalink / raw)
  To: help-gnu-emacs

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







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-03 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 10:26 eol in emacs23 Seweryn Kokot
2009-02-03 19:55 ` Eli Zaretskii
2009-02-03 21:45   ` Seweryn Kokot

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).