GNU bug report logs - #72089
[PATCH] Option to control Emacs' behaviour when invoked with file args.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: CToID <funk443@HIDDEN>; Keywords: patch; dated Sat, 13 Jul 2024 03:23:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 72089 <at> debbugs.gnu.org:


Received: (at 72089) by debbugs.gnu.org; 17 Jul 2024 11:25:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 07:25:09 2024
Received: from localhost ([127.0.0.1]:35173 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sU2mS-0003g4-QT
	for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 07:25:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sU2mP-0003fV-R5
 for 72089 <at> debbugs.gnu.org; Wed, 17 Jul 2024 07:25:07 -0400
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 <eliz@HIDDEN>)
 id 1sU2mH-00073Q-6Q; Wed, 17 Jul 2024 07:24:57 -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=EliGWBoWeSBbqTpUMW6vFkcbaNXJgmqchrDkoPUYeM0=; b=dV2EmVIq5o7SBnARDWST
 ZCPUaA0DJV3p/b0kX4Dkzm7/ivNfrpNEXEkLZuCUmnQam+pdv286Bw1ycI6BjWdBlOpqyvyfg70id
 CwNvJWI1FNYG9aqd92UoqBKF4Adnv1TMJsMctM4Z0UpARkRhGi7RICwLOr5K54hOvFYjuwrmGqBWJ
 CqU73Md+M8BT3xsKZUvmQUccBTW3eeB/yvzjHbEHiKqNX4q2l0PM4gbagmkAGf+GAp8wOUdEhaGMd
 wwX471HO8U8/JvhB8ffHNnwQv8e4FsKqYaUrbiDuwuAEalj9HsairreDieGq+4hk+nJoE6w2rd0r0
 2pGyLGoJVkkVww==;
Date: Wed, 17 Jul 2024 14:24:47 +0300
Message-Id: <86h6cogt1c.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?iso-8859-1?Q?Bj=F6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <87sew9asat.fsf@> (message from =?iso-8859-1?Q?Bj=F6rn?= Bidar
 on Wed, 17 Jul 2024 01:24:58 +0300)
Subject: Re: bug#72089: [PATCH] Option to control Emacs' behaviour when
 invoked with file args.
References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@HIDDEN>
 <32450bf6-4672-4357-8632-a536c774b6ab@HIDDEN>
 <868qy5lsph.fsf@HIDDEN> <87sew9asat.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72089
Cc: acorallo@HIDDEN, funk443@HIDDEN, 72089 <at> debbugs.gnu.org,
 stefankangas@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: CToID <funk443@HIDDEN>,  Stefan Kangas <stefankangas@HIDDEN>,
>   Andrea Corallo <acorallo@HIDDEN>,  72089 <at> debbugs.gnu.org
> Date: Wed, 17 Jul 2024 01:24:58 +0300
> 
> I wonder if it would make more sense that this should be command line
> flag or a default rather that an option.
> 
> An option would require the user to set the option while a command line
> flag would make the option redundant and more flexible.
> The option would also allow the user to call a mode like e.g. Magit
> use the mode and then close the frame without the initial buffer.
> 
> A default would be more intuitive as Emacs would behave pretty much like
> any other editor out there.

I don't really see a big difference, since we have --eval.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72089; Package emacs. Full text available.

Message received at 72089 <at> debbugs.gnu.org:


Received: (at 72089) by debbugs.gnu.org; 17 Jul 2024 06:29:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 02:29:33 2024
Received: from localhost ([127.0.0.1]:34949 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sTyAP-0004Xq-J1
	for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 02:29:33 -0400
Received: from sonic312-21.consmr.mail.sg3.yahoo.com ([106.10.244.211]:35586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <funk443@HIDDEN>) id 1sTyAM-0004Xa-GS
 for 72089 <at> debbugs.gnu.org; Wed, 17 Jul 2024 02:29:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.tw; s=s2048;
 t=1721197759; bh=QZ0lQ9mYarVA5ov8KJvm/2ssCPPibzR4bQyZGDTumOs=;
 h=Date:Subject:To:References:From:In-Reply-To:From:Subject:Reply-To;
 b=VU96DwzCmjWCDryz9nyxdwq4MFzkvxNTOlTQiu+kaoTbeRuIZPQ1f3v8p54tEtXEy3USKjRFqTN7ysQ6FtFP0sbGjaSbxUTKcAe7DwUOWUfpQ806b7gNzXuVB25DBciQ/sBzdZIfBXf9zyZQWLWB+uyTT6OMQnDA8yhZRxPflMl2mdFlDUijjLMsVr1nJ+sCuC4+QwM2TnsX+5UHVw1VRVgpBvOJ/2UqhD0mfH9xysPuz72RuWIc1Hj8/xLzOJnEMfviepFHXxv3frjJHCiE4Km3h7PcYRDnXEolFMWZMSP1ZRXBjpaLvGL9k0XicD9XfS0wXhbey7R0RhDIUZCflg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1721197759; bh=7C+94D36bnGxjT6JUh9m6wp17Qgjch3ETNxu4HAv7w8=;
 h=X-Sonic-MF:Date:Subject:To:From:From:Subject;
 b=UbpUrC/cK1YG5g1F7vwXbQf7t39HmWOes086w+m+vsSFQEBJfE0Gtif3lpAU79zIJlHzbiT17/PEH4FAppIdYm9sW9Tw0C3uXx66a8BBaCBg28TxQQG8TPGsGutnSiu647gqv+AeFoiKX+zNAJdvi3FyJMMAZgourY+o4wCV2X/mB2lqdk7+kGyDb+gcSizgxbTPcmNxQnHf6BU1R8ECJcb2/neJJvNIDDb7kp1Y0Jwp6pTJewVlAgeyuQzRP0XhysGAiTGNbt/1NpTGndKSZTEVKlNWLeAVQeNlgTVirWtySIEBuYi/yzO+F9DsYy76w4FCWvnrXhwxUCkcJWGwAA==
X-YMail-OSG: LPnoYk8VM1ntUs12HD1N7rno6w3WEZx8wZ57Z0G4AZIKh7ZF.gErchGH3ettV57
 99mPL6n90qhQ.4Urv0mvaBGLdxU0VC0l6_UqQc2ZnIRJKnfe1SeXQgozBO_wNshhJYJ29arOsjag
 sDww2Q2Z4.IFaU7DeZuVemwjQ4W7ol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LCjPYVIWDLNVR78Nlj_KaozlKBJzMdUe1olVU9SgRyJMtYV3XIQkRZ699..yR3c-
X-Sonic-MF: <funk443@HIDDEN>
X-Sonic-ID: 68eda442-8fc3-429a-be65-9704c967eccf
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.sg3.yahoo.com with HTTP; Wed, 17 Jul 2024 06:29:19 +0000
Received: by hermes--production-sg3-85fdb5cfc8-t9jg7 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID a854657ae875e1de2947d98d758e48fe; 
 Wed, 17 Jul 2024 06:29:15 +0000 (UTC)
Message-ID: <1c27e28b-bcc3-4b47-aea2-f1d07f73e95a@HIDDEN>
Date: Wed, 17 Jul 2024 14:29:14 +0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#72089: [PATCH] Option to control Emacs' behaviour when
 invoked with file args.
To: 72089 <at> debbugs.gnu.org
References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@HIDDEN>
 <32450bf6-4672-4357-8632-a536c774b6ab@HIDDEN> <868qy5lsph.fsf@HIDDEN>
 <87sew9asat.fsf@>
Content-Language: en-US
From: CToID <funk443@HIDDEN>
In-Reply-To: <87sew9asat.fsf@>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailer: WebService/1.1.22501
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 756
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 72089
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 2024-07-17 06:24 GMT+08:00, Björn Bidar:
> I wonder if it would make more sense that this should be command line
> flag or a default rather that an option.
> 
> An option would require the user to set the option while a command line
> flag would make the option redundant and more flexible.
> The option would also allow the user to call a mode like e.g. Magit
> use the mode and then close the frame without the initial buffer.
> 
> A default would be more intuitive as Emacs would behave pretty much like
> any other editor out there.

The default value I gave to the customization option is to not show 
`initial-buffer-choice` if invoked with a file argument.  Maybe we can 
add another choice for controlling with command line flag?

-- 
Best,
ID




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72089; Package emacs. Full text available.

Message received at 72089 <at> debbugs.gnu.org:


Received: (at 72089) by debbugs.gnu.org; 16 Jul 2024 22:25:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 16 18:25:10 2024
Received: from localhost ([127.0.0.1]:34568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sTqbd-00062f-PQ
	for submit <at> debbugs.gnu.org; Tue, 16 Jul 2024 18:25:10 -0400
Received: from thaodan.de ([185.216.177.71]:56234)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bjorn.bidar@HIDDEN>) id 1sTqbc-00062N-06
 for 72089 <at> debbugs.gnu.org; Tue, 16 Jul 2024 18:25:08 -0400
Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154])
 by thaodan.de (Postfix) with ESMTPSA id 32857D00030;
 Wed, 17 Jul 2024 01:24:59 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
 t=1721168699; bh=o+kRjyVHDDJ8IMM0byV1ocsbvcSh+ldPLef/sm7cGHU=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=R9To/sFTkC6Vv0w1IiQZeisfJwkrj5FLgGP0biYXLnb4GwGurexAHtOLat8jTGFg8
 ABncSSeObl0GXzT9ji+pBlfQK4KvzHBVcN5l1wh6HGbw0BV9e/gcEboaaeOXycarfu
 95yHcfGtLBOQt9bniH44AafGZvJUbtq5P9Bi9x+H4aR8B1EzF+ayySnX0MoAlgNtHm
 MqTlhA9Kjwotj2h2KkNGxANnfauAsg5tMH1GUziKML6beDOy0lOKQCmUGc9qHBixXc
 A1tazhcykcdGuW0+23qNlQL1qBYvJyzFIGMQkMLavmM45LfxlJdiw7hlCOD+8xZ00E
 pBD+j0mQd4g228xwhM+Db0lJFhS47xmOjNsP2dnXjzP3VxQD2SDUV145OcpojMekD0
 P8y1GmDcq/7s06DHadrf2OLWh7bwgEx7Y3QR3Q2/TGX0jMCACI/ymmTer+Vcr9Mi6I
 dm+k4WtTq6DkkmZ3Z2Dg6o3VjjZkDJ7OFZI5iI5E+7PQFluy5zRi1UkOx2Tog3uxqU
 jNT7nC1onkGT/50XHuCG9ejhrrpECAiCaY+TNy305r97XeB6S7e017KrXHZithXvPS
 ppCtnOSbj5VKnmLctRAqwz45qBQyIzKJ4T0SnhrAVlLxGouzDE0bpY+ly+3GztdHpz
 CroeGYXt1CEbSZ68fa546bug=
From: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#72089: [PATCH] Option to control Emacs' behaviour when
 invoked with file args.
In-Reply-To: <868qy5lsph.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Jul
 2024 09:19:22 +0300")
References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@HIDDEN>
 <32450bf6-4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o6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
 B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
 pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
 HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
 AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
 dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
 KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
 GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
 S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Wed, 17 Jul 2024 01:24:58 +0300
Message-ID: <87sew9asat.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > 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" <bug-gnu-emacs@HIDDEN>
 >> >> Hell [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 1.2 INVALID_MSGID          Message-Id is not valid, according to RFC 2822
X-Debbugs-Envelope-To: 72089
Cc: Andrea Corallo <acorallo@HIDDEN>, CToID <funk443@HIDDEN>,
 72089 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

> 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" <bug-gnu-emacs@HIDDEN>
>> 
>> 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?

I wonder if it would make more sense that this should be command line
flag or a default rather that an option.

An option would require the user to set the option while a command line
flag would make the option redundant and more flexible.
The option would also allow the user to call a mode like e.g. Magit
use the mode and then close the frame without the initial buffer.

A default would be more intuitive as Emacs would behave pretty much like
any other editor out there.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72089; Package emacs. Full text available.

Message received at 72089 <at> debbugs.gnu.org:


Received: (at 72089) by debbugs.gnu.org; 13 Jul 2024 08:00:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 13 04:00:00 2024
Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sSXfj-0003kb-Va
	for submit <at> debbugs.gnu.org; Sat, 13 Jul 2024 04:00:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35282)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <acorallo@HIDDEN>) id 1sSXfi-0003kC-Rr
 for 72089 <at> debbugs.gnu.org; Sat, 13 Jul 2024 03:59:59 -0400
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 <acorallo@HIDDEN>)
 id 1sSXfc-00077X-4W; Sat, 13 Jul 2024 03:59:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=NdgfMWcCV62xFGcggUYK0OdJEmeTCIbyDKybF+2tmMk=; b=bIDaMSIDeWQNTweeTIZj
 h5VCvh1bjyFQlpIwbOtl086CGGKrfwkOGdm66QOJYzejDqEsJVvQmVpqr94uRf1VH1pC2lZohtamf
 WkXkOdGqBs1iAXllKd2AMOrD0DR9fyfRu+hZQn4cJGeOndPYKO1S0nkNGOlRhH09x/Tmxtshzskp3
 /FEvk6H51QnkL2cibN+7IhzCmaYOC8PRc095qDKdsBVBSawyMUXzy8X+c+CdrWYxoppfarkASpHjb
 opEdImdF0TGsrmwlNsWu0Ur+Jx+mw8Pd2vXDOIUrHVNbcyYgn0398ejQVGlqfJqVGa8DNvApGHX0V
 voOEdEh8VbTmxg==;
Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <acorallo@HIDDEN>)
 id 1sSXfa-0002pF-KP; Sat, 13 Jul 2024 03:59:50 -0400
From: Andrea Corallo <acorallo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#72089: [PATCH] Option to control Emacs' behaviour when
 invoked with file args.
In-Reply-To: <868qy5lsph.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Jul
 2024 09:19:22 +0300")
References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@HIDDEN>
 <32450bf6-4672-4357-8632-a536c774b6ab@HIDDEN>
 <868qy5lsph.fsf@HIDDEN>
Date: Sat, 13 Jul 2024 03:59:50 -0400
Message-ID: <yp1le25bu2x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72089
Cc: 72089 <at> debbugs.gnu.org, CToID <funk443@HIDDEN>,
 Stefan Kangas <stefankangas@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> 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" <bug-gnu-emacs@HIDDEN>
>> 
>> 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?

I'm okay with this, sounds it might be useful.

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72089; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 72089 <at> debbugs.gnu.org:


Received: (at 72089) by debbugs.gnu.org; 13 Jul 2024 06:19:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 13 02:19:33 2024
Received: from localhost ([127.0.0.1]:55002 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sSW6W-0006tj-Lu
	for submit <at> debbugs.gnu.org; Sat, 13 Jul 2024 02:19:32 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1sSW6U-0006tQ-Gs; Sat, 13 Jul 2024 02:19:30 -0400
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 <eliz@HIDDEN>)
 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==;
Date: Sat, 13 Jul 2024 09:19:22 +0300
Message-Id: <868qy5lsph.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: CToID <funk443@HIDDEN>, Stefan Kangas <stefankangas@HIDDEN>,
 Andrea Corallo <acorallo@HIDDEN>
In-Reply-To: <32450bf6-4672-4357-8632-a536c774b6ab@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#72089: [PATCH] Option to control Emacs' behaviour when invoked
 with file args.
References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@HIDDEN>
 <32450bf6-4672-4357-8632-a536c774b6ab@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72089
Cc: 72089 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

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" <bug-gnu-emacs@HIDDEN>
> 
> 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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72089; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jul 2024 03:22:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 12 23:22:57 2024
Received: from localhost ([127.0.0.1]:54953 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sSTLc-0007vJ-Qc
	for submit <at> debbugs.gnu.org; Fri, 12 Jul 2024 23:22:57 -0400
Received: from lists.gnu.org ([209.51.188.17]:37402)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <funk443@HIDDEN>) id 1sSLmm-0004vG-7F
 for submit <at> debbugs.gnu.org; Fri, 12 Jul 2024 15:18:29 -0400
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 <funk443@HIDDEN>)
 id 1sSLmi-0002RH-6U
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jul 2024 15:18:25 -0400
Received: from sonic307-21.consmr.mail.sg3.yahoo.com ([106.10.241.38])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <funk443@HIDDEN>)
 id 1sSLmb-0002UG-Qt
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jul 2024 15:18:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.tw; s=s2048;
 t=1720811888; bh=aNK1NlhUH12TeGmTx+9t6dogUMOvt4wktgA4OivrkQs=;
 h=Date:To:From:Subject:References:From:Subject:Reply-To;
 b=QlLD35I/doiM+zb1G7wOPMZ6WW1tlrIkiOVWxIQhAIken+J9Lt47nv32zIroMKajyhG/V9Du6pl8vkE+iVeCvU97c99ZV8RXIrauyNIqTXDnEQ2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-9672-f1437e6a2425
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.sg3.yahoo.com with HTTP; Fri, 12 Jul 2024 19:18:08 +0000
Received: by hermes--production-sg3-85fdb5cfc8-qr5dd (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 6f946210fc023fdc741e67e9612c5884; 
 Fri, 12 Jul 2024 19:18:05 +0000 (UTC)
Content-Type: multipart/mixed; boundary="------------H2z0nIcnSOC2jJXDS7WqcQP8"
Message-ID: <32450bf6-4672-4357-8632-a536c774b6ab@HIDDEN>
Date: Sat, 13 Jul 2024 03:18:04 +0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-gnu-emacs@HIDDEN
From: CToID <funk443@HIDDEN>
Subject: [PATCH] Option to control Emacs' behaviour when invoked with file
 args.
References: <32450bf6-4672-4357-8632-a536c774b6ab.ref@HIDDEN>
X-Mailer: WebService/1.1.22501
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 3463
Received-SPF: pass client-ip=106.10.241.38; envelope-from=funk443@HIDDEN;
 helo=sonic307-21.consmr.mail.sg3.yahoo.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 12 Jul 2024 23:22:50 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

This is a multi-part message in MIME format.
--------------H2z0nIcnSOC2jJXDS7WqcQP8
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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.

In GNU Emacs 30.0.60 (build 4, x86_64-pc-linux-gnu, GTK+ Version
  3.24.41, cairo version 1.18.0) of 2024-07-13 built on thinkpad-btw
Repository revision: 8b1a0f8695a43e74daa5275559267e96c14aba03
Repository branch: bruh
System Description: Ubuntu 24.04 LTS

Configured using:
  'configure --prefix=/home/id/.local --with-tree-sitter
  --with-native-compilation --with-pgtk 'CFLAGS=-O2 -march=native''

---
Best,
ID

--------------H2z0nIcnSOC2jJXDS7WqcQP8
Content-Type: text/x-patch; charset=UTF-8; name="initial-buffer-choice.patch"
Content-Disposition: attachment; filename="initial-buffer-choice.patch"
Content-Transfer-Encoding: base64

RnJvbSAxNjVjZTk1Mjg4YTBiMjY1MmYwMDliZjg1NzFiMDFkNDkxYjIyOWM2IE1vbiBT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--------------H2z0nIcnSOC2jJXDS7WqcQP8--




Acknowledgement sent to CToID <funk443@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#72089; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 17 Jul 2024 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.