From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: How to change line endings - where is it explained?
Date: Sun, 14 May 2006 22:17:44 +0200 [thread overview]
Message-ID: <44679068.20404@student.lu.se> (raw)
In-Reply-To: <uhd3v6s8r.fsf@gnu.org>
Eli Zaretskii wrote:
>> Date: Tue, 09 May 2006 07:48:43 +0200
>> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>> CC: emacs-devel@gnu.org
>>
>>
>>> 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.
next prev parent reply other threads:[~2006-05-14 20:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-08 22:45 How to change line endings - where is it explained? Lennart Borgman
2006-05-09 3:45 ` Eli Zaretskii
2006-05-09 5:48 ` Lennart Borgman
2006-05-12 17:57 ` Eli Zaretskii
2006-05-14 20:17 ` Lennart Borgman [this message]
2006-05-14 20:29 ` Eli Zaretskii
2006-05-14 21:00 ` Lennart Borgman
2006-05-15 3:14 ` Eli Zaretskii
2006-05-15 20:37 ` Richard Stallman
2006-05-09 5:51 ` Lennart Borgman
2006-05-09 19:35 ` Eli Zaretskii
2006-05-09 19:41 ` Lennart Borgman
2006-05-09 22:04 ` Luc Teirlinck
2006-05-10 3:36 ` Eli Zaretskii
2006-05-10 5:49 ` Lennart Borgman
2006-05-11 3:44 ` Richard Stallman
2006-05-11 18:29 ` Eli Zaretskii
2006-05-12 14:34 ` Eli Zaretskii
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=44679068.20404@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).