From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: info inconsistency about "Shell Commands in Dired" Date: 22 Aug 2004 14:59:04 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200408212312.i7LNCLY06315@raven.dms.auburn.edu> <20040822.131715.41632842.jet@gyve.org> <20040822.213334.41627640.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093179648 23428 80.91.224.253 (22 Aug 2004 13:00:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2004 13:00:48 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 22 15:00:40 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 1Byrxg-00077C-00 for ; Sun, 22 Aug 2004 15:00:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bys24-0006WE-Tx for ged-emacs-devel@m.gmane.org; Sun, 22 Aug 2004 09:05:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bys1w-0006W6-LP for emacs-devel@gnu.org; Sun, 22 Aug 2004 09:05:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bys1v-0006Vq-Cn for emacs-devel@gnu.org; Sun, 22 Aug 2004 09:05:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bys1v-0006Vg-9N for emacs-devel@gnu.org; Sun, 22 Aug 2004 09:05:03 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ByrwA-0004JH-Gk for emacs-devel@gnu.org; Sun, 22 Aug 2004 08:59:06 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1ByrwA-0000wa-0h; Sun, 22 Aug 2004 08:59:06 -0400 Original-To: Masatake YAMATO In-Reply-To: <20040822.213334.41627640.jet@gyve.org> Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:26399 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26399 Masatake YAMATO writes: > > > How do you think using `format' function directly instead of `?' ? > > > > > > e.g. > > > > > > uuencode %s %s > %s.uu > > > > > > Advantage: > > > - If the user want to `%' itself in the command line, format function > > > can handle it: > > > > > > echo %%s > > > > > > - Implementation is not so difficult(for us). > > > > Not? How do you call the format function? Depends on the number of > > %s... > > Good point. > I found next code works. > > (apply 'format "echo %s" '("a" "a" "a")) > => "echo a" > > So we can pass arguments as much as possible:-P. As much as possible? (apply 'format "echo %s %s %s %s" '#1=("a" . #1#)) Just turns out that apply is not too happy about passing infinitely long argument lists on. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum