From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: Can format procedure output unquoted strings? Date: Tue, 12 Apr 2011 19:38:49 -0400 Message-ID: <87oc4b6nw6.fsf@netris.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302659035 18404 80.91.229.12 (13 Apr 2011 01:43:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 01:43:55 +0000 (UTC) Cc: "guile-user@gnu.org" To: "Whitlock\, Bradley D" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Apr 13 03:43:49 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9p7S-0001FR-AE for guile-user@m.gmane.org; Wed, 13 Apr 2011 03:43:46 +0200 Original-Received: from localhost ([::1]:44494 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9p7R-00010b-Mh for guile-user@m.gmane.org; Tue, 12 Apr 2011 21:43:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9p3G-0003wW-Jb for guile-user@gnu.org; Tue, 12 Apr 2011 21:39:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9nAp-0001Z4-Gs for guile-user@gnu.org; Tue, 12 Apr 2011 19:39:08 -0400 Original-Received: from world.peace.net ([96.39.62.75]:39089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9nAp-0001YO-EN for guile-user@gnu.org; Tue, 12 Apr 2011 19:39:07 -0400 Original-Received: from 209-6-41-222.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.41.222] helo=freedomincluded) by world.peace.net with esmtpa (Exim 4.69) (envelope-from ) id 1Q9nAZ-0003lW-Vb; Tue, 12 Apr 2011 19:38:52 -0400 Original-Received: from mhw by freedomincluded with local (Exim 4.69) (envelope-from ) id 1Q9nAY-0001Lj-1c; Tue, 12 Apr 2011 19:38:50 -0400 In-Reply-To: (Bradley D. Whitlock's message of "Tue, 12 Apr 2011 11:44:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8588 Archived-At: "Whitlock, Bradley D" writes: > I am trying to get the format procedure to behave like the display > procedure where it will not surround output to stdout with quotes Use "~A" in the format string, which formats the corresponding argument like `display', whereas "~S" formats like `write'. For example: (format #t "The value is ~A~%" "test") outputs: The value is test (format #t "The value is ~S~%" "test") outputs: The value is "test" Mark