From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jens Schmidt Newsgroups: gmane.emacs.devel Subject: Re: Emacs script options Date: Wed, 22 Nov 2023 21:18:49 +0100 Message-ID: <9a39a366-a01c-4e19-a3b6-2a99ce9d42f9@vodafonemail.de> References: <1325582.1700277236@archlinux> <8734x2zwnc.fsf@whxvd.name> <7953.1700336960@archlinux> <24ea16b3-e3e7-457b-99b9-3f3805de3f66@vodafonemail.de> <58266.1700443175@archlinux> <5eac9978-270e-40b2-8272-dabb29ec5daa@vodafonemail.de> <874jhdfxxp.fsf@whxvd.name> 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="23026"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Greg Minshall , emacs-devel@gnu.org To: Sebastian Miele Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 22 21:20:28 2023 Return-path: Envelope-to: ged-emacs-devel@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 1r5thy-0005n5-Iy for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Nov 2023 21:20:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5th8-0004ME-08; Wed, 22 Nov 2023 15:19:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5th6-0004IJ-TB for emacs-devel@gnu.org; Wed, 22 Nov 2023 15:19:32 -0500 Original-Received: from mr6.vodafonemail.de ([145.253.228.166]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5tgt-0000MC-TL for emacs-devel@gnu.org; Wed, 22 Nov 2023 15:19:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-23sep; t=1700684347; bh=MpqHac2cn+ZOaqdk0ra8ywtw4lLAS9fSvfFgsAexWlU=; h=Message-ID:Date:User-Agent:Subject:To:References:From: Content-Language:In-Reply-To:Content-Type:From; b=bT8qX1h7gNxbiehUDzYYrPmulVE3tkfijhV+NB/XFRJPyhCwC7wl6YBC+ZRaKqJFx UHQ9TWbwvwP2JjODJ4CPBdy8xZY+uYbVOMiyZ3221TYmVdKpSVsNTr8gr4Nr6vzYYk a+N2HHGoPB7Ey52QpydV57l333KDeDxhRr7uqYtE= Original-Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4SbCJC1Nqvz1xqV; Wed, 22 Nov 2023 20:19:07 +0000 (UTC) Original-Received: from [192.168.178.41] (port-83-236-5-70.dynamic.as20676.net [83.236.5.70]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4SbCJ04pTgz9ryy; Wed, 22 Nov 2023 20:18:53 +0000 (UTC) Content-Language: de-DE-frami, en-US In-Reply-To: <874jhdfxxp.fsf@whxvd.name> X-purgate-type: clean X-purgate: clean X-purgate-size: 575 X-purgate-ID: 155817::1700684343-837F9816-D12ECF27/0/0 Received-SPF: pass client-ip=145.253.228.166; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr6.vodafonemail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313133 Archived-At: On 2023-11-22 19:17, Sebastian Miele wrote: > For the record, Gerd Möllemann mentioned yet another trick on > https://debbugs.gnu.org/67321: > >> From: Gerd Möllmann >> Date: Wed, 2023-11-22 15:59 +0100 >> >> cat >somefile <> ; -*- lexical-binding: t -*- >> (message "%s" lexical-binding) >> EOF >> emacs --script somefile Hmja, only this leaves somefile behind, which I intentionally wanted to avoid. (At least in Bash one could get more or less safely rid of that with a "trap 'rm -f somefile' EXIT", but anyway.)