From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chong Yidong" Newsgroups: gmane.emacs.devel Subject: Re: buffer-substring-filter Date: Mon, 14 Mar 2005 19:29:58 -0500 (EST) Message-ID: <33102.203.116.59.24.1110846598.squirrel@203.116.59.24> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1110847335 3185 80.91.229.2 (15 Mar 2005 00:42:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2005 00:42:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 15 01:42:15 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DB03j-0007Gi-IH for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2005 01:37:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DB0JV-0006aA-Sv for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 19:53:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DB0DR-0004ay-Fj for emacs-devel@gnu.org; Mon, 14 Mar 2005 19:47:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DB0DG-0004YI-Pa for emacs-devel@gnu.org; Mon, 14 Mar 2005 19:47:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DB0DG-0004XI-B2 for emacs-devel@gnu.org; Mon, 14 Mar 2005 19:47:10 -0500 Original-Received: from [64.21.80.18] (helo=shark.dnsvelocity.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DAzwr-0004dy-M5; Mon, 14 Mar 2005 19:30:13 -0500 Original-Received: from stupidch by shark.dnsvelocity.com with local (Exim 4.44) id 1DAzwc-0002Le-Kr; Mon, 14 Mar 2005 19:29:58 -0500 Original-Received: from 203.116.59.24 ([203.116.59.24]) (SquirrelMail authenticated user cyd@stupidchicken.com); by www.stupidchicken.com with HTTP; Mon, 14 Mar 2005 19:29:58 -0500 (EST) In-Reply-To: Original-To: rms@gnu.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shark.dnsvelocity.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [32675 33085] / [47 12] X-AntiAbuse: Sender Address Domain - stupidchicken.com X-Source: /usr/local/cpanel/3rdparty/bin/php X-Source-Args: /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/base/3rdparty/squirrelmail/src/compose.php X-Source-Dir: :/base/3rdparty/squirrelmail/src 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34598 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34598 > Using mapcar is a little wasteful, since it makes a list of the results > only to throw them all away. Better to use dolist. > > It would be good to move point to BEG, temporarily, > so that the functions can tell where the text came from > in case they care. Yes, true. > However, the real question is whether this is the right feature > for doing the job. Have you changed longlines.el to use it? > Does it do what longlines needs? Yes, I have changed longlines.el to use it, and I have confirmed that it does what I need.