From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: RE: mode line eol char indication Date: Thu, 01 Jan 2009 17:33:11 +0900 Message-ID: <87iqozqvco.fsf@xemacs.org> References: <005701c96b9a$243839d0$c2b22382@us.oracle.com> <495C1A49.3040009@gnu.org> <006201c96bd4$152bf190$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230798648 21197 80.91.229.12 (1 Jan 2009 08:30:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2009 08:30:48 +0000 (UTC) Cc: emacs-devel@gnu.org, 'Jason Rumney' To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 01 09:31:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LIIyC-0001Fd-MV for ged-emacs-devel@m.gmane.org; Thu, 01 Jan 2009 09:31:56 +0100 Original-Received: from localhost ([127.0.0.1]:57165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIIwx-0000FT-Rr for ged-emacs-devel@m.gmane.org; Thu, 01 Jan 2009 03:30:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LIIwt-0000E2-9g for emacs-devel@gnu.org; Thu, 01 Jan 2009 03:30:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIIwo-0000Dc-SE for emacs-devel@gnu.org; Thu, 01 Jan 2009 03:30:35 -0500 Original-Received: from [199.232.76.173] (port=44679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIIwo-0000DZ-M2 for emacs-devel@gnu.org; Thu, 01 Jan 2009 03:30:30 -0500 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:53890) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LIIwl-00035d-Oo; Thu, 01 Jan 2009 03:30:28 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 3052B7FFA; Thu, 1 Jan 2009 17:30:25 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id D47D811F559; Thu, 1 Jan 2009 17:33:11 +0900 (JST) In-Reply-To: <006201c96bd4$152bf190$0200a8c0@us.oracle.com> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 83e35df20028+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:107498 Archived-At: Drew Adams writes: > What's trivial for the implementation shouldn't be behind > characterizing this line ending to the user as more trivial. Why > would a user care which is easier to implement? Because the trivial line endings never get screwed up. Nontrivial line endings cause no end of pain (eg, inappropriate conversion of line endings causes 100% of the lines of a text file to differ from its previous revision, and irrecoverable data corruption in binary files (ie, where CR and LF have semantics other than "line ending"). > If we're trying to indicate the _line ending characters_, then lets just say > what they are: C-j, C-m, or C-j C-m. Those are commands. Users almost *never* use those as self-inserting characters. ^J, LF, NL, \n, OK (my preference is LF), but not C-j, please.