From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Emacs manipulate files with long-lines very slowly. Date: Fri, 8 Dec 2006 18:10:01 +0800 Message-ID: <20061208101001.GA9251@localdomain> References: <20061208090419.GA8476@localdomain> Reply-To: Hongyi Zhao NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165572521 7189 80.91.229.10 (8 Dec 2006 10:08:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 10:08:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 08 11:08:39 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gscec-0006Xq-Ue for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 11:08:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gscec-0002Js-Ey for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 05:08:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsceK-0002Ja-RI for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:08:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsceH-0002Iz-61 for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:08:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsceG-0002In-VN for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:08:09 -0500 Original-Received: from [66.249.82.225] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsceG-0004qo-DH for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:08:08 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s17so893634wxc for ; Fri, 08 Dec 2006 02:08:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; b=N/EWfokrWPGRipI8rs25IzFjL0DconURtH7VKqEOW1gKVn6aPuOEhlMfXCD8g1ujIMRqwvohdJaqlsVgPdBZjLmdXAGrN+x0svxaT3hCdr/l78y9Xg9oYn3vCwSWQsueYmbwgTvy19J5hDnuNzavKGdAXd52tAil3DLGW/dR+QI= Original-Received: by 10.70.52.1 with SMTP id z1mr5623985wxz.1165572487836; Fri, 08 Dec 2006 02:08:07 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id 7sm2835856wrh.2006.12.08.02.08.02; Fri, 08 Dec 2006 02:08:07 -0800 (PST) Original-To: Miles Bader Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 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:63458 Archived-At: > I'd suggest just forcing it to use a consistent convention. > > Try the following: > > (1) visit the file > (2) force newlines to be written using CR: C-x C-m f mac RET But I can't input the C-x C-m, when stroking C-x C-m, the minibuffer will say: ========== C-x RET- ========== > (3) save the file: C-x C-s > (4) kill the buffer: C-x C-k RET > (5) revisit the changed file -- Hongyi Zhao 赵弘毅 -- 题目:《山园小梅》 作者:林逋(967-1028) 众芳摇落独暄妍,占尽风情向小园。 疏影横斜水清浅,暗香浮动月黄昏。 霜禽欲下先偷眼,粉蝶如知合断魂。 幸有微吟可相狎,不须檀板共金尊。