From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: master 5be9a9cacf: Add a new command `restart-emacs' Date: Mon, 18 Apr 2022 20:10:06 -0700 Message-ID: <87lew1wyy9.fsf@melete.silentflame.com> References: <165019549260.14825.15584590170389963112@vcs2.savannah.gnu.org> <20220417113813.8E299C051DD@vcs2.savannah.gnu.org> <87czhfy7ai.fsf@athena.silentflame.com> <877d7nabjl.fsf@gnus.org> <875yn7x9nf.fsf@athena.silentflame.com> <87lew2k9we.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7847"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 19 05:12:27 2022 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 1ngeHy-0001q4-BF for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Apr 2022 05:12:26 +0200 Original-Received: from localhost ([::1]:36734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngeHw-00087L-OR for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Apr 2022 23:12:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngeFn-0007Mo-Sa for emacs-devel@gnu.org; Mon, 18 Apr 2022 23:10:11 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:60889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngeFl-0006HV-Sf for emacs-devel@gnu.org; Mon, 18 Apr 2022 23:10:11 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D15DE32020BE; Mon, 18 Apr 2022 23:10:07 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 18 Apr 2022 23:10:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1650337807; x=1650424207; bh=td mlSoBMO1Zdm40EKZZ0ESLFHl77YIG4JU+UhY8Apjg=; b=EYl9HE6Xeld/eaBkol kIXkFjKMjcYzFV6ZuRAxYDO2ztFCv1troiLnJ/2ScAPqEAl5E6rQoj+kUOjTbqy9 KDQk01CuGq5LQRcPgx09DYgCcSG/Hb2JS7Wtu8GIJ3eygEz48NzpMBWuM+GuELnA eJD3UGNW39YCm6T7EBYEUMF2CynJIDXThyLG3THx+hB3qkMAlw3r3kj8i1UOqcqA pW5onqJ2SSabh9WOD6L3F5WqV+YGyC+4E1YJW4bu3vlYvhvsZpr/g05ulqTOGctB PDwhUMUgl7k0qsEtBgqEdg6XRcv/SgrMQuQMenM2ZLRRkzfWaCgS9BprcMJVF6D+ pjfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650337807; x= 1650424207; bh=tdmlSoBMO1Zdm40EKZZ0ESLFHl77YIG4JU+UhY8Apjg=; b=i dn7j/MwYvytbBo8aggLcD+2/os1QhFT15Ri78JSNWMnh+t3JJ21tVIGezG2TL7ji xhP0Ce0Wzql8ChkcXBE+SvzmIf88XdfCDyhwYptBsMbnfp5LOzjPJqnVPWoetbwJ kiHctyjeoUAEybuN0KaephsxqO4A6w61iD8r4QjNiQck2HrzwXxyHPjbgDxJaAbh 6KgPflAABw9rMlOstdTegWb+JrLa1fm/psHHx2ymiAxgbjAlqT5t8gUKsey+s8hc a3vhAdd9Gakiu6mISDA4HVSusWuXB4S18RWODbuKzsPAvyJJ7MSMkprhLtlSsjwX BVbLp6+gAupYseyg2ccgg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvddtvddgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepleeggefgvdeijedvhfdugfegtefgkeekueeileejjeehudeg geefteeghfeuffeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Apr 2022 23:10:06 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 579C17E5188; Mon, 18 Apr 2022 20:10:06 -0700 (MST) In-Reply-To: <87lew2k9we.fsf@gnus.org> Received-SPF: pass client-ip=64.147.123.19; envelope-from=spwhitton@spwhitton.name; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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" Xref: news.gmane.io gmane.emacs.devel:288642 Archived-At: Hello, On Mon 18 Apr 2022 at 11:39AM +02, Lars Ingebrigtsen wrote: > Sean Whitton writes: > >> Well, in this case I just want a single frame to be opened, rather than >> saving and restoring all that state. I guess what I want is reexec with >> additional command line arguments, "--eval" "(make-frame)". > > I think that's out of scope for `restart-emacs'. I mean, it would be > possible to have a > `restart-emacs-but-with-extra-command-line-arguments', but then you're > not restarting Emacs the way you started it. Right. > But if you start Emacs originally with "--eval" "(make-frame)", then > `restart-emacs' will be restarted the same way. Interesting idea, thank you. -- Sean Whitton