From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: Starting a GNU Guile awesome list Date: Sun, 8 Nov 2020 18:09:00 +0100 Message-ID: <148b42ad-699e-4782-1d44-a94f14fe86c6@posteo.de> References: <87k0z5xp8y.fsf@web.de> <3bbb1573-eff8-975f-bae0-4d305d84e09f@posteo.de> <871ri4zglz.fsf@elephly.net> <1d95a8f7-1db0-5c1d-5681-cd4aab2a4e22@posteo.de> <87y2kbybqo.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33290"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: guile-user@gnu.org, Matt Wette To: Ricardo Wurmus Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Nov 08 18:09:19 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 1kboBq-0008Yr-Sy for guile-user@m.gmane-mx.org; Sun, 08 Nov 2020 18:09:18 +0100 Original-Received: from localhost ([::1]:60578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kboBp-0007Zx-T6 for guile-user@m.gmane-mx.org; Sun, 08 Nov 2020 12:09:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kboBf-0007Zm-BV for guile-user@gnu.org; Sun, 08 Nov 2020 12:09:07 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:44929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kboBd-00020d-4w for guile-user@gnu.org; Sun, 08 Nov 2020 12:09:07 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E699A16005C for ; Sun, 8 Nov 2020 18:09:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1604855341; bh=25FVypKsFGy1V4+b/tVwfK3PKJjmryVGXORKIYAu49s=; h=Subject:To:Cc:From:Date:From; b=T7j2gJodlCp3EP4/2r17TdVy74sryqIZ2kGaYbkgsGdcn9FRELvetuIakTTsxeehd q2dHn49j+ZblTM/fgZ//pSXtltXUJJYDVaGc6jvN4QnnRObGu150vdt0TR/5r5XDcf igni0/Q9cwy8wq0DPxs6k2rniKToOkFDqquWdriIYkJm0D3bNccm0qN+ii3HCNcAR9 bjiy/kXkJOPvP9nA4qxNcutW+i6x0Hyxf6bPvH0M1GQpAggVPaNGdvJlZPfAAbVLJX vdhXA7/6L1LuJzGsnGEWnoJUB5LtKF/vkvs3pKShVFwhv9SLk1kgb1etfMBBi6LJ+q 6xuudHKUvT5ow== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CTgZj0PtNz9rxK; Sun, 8 Nov 2020 18:09:00 +0100 (CET) X-Tagtoolbar-Keys: D20201108180900277 In-Reply-To: <87y2kbybqo.fsf@elephly.net> Content-Language: en-US Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 12:09:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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:17010 Archived-At: Hi Ricardo! Thanks for your reply. I've not gotten around to trying this yet. I was hoping for a solution, which could use Elisp in one part of the makefile and bash in another part of the makefile. I seem to remember a blog post somewhere, in which someone explained how to use various things as shells in makefiles, but I have lost the link to it and could not find it again. I also do not remember, whether that was multiple different things as shell in one makefile, or in separate files. For example I would like to use Elisp for the Emacs stuff and Bash for removing files. However, in the meantime I figured out, that I could simply mark something as .PHONY when I do not care about its output already being there or when it has no output. At some point I need to learn more about makefiles again. For now I think my makefile knowledge is only basic. Thanks, Zelphir On 10/12/20 12:33 PM, Ricardo Wurmus wrote: > Zelphir Kaltstahl writes: > >>>> ~~~~ >>>> $ make clean >>>> /bin/rm --verbose *.html *.md *.texi || true; >>>> Symbol’s value as variable is void: /bin/rm >>>> make: *** [Makefile:19: clean] Error 255 >>>> ~~~~ >>> Well, isn’t that expected as you’re using Emacs as a shell? >> Yes : ) But that is the problem: How can I add a clean step, even though >> I am using Emacs as shell? Or can I switch shell for one command? > Try this elisp snippet: > > (call-process "/bin/rm" nil nil nil "the-file-to-delete") > -- repositories: https://notabug.org/ZelphirKaltstahl