From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Merging =?utf-8?b?4oCYYmR3LWdjLXN0YXRpYy1hbGxvY+KAmQ==?= Date: Fri, 23 Oct 2009 11:16:37 +0200 Message-ID: <87vdi6sc5m.fsf@gnu.org> References: <8763ay88d6.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1256289471 17378 80.91.229.12 (23 Oct 2009 09:17:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2009 09:17:51 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 23 11:17:44 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1GHH-0005kS-IR for guile-devel@m.gmane.org; Fri, 23 Oct 2009 11:17:43 +0200 Original-Received: from localhost ([127.0.0.1]:43767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1GHG-0002yt-Ur for guile-devel@m.gmane.org; Fri, 23 Oct 2009 05:17:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1GGn-0002m7-BB for guile-devel@gnu.org; Fri, 23 Oct 2009 05:17:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1GGi-0002iL-4q for guile-devel@gnu.org; Fri, 23 Oct 2009 05:17:12 -0400 Original-Received: from [199.232.76.173] (port=60917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1GGh-0002i1-Km for guile-devel@gnu.org; Fri, 23 Oct 2009 05:17:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:39230) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1GGh-0000YJ-5T for guile-devel@gnu.org; Fri, 23 Oct 2009 05:17:07 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1N1GGb-0005MF-1D for guile-devel@gnu.org; Fri, 23 Oct 2009 11:17:01 +0200 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Oct 2009 11:17:01 +0200 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Oct 2009 11:17:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Brumaire an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:1Y6NeG1Rc8owBwXGrQVEmvBxMLQ= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9559 Archived-At: Hi, Andy Wingo writes: > On Fri 02 Oct 2009 02:15, ludo@gnu.org (Ludovic Courtès) writes: > >> Because of the macrology that’s used to statically allocate stringbufs [0], >> the string has to be a literal: >> >> SCM_SYMBOL (s_foo, "foo"); >> >> What do you think? > > Need more information :) How widespread is the non-literal usage? Could > you grep the source packages of the Guile users that you have identified > for occurrences of this idiom? Apparently this is going to be rare. I’ve found no occurrences here: http://www.google.fr/codesearch?q=SCM_%28GLOBAL_%29%3FSYMBOL&hl=fr&btnG=Rechercher+du+code “grep -r -E \ 'SCM_(GLOBAL_)?SYMBOL[[:blank:]]*\([^,]+,[[:blank:]]*[^"]+\)' \ gnucash-2.2.9 guile-avahi guile-cairo-1.4.0 \ guile-gnome-platform-2.16.1 gnutls mailutils-2.1 snd-9.4” doesn’t show any occurrence either. So I’d be tempted to merge this in. What do you think? Ludo’.