From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Wordingham Newsgroups: gmane.emacs.help Subject: Re: Replace with CR Date: Sun, 5 Jul 2015 23:59:25 +0100 Message-ID: <20150705235925.52f6b9a1@JRWUBU2> References: <87615yvd8x.fsf@kuiper.lan.informatimago.com> <87si92tsof.fsf@kuiper.lan.informatimago.com> <87k2uetjpt.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436137195 4734 80.91.229.3 (5 Jul 2015 22:59:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 22:59:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 06 00:59:47 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZBst0-00022B-RB for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jul 2015 00:59:46 +0200 Original-Received: from localhost ([::1]:47907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBst0-0004nq-3d for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 18:59:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBssp-0004nk-IF for help-gnu-emacs@gnu.org; Sun, 05 Jul 2015 18:59:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBssm-0007gv-94 for help-gnu-emacs@gnu.org; Sun, 05 Jul 2015 18:59:35 -0400 Original-Received: from know-smtprelay-omc-6.server.virginmedia.net ([80.0.253.70]:44779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBssm-0007dX-0c for help-gnu-emacs@gnu.org; Sun, 05 Jul 2015 18:59:32 -0400 Original-Received: from JRWUBU2 ([81.103.224.4]) by know-smtprelay-6-imp with bizsmtp id omzU1q00h06JmVd01mzU9T; Sun, 05 Jul 2015 23:59:29 +0100 X-Originating-IP: [81.103.224.4] X-Spam: 0 X-Authority: v=2.1 cv=P+nH/X0u c=1 sm=1 tr=0 a=pLuj3OkTrmEUIJBpyvkqVg==:117 a=pLuj3OkTrmEUIJBpyvkqVg==:17 a=Fj0c77JwVQQA:10 a=NLZqzBF-AAAA:8 a=kj9zAlcOel0A:10 a=fiP3o22IAAAA:8 a=1hyuoumvUUHZk0kSIw8A:9 a=CjuIK1q_8ugA:10 In-Reply-To: <87k2uetjpt.fsf@kuiper.lan.informatimago.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.0.253.70 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105475 Archived-At: On Sun, 05 Jul 2015 22:47:42 +0200 "Pascal J. Bourguignon" wrote: > Agreed, but this is entirely another can of worm. why are we using the > ASCIi control codes for carriage return, or line feed, to separate > lines? Shouldn't we use instead ASCII control code RS (Record > Separator, 0x1e) or ISO-8859 (ECMA-048) control code NEL (Next Line, > 0x85)? or the new unicode LS (Line Separator, 0x2028), or is it PS > (Paragraph Separator, 0x2029)? Because we want the edited text to work. There is no guarantee that the above codes will work. RS is particularly unlikely to work. Incidentally, NEL is not ISO-8859; try ISO-6426. > At least in GUI, when you input some text in a text field, this > problem doesn't occur: you click on the "OK" button :-) Try doing the substitution converting semicolons to line breaks in MS Word - it may be doable, but it isn't pleasant. Richard.