From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: gh_repl Date: Mon, 9 Jan 2012 13:42:23 -0800 (PST) Message-ID: <1326145343.65983.YahooMailNeo@web37905.mail.mud.yahoo.com> References: <1316922872.25009.YahooMailNeo@web37901.mail.mud.yahoo.com> <87wr907pa1.fsf@pobox.com> <1326132716.20961.YahooMailNeo@web37903.mail.mud.yahoo.com> <87obuca837.fsf@netris.org> Reply-To: Mike Gran NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326145359 17564 80.91.229.12 (9 Jan 2012 21:42:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 21:42:39 +0000 (UTC) Cc: Guile User To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 09 22:42:35 2012 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 1RkMzA-0006Tp-8u for guile-user@m.gmane.org; Mon, 09 Jan 2012 22:42:32 +0100 Original-Received: from localhost ([::1]:38098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMz9-0002uD-Lr for guile-user@m.gmane.org; Mon, 09 Jan 2012 16:42:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMz4-0002ts-MK for guile-user@gnu.org; Mon, 09 Jan 2012 16:42:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkMz3-0000et-JX for guile-user@gnu.org; Mon, 09 Jan 2012 16:42:26 -0500 Original-Received: from nm32-vm7.bullet.mail.ne1.yahoo.com ([98.138.229.55]:22038) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RkMz3-0000eh-5W for guile-user@gnu.org; Mon, 09 Jan 2012 16:42:25 -0500 Original-Received: from [98.138.90.56] by nm32.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2012 21:42:24 -0000 Original-Received: from [98.138.88.238] by tm9.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2012 21:42:24 -0000 Original-Received: from [127.0.0.1] by omp1038.mail.ne1.yahoo.com with NNFMP; 09 Jan 2012 21:42:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 234219.32828.bm@omp1038.mail.ne1.yahoo.com Original-Received: (qmail 86357 invoked by uid 60001); 9 Jan 2012 21:42:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1326145343; bh=56ty9y35ujEJQnQ79wHyNYvV0pGps88gI+r/C+EwB+c=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=O9aEoDw6Y2V4PIoQIN5HSgOQMW974zEJuJh5Y1gEkfwGUtTfRQtWmBbozDxq5kHIFdqWyH8P9mvdVrSV3I8Of+pmj6ZwQFB4JwkEI2urVKaXcA4v5qarT/VUL2E/zwRWPy9bK3BlI28p1l2POy5l2QyWffoTXE/sKhVWLFdS3d0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l+IwVAmPBrJKwJW8EJ6l3sxosHw8sxDGtxLfLF5OHXfxUVdMljSlW8SCusVlhwd5U6OCShFuLpmk8JpNMtVaEvQ8ti9E9KwuK7uL/3FiKj2mfcnW62lK8mkkbzJs6wM6YdtYgQw6wp2g3aXDDjFZ9A3VkUfuq95+v+jQ3pMk+FU=; X-YMail-OSG: 6G3xZQAVM1lAu97mzDksSPMtayr5fcDLj9WzmQ3UHsF5OJw wVjrI1yWbjU4EwayVKgULCg8S3d4uH1AQKwy1F0WDjdZe9AbqWG02GNToFlD sWraEIU4VNi51HAsdUwbF0PsQGjPOb.GAT5iQhVlJmzWItNKYvSL5eCFSZaH NeKGAyK7HT1Vo.Kgw9dkHVv3wTkxMUQ9bvmdKehSx3OQmSH_n5TAQqeei2Uj 6wS6Y3gbu3LczUbEQnBA7g3D9gL_Rt69b.IZCtCFhswS4GKTl90a9sckEV43 YoxRqFuqYfwyzrlXIIdFQXMFdjkBsg3duiEPwY9LusBecA5njSWD7dAMl2DF 8jQsgZ67lB6A8cpFZSZN1kNtyg8UiQPNUvPp3FNQhat1.V14okq5iNu8Scho xGzdjk.BoDyjNa4qLfnO2.zrxxBYeCCqwiUzfwqmj09OFfgHG_bPlFmsVFO0 02INXdo_1j8ttker.fW4- Original-Received: from [66.80.183.50] by web37905.mail.mud.yahoo.com via HTTP; Mon, 09 Jan 2012 13:42:23 PST X-Mailer: YahooMailWebService/0.8.115.331698 In-Reply-To: <87obuca837.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.138.229.55 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:9114 Archived-At: > From: Mark H Weaver =0A>> =A0=A0 scm_from_locale_symbol = ("scheme"));=0A> =0A> Note that it's good practice to always use `scm_from_= utf8_symbol' or=0A> `scm_from_latin1_symbol' when the argument is a C strin= g literal.=0A=A0=0A=A0[... ]=0A=0A> More importantly, since many people ten= d to copy code snippets from what=0A> they see here and elsewhere, it's goo= d to start spreading good i18n=0A> habits.=A0 The key idea to spread is: it= 's wrong to use the user's locale=0A> to interpret a C string literal.=0A= =A0=0AGood point.=0A=A0=0AVirtually all of my personal code is written in t= he subset of documented API=0Abetween 1.8 and 2.0 and is written in US-ASCI= I, but, you're right=0Aabout spreading good habits when discussing code in = public.=0A=A0=0AThanks,=0A=A0=0AMike