From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.user Subject: Re: Starting a GNU Guile awesome list Date: Sun, 11 Oct 2020 21:51:04 +0200 Message-ID: <871ri4zglz.fsf@elephly.net> References: <87k0z5xp8y.fsf@web.de> <3bbb1573-eff8-975f-bae0-4d305d84e09f@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25267"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: guile-user@gnu.org, Matt Wette To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Oct 11 21:49:59 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 1kRhLy-0006Sh-5n for guile-user@m.gmane-mx.org; Sun, 11 Oct 2020 21:49:58 +0200 Original-Received: from localhost ([::1]:57522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRhLx-0002sj-0J for guile-user@m.gmane-mx.org; Sun, 11 Oct 2020 15:49:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRhLR-0002pO-QM for guile-user@gnu.org; Sun, 11 Oct 2020 15:49:25 -0400 Original-Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRhLP-0000Gm-P0 for guile-user@gnu.org; Sun, 11 Oct 2020 15:49:25 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1602445761; cv=none; d=zohomail.com; s=zohoarc; b=je+xm+w7emdO+V4oRN5NxUM4ed1erSqm2IsS3ZFeA/zBUrY87zvRErGidGAgokkoIkQgsmbJhUHwRT3teiydA170g6YsQ1JAypshh2zpRaKjkwJ45cWoGVCveAouoVK8DWIf+rFYPnd3xqCEii+EhFZb12NRa9BifgjkrwPktRY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602445761; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=O2yHOvFUYQwxQb3AjbhgxrqUvI5XabE1EpwEgFfmYcg=; b=JqJL4vEwLmn4yPt1WQwHQIU442LTuQNypLrKoY+JxqZ8eVF3iCU08fJKlvOY5EG3mwRvrAMn2uCmphfv/HmICU7FFh4DcyE6TJ7/ixLvmO7dRss4jW4eVyNqv5XTOnAugzn52e0LZnQ9hS3Fu/ADE9rw+tozde9Fsl2RG4xb1m8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1602445761; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=O2yHOvFUYQwxQb3AjbhgxrqUvI5XabE1EpwEgFfmYcg=; b=Fq4Wg9qAGITMEZcJUDaW3rwq1kF5xIEFZeOfHVyQtea/jj2shM/R8Rkivj0UK8Mi g71VTT89gTMWKU/mH0Rt1GLMFMa2PjUpn1mvqA9qQrggBoBa70vgkkt+tdzwYf9p6gS +V3lFvb9T9VbkPj8J62qtjMfFiZKEgtrNVR7+sww= Original-Received: from localhost (p54ad4bce.dip0.t-ipconnect.de [84.173.75.206]) by mx.zohomail.com with SMTPS id 1602445760093274.2319343877451; Sun, 11 Oct 2020 12:49:20 -0700 (PDT) In-reply-to: <3bbb1573-eff8-975f-bae0-4d305d84e09f@posteo.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/11 15:49:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:16976 Archived-At: Zelphir Kaltstahl writes: > Hello Matt, > > On 10/10/20 3:14 PM, Matt Wette wrote: >> >> >> On 10/10/20 5:31 AM, Zelphir Kaltstahl wrote: >>> >>>> #!/usr/bin/make -f >>>>=20=20=20=20=20 >>>> SHELL :=3D emacs >>>> .SHELLFLAGS :=3D --quick --batch --eval >>>>=20=20=20=20=20 >>>> >> >> Maybe try this: >> >> #!/usr/bin/make -f - >> >> with the added dash. > > This does not seem to change anything: > > ~~~~ > #!/usr/bin/make -f - > > # use emacs as a shell, so that we can write emacs lisp code in here > SHELL :=3D emacs > # set some flags for emacs > .SHELLFLAGS :=3D --quick --batch --eval > > # all org mode files will be converted > # orgs :=3D $(wildcard *.org) > # only the list.org file will be converted > orgs :=3D list.org > objs :=3D $(orgs:.org=3D.md) $(orgs:.org=3D.texi) $(orgs:.org=3D.html) > > .PHONY: all > all: $(objs) > > .PHONY: clean > clean: > /bin/rm --verbose *.html *.md *.texi || true; > > # in here comes the shell specific code > .ONESHELL: > %.html %.md %.texi: %.org > (with-temp-buffer > (require 'ox-md) > (require 'ox-texinfo) > (require 'ox-html) > (when (insert-file-contents "$<") > (org-mode) > (org-export-to-file 'md "$*.md") > (org-export-to-file 'texinfo "$*.texi") > (org-export-to-file 'html "$*.html"))) > ~~~~ > > ~~~~ > $ make clean > /bin/rm --verbose *.html *.md *.texi || true; > Symbol=E2=80=99s value as variable is void: /bin/rm > make: *** [Makefile:19: clean] Error 255 > ~~~~ Well, isn=E2=80=99t that expected as you=E2=80=99re using Emacs as a shell? --=20 Ricardo