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:52:25 +0800 Message-ID: <20061208105225.GB9616@localdomain> References: <20061208090419.GA8476@localdomain> <20061208101001.GA9251@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 1165574947 14620 80.91.229.10 (8 Dec 2006 10:49:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 10:49:07 +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:49:05 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 1GsdHs-00035w-Pg for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 11:49:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsdHs-0004y5-HR for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 05:49:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsdHg-0004xS-4j for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:48:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsdHd-0004uD-Fm for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:48:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsdHd-0004tx-BE for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:48:49 -0500 Original-Received: from [66.249.82.238] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsdHd-0002oe-B6 for emacs-devel@gnu.org; Fri, 08 Dec 2006 05:48:49 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s17so903157wxc for ; Fri, 08 Dec 2006 02:48:48 -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=D6z58syRJ+3p4WeSOs0hyB4mVmWmvNS2/oGjCZbq87AiAxInVgx/9G8m97dQ881fua7FcFJHsp5sOUyBmzj2ngHz3HnwoR5+AUgplj5pnglNH96bCRqGQHGSanRuLDXaMHSZj0Wx/dCcvgV/GMLvvAURPzVnfUkHFLb+PPnWR8c= Original-Received: by 10.70.9.8 with SMTP id 8mr5634127wxi.1165574928422; Fri, 08 Dec 2006 02:48:48 -0800 (PST) Original-Received: from localhost ( [159.226.135.215]) by mx.google.com with ESMTP id 8sm2912606wrl.2006.12.08.02.48.25; Fri, 08 Dec 2006 02:48:48 -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:63462 Archived-At: > >> (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: > > Notice that C-x C-m is followed by "f" -- the full command is: C-x C-m f I see, but this command is equivalent C-x RET f on my Operating System. I do the following to solve this problem: (1) visit the file (2) force newlines to be written using CR: C-x RET f mac RET (3) save the file: C-x C-s (4) kill the buffer: C-x k RET Please notice, not the command you told me: C-x C-k RET, because if I use this command, I'll meet the following message: =============== No keyboard macro defined. Create one? (y or n) =============== (5) revisit the changed file Why should these differences are exist? -- Hongyi Zhao 赵弘毅 -- 题目:《暑中杂咏》 作者:苏舜钦(1008-1048) 嘉果浮沉酒半醺,床头书册乱纷纷。 北轩凉吹开疏竹,卧看青天行白云。