From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Regression WRT newline? Date: Tue, 09 Feb 2016 10:22:48 +0100 Message-ID: References: <56B99475.80605@online.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455009799 18978 80.91.229.3 (9 Feb 2016 09:23:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 09:23:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 10:23:11 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aT4Vq-000389-9k for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 10:23:10 +0100 Original-Received: from localhost ([::1]:53477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4Vp-0004eb-29 for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 04:23:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4Va-0004dY-JP for emacs-devel@gnu.org; Tue, 09 Feb 2016 04:22:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT4VV-00025r-Oy for emacs-devel@gnu.org; Tue, 09 Feb 2016 04:22:54 -0500 Original-Received: from mx2.suse.de ([195.135.220.15]:45631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4VV-00025e-ID for emacs-devel@gnu.org; Tue, 09 Feb 2016 04:22:49 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D5895AC07; Tue, 9 Feb 2016 09:22:48 +0000 (UTC) X-Yow: NATHAN... your PARENTS were in a CARCRASH!! They're VOIDED - They COLLAPSED They had no CHAINSAWS... They had no MONEY MACHINES... They did PILLS in SKIMPY GRASS SKIRTS... Nathan, I EMULATED them... but they were OFF-KEY... In-Reply-To: <56B99475.80605@online.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22?= =?utf-8?Q?'s?= message of "Tue, 9 Feb 2016 08:25:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199584 Archived-At: Andreas R=C3=B6hler writes: > Command newline from simple.el has the following comment: > > > ;; FIXME: For non-interactive uses, many calls actually just wa= nt > ;; (insert "\n"), so maybe we should do just that, so as to avo= id > ;; the risk of filling or running abbrevs unexpectedly. > > IIRC in earlier times, on windows for example an additional "\r" was > required. The internal representation of a newline in Emacs is and always has been "\n". The external representation is controlled by the buffer's coding system, and doesn't come into play until you save the buffer. Andreas. --=20 Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D= 7 "And now for something completely different."