From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: how-many/count-matches for non-interactive use Date: Sat, 16 Oct 2004 09:52:17 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <87pt3m5vqk.fsf@oak.pohoyda.family> <874qkwmr5w.fsf@oak.pohoyda.family> <87hdowuhhb.fsf@oak.pohoyda.family> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1097934951 4365 80.91.229.6 (16 Oct 2004 13:55:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Oct 2004 13:55:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 16 15:55:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CIp2A-0006pk-00 for ; Sat, 16 Oct 2004 15:55:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIp9M-0008P5-Fh for ged-emacs-devel@m.gmane.org; Sat, 16 Oct 2004 10:03:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CIp6p-00072A-LV for emacs-devel@gnu.org; Sat, 16 Oct 2004 10:00:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CIp6n-00070D-4N for emacs-devel@gnu.org; Sat, 16 Oct 2004 10:00:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIp6m-0006xo-Me for emacs-devel@gnu.org; Sat, 16 Oct 2004 10:00:32 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CIoyn-0006Lo-LC for emacs-devel@gnu.org; Sat, 16 Oct 2004 09:52:17 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CIoyn-00030F-6n; Sat, 16 Oct 2004 09:52:17 -0400 Original-To: Alexander Pohoyda In-reply-to: <87hdowuhhb.fsf@oak.pohoyda.family> (message from Alexander Pohoyda on 15 Oct 2004 17:30:08 +0200) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28482 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28482 > Since it is using Lisp code, you just do it with more Lisp code. Add > a t to the list in a place that corresponds to where the new extra arg > gets its value. Like this? It looks right to me, assuming that keep-lines-read-args returns a list of one element (which it currently does). You might instead do (list (car (keep-lines-read-args...)) nil nil t) to make it clear you're taking just one arg value from that.