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: Sat, 13 Jul 2024 09:19:22 +0300 Message-ID: <868qy5lsph.fsf@gnu.org> References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@yahoo.com.tw> <32450bf6-4672-4357-8632-a536c774b6ab@yahoo.com.tw> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72089@debbugs.gnu.org To: CToID , Stefan Kangas , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 13 08:20:22 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 1sSW7J-0006HX-Ea for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jul 2024 08:20:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSW71-0001pS-H4; Sat, 13 Jul 2024 02:20:03 -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 1sSW6z-0001oF-TO for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 02:20:01 -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 1sSW6z-0008Na-Jz for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 02:20:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSW70-0006uw-7W for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2024 02:20: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: Sat, 13 Jul 2024 06:20: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.172085157326524 (code B ref 72089); Sat, 13 Jul 2024 06:20:02 +0000 Original-Received: (at 72089) by debbugs.gnu.org; 13 Jul 2024 06:19:33 +0000 Original-Received: from localhost ([127.0.0.1]:55002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSW6W-0006tj-Lu for submit@debbugs.gnu.org; Sat, 13 Jul 2024 02:19:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSW6U-0006tQ-Gs; Sat, 13 Jul 2024 02:19:30 -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 1sSW6O-0008Lh-Hp; Sat, 13 Jul 2024 02:19:24 -0400 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=Z7aosHwfsJALVup1hsJZNW6VrimWsitzaZJEowpk+DU=; b=bGIxtS2KflkQ aDessur5lU9jaUHJOhq2GVbwwLfed2A30rsa3DxcXz5RUqj52aE6DmmStySYoCKW1twr7m0R3TVo2 OGpPV9KxoEqb4F2d6rBuE4CuIctjBLNBOn2H+xhXbnbr6vqnsN6D1TYiIkRDm+iwhkPIbqM4rllVU MX9DmqkS5K/+RWp9JLSNIdXa6ATDTcoExwNc3tNWwGihoSILp8bISVI4+NUigwDjVrIs51FrNAudC W7yBw0/6IXt7Wh1Ww+LDZzgYI+AG5NuXLe589+Ov29IdMkfbbsUWxQv9cK3hVOD0vmjrbMhColGfZ Z+wmwWT8hbvqLIFN9ENqzw==; In-Reply-To: <32450bf6-4672-4357-8632-a536c774b6ab@yahoo.com.tw> (bug-gnu-emacs@gnu.org) 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:288789 Archived-At: severity 72089 wishlist thanks > Date: Sat, 13 Jul 2024 03:18:04 +0800 > From: CToID via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hello folks, > > So I have a discussion with Eli on help-gnu-emacs mailing list earlier > (https://lists.gnu.org/archive/html/help-gnu-emacs/2024-07/msg00124.html) > about Emacs' initial buffer behaviour when invoked with file arguments. > > Overall, I think it's benefitial to have a custom option for users to > control this behaviour of Emacs, so I made some simple changes to > accomplish this. Thanks. Such changes should be accompanied by a suitable NEWS entry and changes for the manual(s) which describe initial-buffer-choice. But please wait with these additions until we decide whether we want such a feature. Andrea and Stefan, any opinions?