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: Sun, 17 Apr 2022 22:06:44 -0700 Message-ID: <875yn7x9nf.fsf@athena.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16200"; 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 Mon Apr 18 07:09:53 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 1ngJe3-00041I-Qc for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Apr 2022 07:09:53 +0200 Original-Received: from localhost ([::1]:43894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngJe2-00057V-7c for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Apr 2022 01:09:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngJbB-000392-5y for emacs-devel@gnu.org; Mon, 18 Apr 2022 01:06:53 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52809) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngJb7-0000xD-IT for emacs-devel@gnu.org; Mon, 18 Apr 2022 01:06:52 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6E1745C00BE; Mon, 18 Apr 2022 01:06:47 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 18 Apr 2022 01:06:47 -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=1650258407; x=1650344807; bh=Bg WGXGvgQQq2ofZUKk2idsC3zHABiJEiOCaBplnFTFs=; b=lucqKaXZpq4ScLmwxf 8zbCZ5vGC+ygDg0DAN6QzdNdrsNx9CTcSF7F137o4cuT/IbJvwP1ua73U7vOH+sj BO2Ts/zwwYpCuSEM727kSGTeKL36nP1ZulShaOO4Zm/ki0R7upLgB4UgLuspsmNl T/lGicHkqMyYU1FcoZTaJJ4cG2avdsW29mi68tnmTsZVP6SRocdz3ccFhduRezEb G9Zh8hgs+60TrzG2VUjWwLngzCZXHf05dl2yST53c36DbKX5gHAScebAyMagZ/eS hXw7hIZwp2uBpW9Cc1ZDDPNTlAU00aJfRAGHEBDENI2IrVnxz1LBbzTtqLa8rNkk u1dg== 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=1650258407; x= 1650344807; bh=BgWGXGvgQQq2ofZUKk2idsC3zHABiJEiOCaBplnFTFs=; b=C Vkmj4Njl6wXlxPqaJj5FGtEQv22YS4ZKfcPM6s2XkYmq99T0I4XhZchcGJB9RjAp J+JB3bMlORzPm6B3Cz9GsZ7OAoUvlf/LZz1d5Y/v5ocsEhqMpyFa8a+LTFjUIzHW dlFNKm42Qo2erYF6Q8DuhkuaqdvfIENe6X4YHxxBUzoqaXieK3dAYl5tWNvkilmO vgKOdXYqQAmvSIWfqezpeoevlzzPsnSRVIRcCkifsIoZhWqFTONDtxtW/y97PjSQ e0oEM2xkX9bL6P4b3KOg76XsYMA+Feqz85jiYzMeuewlcBE10r2QFDjgdCOE599V fxJseg+a7/V6Hfg6uy8iA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvddttddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepleeggefgvdeijedvhfdugfegtefgkeekueeileejjeehudeg geefteeghfeuffeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Apr 2022 01:06:47 -0400 (EDT) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id EED271B76D4; Mon, 18 Apr 2022 05:06:44 +0000 (UTC) In-Reply-To: <877d7nabjl.fsf@gnus.org> Received-SPF: pass client-ip=66.111.4.26; envelope-from=spwhitton@spwhitton.name; helo=out2-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_H3=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:288594 Archived-At: Hello, On Sun 17 Apr 2022 at 07:02pm +02, Lars Ingebrigtsen wrote: > Sean Whitton writes: > >> This is cool, thank you. In my case all my frames are created with >> 'emacsclient -nc', however, so this command is not much use on its own. >> Could there be some sort of hook so that I could arrange for Emacs to >> execute (make-frame) or something after the restart? > > Doesn't desktop-mode do that? 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)". -- Sean Whitton