* 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
* Re: eol in emacs23
2009-02-03 10:26 eol in emacs23 Seweryn Kokot
@ 2009-02-03 19:55 ` Eli Zaretskii
2009-02-03 21:45 ` Seweryn Kokot
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2009-02-03 19:55 UTC (permalink / raw
To: help-gnu-emacs
> From: Seweryn Kokot <sewkokot@gmail.com>
> Date: Tue, 03 Feb 2009 11:26:38 +0100
>
> 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?
It's a bug. Please use "M-x report-emacs-bug RET" to submit a bug
report about this.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: eol in emacs23
2009-02-03 19:55 ` Eli Zaretskii
@ 2009-02-03 21:45 ` Seweryn Kokot
0 siblings, 0 replies; 3+ messages in thread
From: Seweryn Kokot @ 2009-02-03 21:45 UTC (permalink / raw
To: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Seweryn Kokot <sewkokot@gmail.com>
>> Date: Tue, 03 Feb 2009 11:26:38 +0100
>>
>> 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?
>
> It's a bug. Please use "M-x report-emacs-bug RET" to submit a bug
> report about this.
>
> Thanks.
In fact it is a bug since it works correctly in emacs22.
I submitted the bug report.
--
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
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.