From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs script options Date: Mon, 27 Nov 2023 14:59:15 +0200 Message-ID: <831qcb9wt8.fsf@gnu.org> References: <1325582.1700277236@archlinux> <83cyw7o6m3.fsf@gnu.org> <43521.1701055765@archlinux> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Greg Minshall Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 27 14:00:23 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 1r7bDr-0000XP-CX for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Nov 2023 14:00:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7bD5-0001Yy-4z; Mon, 27 Nov 2023 07:59:35 -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 1r7bD2-0001Yg-UX for emacs-devel@gnu.org; Mon, 27 Nov 2023 07:59:33 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7bD1-0005Dy-SA; Mon, 27 Nov 2023 07:59:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iRMicxRCmbpcgILr19g9MYwKIjEWzzLaCPOlEBZRbpg=; b=EhT92SBFtqiL ofcd8uBoRXxwVwc3kpHdSKKuj7hFWzF7Mrs3Aw8bnAwCkfa+G5JFJReUJ+NemSCVEh+v/uqlAQWlC 9TCDUN9KIp26CKnd9v+JhvW5TtmS2/QcUvvRUPPXE3ydYf89mAU/DBLuBTyi2p+R7Uiq2qDhaeyZa l5IuIlfaGf50iT5fcVLiB79EHrM80FFt2ipkGg1rhgUwz5ztZmBzCICE1tzcKW3Gt9hGYt84o3lw0 mBCY6frnminkkKQelSh3AVMinpgqd9ZL/UaVEK4YXB9TztoNkTmKA2Y4zQrXbhD01kkfcQOpI+EIE OwITEobrVfJwul5617NxUA==; In-Reply-To: <43521.1701055765@archlinux> (message from Greg Minshall on Sun, 26 Nov 2023 19:29:25 -0800) 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:313267 Archived-At: > cc: emacs-devel@gnu.org > From: Greg Minshall > Comments: In-reply-to Eli Zaretskii > message dated "Sat, 18 Nov 2023 09:36:36 +0200." > Date: Sun, 26 Nov 2023 19:29:25 -0800 > > there was an interesting discussion on how to use a two-line shell > script as a spring board into Emacs. but, possibly not everyone > followed the discussion that far. > > but, i would jump back to my suggestion for "-x". i think it would be a > real benefit to those wanting to write general purpose scripts using > Emacs as the "engine" (or whatever you want to call it). My understanding of this is that one can easily avoid the annoyance of having to use "--" by at least two different techniques. As mentioned in https://lists.gnu.org/archive/html/emacs-devel/2023-11/msg00864.html the proposed feature will change the Emacs behavior in incompatible ways, so there's also a significant disadvantage to this proposal. So on balance, I think that we should not add this feature.