From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.help Subject: Re: Accelerating Emacs? Date: Fri, 28 Oct 2005 21:43:09 +0800 Message-ID: References: <85y84dkfnm.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1130512579 29326 80.91.229.2 (28 Oct 2005 15:16:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2005 15:16:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 28 17:16:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVVvo-0000gP-2Y for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Oct 2005 17:14:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVVvn-0006XK-Fw for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Oct 2005 11:14:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVUVp-0006yJ-SG for help-gnu-emacs@gnu.org; Fri, 28 Oct 2005 09:43:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVUVl-0006wv-Ce for Help-gnu-emacs@gnu.org; Fri, 28 Oct 2005 09:43:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVUVi-0006wd-OV for Help-gnu-emacs@gnu.org; Fri, 28 Oct 2005 09:43:11 -0400 Original-Received: from [64.4.26.34] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVUVi-0007aO-UE for Help-gnu-emacs@gnu.org; Fri, 28 Oct 2005 09:43:11 -0400 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 28 Oct 2005 06:43:09 -0700 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Fri, 28 Oct 2005 13:43:09 GMT X-Originating-IP: [221.218.168.92] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: <85y84dkfnm.fsf@lola.goethe.zz> Original-To: Help-gnu-emacs@gnu.org X-OriginalArrivalTime: 28 Oct 2005 13:43:09.0727 (UTC) FILETIME=[88A1C2F0:01C5DBC5] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30658 Archived-At: Suddenly I've got a perfect idea of improving speed in this condition. I wrote another Lisp program: (call-process-region (point-min) (point-max) "sed" t (current-buffer) nil "s/[0-0]/0/g") So I can pick up both the speed of sed and the power of Emacs. I will figure out whether it's possible to generalize this method. Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/