From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: How to change line endings - where is it explained? Date: Tue, 09 May 2006 07:48:43 +0200 Message-ID: <44602D3B.3000309@student.lu.se> References: <445FCA20.60204@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147153765 26031 80.91.229.2 (9 May 2006 05:49:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 May 2006 05:49:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 09 07:49:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FdL60-0003HJ-G6 for ged-emacs-devel@m.gmane.org; Tue, 09 May 2006 07:49:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdL60-0004Tf-1Q for ged-emacs-devel@m.gmane.org; Tue, 09 May 2006 01:49:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdL5W-0004Ng-JZ for emacs-devel@gnu.org; Tue, 09 May 2006 01:48:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdL5T-0004LV-V7 for emacs-devel@gnu.org; Tue, 09 May 2006 01:48:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdL5T-0004LJ-PP for emacs-devel@gnu.org; Tue, 09 May 2006 01:48:47 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdL6R-0005Qs-Jw; Tue, 09 May 2006 01:49:47 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.072.1) id 4457C757001A54A5; Tue, 9 May 2006 07:48:44 +0200 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Original-To: Eli Zaretskii In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54129 Archived-At: Eli Zaretskii wrote: >> Date: Tue, 09 May 2006 00:45:52 +0200 >> From: Lennart Borgman >> >> Is it explained in the manuals how to change line endings? I can not >> find it >> > > 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 think that I have some difficulties with English here. I however also think that the essence of the topic is a bit absent in the manuals. It is very an important topic if you are on w32 but not that important if all you care about is unix-style platforms. Some suggestions: - A link to "(emacs) Coding Systems" in "(emacs) Files". - Something about line endings too in "(emacs) Files", possibly in connection with the link above. - "(emacs) Coding Systems" should mention 'dos, 'unix and 'mac. - "(elisp) Files" should mention line endings. - `describe-coding-system' could somehow mention line endings.