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.bugs Subject: bug#72089: [PATCH] Option to control Emacs' behaviour when invoked with file args. Date: Wed, 17 Jul 2024 20:53:36 +0300 Message-ID: <864j8nhplr.fsf@gnu.org> References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@yahoo.com.tw> <32450bf6-4672-4357-8632-a536c774b6ab@yahoo.com.tw> <868qy5lsph.fsf@gnu.org> <86h6cogt1c.fsf@gnu.org> <87h6coasly.fsf@> 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="40923"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, funk443@yahoo.com.tw, 72089@debbugs.gnu.org, stefankangas@gmail.com To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 17 19:54:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sU8r3-000AUX-Cq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Jul 2024 19:54:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sU8qm-00084q-Oq; Wed, 17 Jul 2024 13:54:00 -0400 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 1sU8ql-00084i-GL for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2024 13:53:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sU8ql-0002bl-6N for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2024 13:53:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sU8qo-000833-3f for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2024 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jul 2024 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72089 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72089-submit@debbugs.gnu.org id=B72089.172123883330922 (code B ref 72089); Wed, 17 Jul 2024 17:54:02 +0000 Original-Received: (at 72089) by debbugs.gnu.org; 17 Jul 2024 17:53:53 +0000 Original-Received: from localhost ([127.0.0.1]:36175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU8qe-00082g-Fm for submit@debbugs.gnu.org; Wed, 17 Jul 2024 13:53:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU8qb-00082Q-Ov for 72089@debbugs.gnu.org; Wed, 17 Jul 2024 13:53:51 -0400 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 1sU8qR-0002YN-JC; Wed, 17 Jul 2024 13:53:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=UcnAINrDdqELR4DPRRJt8a9N/nzpSjcwOaW2PwlXyfI=; b=Oa5+aGa3OXzWYrZW2Dsm N9SXmTSLTlcrcZkkUoM3/bP/nt5S5Ox12XB0TYo1/cuJFiU8KTwmVJTWt180I0HtLm9kWsjPPRxU1 fcvFc+mRHl/5q9RBqkGvf/dLk/NIba0qkNhld4s2QqGIW8oi8nM5otvnMjSV/jENvP0mcE/oYjnPX tYrZ0IIAO7cpsny/6DJeZcnaZvwOsmzea9iq1TiMPQeJYd3+Y/8ZKohE6eqpvI0RaYrKjxb6/N17O 0VQSPdgwBRvZXwYFmVYnP8FbPRJIpZMaA26tg6nNJf0wVlTMBz8RwLV0PbgqR7mRr5rm9AefGwXpW NY+MLDl1+nPJ/Q==; In-Reply-To: <87h6coasly.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on Wed, 17 Jul 2024 19:30:33 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288932 Archived-At: > From: Björn Bidar > Cc: funk443@yahoo.com.tw, stefankangas@gmail.com, acorallo@gnu.org, > 72089@debbugs.gnu.org > Date: Wed, 17 Jul 2024 19:30:33 +0300 > > Eli Zaretskii writes: > > > I don't really see a big difference, since we have --eval. > > Passing elisp to commands in a shell script is pain Not when all you need to do is a single setq. > and command line flags are visible in --help. So is --eval. Adding a new command-line option also has downsides: it's another thing to learn and remember. "emacs --help" already shows more than 60 different options, and I personally sometimes have hard time finding the option whose exact name I happened to forget in this very long list. So adding one more option doesn't come for free.