From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: Geiser vs. guile-mode? Date: Sat, 8 Feb 2020 10:59:14 -0800 Message-ID: <582c918f-1043-3c4f-335c-d15f65da432f@gmail.com> References: <87eevamlds.fsf@ambrevar.xyz> <897B58B1-A727-4224-938E-5F7D826DA963@korwin-zmijowski.fr> <87a75yl2zx.fsf@ambrevar.xyz> <87d0aqfqwg.fsf@ambrevar.xyz> <2EBAB5D5-D677-4F95-B253-41DFA9016009@korwin-zmijowski.fr> <03362389-6170-a57b-9cd1-380be34b5697@gmail.com> <17020c6ae18.bf06ef5b71547.6717873688020963681@zoho.com> <87blq9osjg.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115132"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Feb 08 19:59:29 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j0VKD-000Tsi-7t for guile-user@m.gmane-mx.org; Sat, 08 Feb 2020 19:59:29 +0100 Original-Received: from localhost ([::1]:44454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0VKC-00048v-Aj for guile-user@m.gmane-mx.org; Sat, 08 Feb 2020 13:59:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47218) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0VK3-00048n-1A for guile-user@gnu.org; Sat, 08 Feb 2020 13:59:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0VK2-0001Y9-3S for guile-user@gnu.org; Sat, 08 Feb 2020 13:59:18 -0500 Original-Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:33855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0VK1-0001Xr-UK for guile-user@gnu.org; Sat, 08 Feb 2020 13:59:18 -0500 Original-Received: by mail-pl1-x62d.google.com with SMTP id j7so1137608plt.1 for ; Sat, 08 Feb 2020 10:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=gjkdGzLe1atHJZuW+J9YQSflIZwJPwrnrGbhYEtjitM=; b=ugaUAe/srWSmJG0UhLiTXcRIUYxdSF70eg4K6RlP/27ekGjNtWqB4+q4HwzyZZzmIs 6M5iH4PQ33mi1XPIALoRHC1SRawm1u2jd6rkR0kJfAWJn0C3NWgElbVQmW4ilIwuUTPO 8OC1eh491ILGf5pa7OGTEHhZC/BiIve9cOTD5yx2a+kTwCMve7OIiP0/o0yo+AnG1cP6 f3KvPkUydQIzuAl0IqtfwiBe22mRwzJOBqqkgu7RENtJ+9Ea9jf4HrNA570jNRIpBzcj 77l9T6sEhJ35I5c9qJhCdJW4n2u4/MWgrOLY0wsHNF5selr7qft65Ig76Ey34ZzeI4rR to8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=gjkdGzLe1atHJZuW+J9YQSflIZwJPwrnrGbhYEtjitM=; b=k1YoQPnP2pAT7vGdmzV9tFIH1B85IGX2F4CJw96qd3jWQ1e5VDbCGMoWxvCXQcgvNc y6ri7zldKA2G7Z+Ah6vbKwZrP4QyF7ff7+M35CDrtdhqvKiL88sHGePMRYsLKSkZ/XkZ tSfJ0R6d1q+0enrJm7+hUvJvkM1+18tU3fryS4DJpBoRvMGxpPagPFq+9zl6HccHxyql 63h1MZdiKYKXDcjRKjmO7wq5hT19h3tGDgf9LunXiVzRDMkP1DU6gr87jWSgM6DK5U73 Piiwnz1BJXNuBJmxrpy32JlNpnp4ZRE4M9iZkA47B6LoAQBkWVGjHiehzPYt6RO5Wpij 1Vug== X-Gm-Message-State: APjAAAUciprFANozz2tqjyDggf+v4sI0x1MqVd5LKK7R4MkdrhRvfe8m ha7hWnl+Sbdz5scmysWJlkSWKYY6 X-Google-Smtp-Source: APXvYqwa8X9Oln6896ZxNKY6Ftj+qPvDSkpVUkg2163X7zMWp/efTuugr/H9KbNVbDgG2tLaUieRDg== X-Received: by 2002:a17:90a:8b82:: with SMTP id z2mr11878700pjn.59.1581188356139; Sat, 08 Feb 2020 10:59:16 -0800 (PST) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id h10sm6976306pfo.181.2020.02.08.10.59.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Feb 2020 10:59:15 -0800 (PST) In-Reply-To: <87blq9osjg.fsf@elephly.net> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62d X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16144 Archived-At: On 2/8/20 10:14 AM, Ricardo Wurmus wrote: > Matt Wette writes: > >> On 2/7/20 9:50 AM, sirgazil wrote: >>> ---- On Fri, 07 Feb 2020 11:30:43 -0500 Matt Wette wrote ---- >>> > Thanks for doing this. I'd like to have #! ... !# handled robustly as >>> > comment. >>> > It's not working for me and I believe I saw a comment in the code that >>> > it was >>> > intentionally left out (for some reason I don't remember). >>> >>> I don't remember those block comments working for me either, so I use #| ... |# instead for top-level and nested block comments. >>> >> And for scripts I use the following which seems like a kludge to me. >> >> #!/bin/sh >> #| >> xxx >> xxx >> xxx >> exec guile $0 "$@ >> |# >> !# > Why is this necessary? Why not use guile in the shebang? > Finding the right installed guile, setting environment variables (like GUILE_LOAD_PATH), etc.  And it's not always about avoiding something because it's not necessary, sometime easier to use sh.