emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change line endings - where is it explained?


From: Lennart Borgman
Subject: Re: How to change line endings - where is it explained?
Date: Sun, 14 May 2006 22:17:44 +0200
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Eli Zaretskii wrote:
Date: Tue, 09 May 2006 07:48:43 +0200
From: Lennart Borgman <address@hidden>
CC:  address@hidden

Yes, it is described in the node "Text and Binray".

What did you try to look for it?  Perhaps we need to improve the
indexing.
Thanks, yes I wonder why I missed that. A couple of small things perhaps:

- The name of the node is a bit "C style".
- I looked for "line endings".
- I looked for "line end conversion".
- I actually also searched for CRLF, but possibly only in the elisp manual since I wanted to do the conversion in code. - I was thinking about coding systems, but somehow I missed that you could use just 'unix or 'dos for the coding system in some operations. - I looked at the node "(emacs) Files" which says it tells everything about files.
- I looked at `buffer-file-coding-system' etc.

I added some index entries that should make this search easier.
Thanks for the index entries and for adding CRLF in a relevant place in the elisp manual.

- Something about line endings too in "(emacs) Files", possibly in connection with the link above.

Ditto: "Visiting" already talks about EOLs.
Oh, I found it! But I did not see it before. The reason is that I am nearly always searching, not reading. In "(emacs) Visiting" the term for line endings is "convention it uses to separate lines". Could perhaps "(line endings)" be added right after this? :

convention it uses to separate lines (line endings) -- newline (used on ...

- "(emacs) Coding Systems" should mention 'dos, 'unix and 'mac.

It already does, please take a closer look.
I just checked out a fresh copy from CVS and I am afraid I still can not find anything about the use of just 'dos, 'unix and 'mac like in

   M-x set-buffer-file-coding-system RET unix RET

As I understand it this changes just the line endings to unix style (LF). Would it not be good to mention this feature?

- "(elisp) Files" should mention line endings.

I added the references to code and EOL conversions to the appropriate
sections of files.texi.
Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]