all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sean Whitton <spwhitton@spwhitton.name>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 5be9a9cacf: Add a new command `restart-emacs'
Date: Sun, 17 Apr 2022 22:06:44 -0700	[thread overview]
Message-ID: <875yn7x9nf.fsf@athena.silentflame.com> (raw)
In-Reply-To: <877d7nabjl.fsf@gnus.org>

Hello,

On Sun 17 Apr 2022 at 07:02pm +02, Lars Ingebrigtsen wrote:

> Sean Whitton <spwhitton@spwhitton.name> 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



  parent reply	other threads:[~2022-04-18  5:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165019549260.14825.15584590170389963112@vcs2.savannah.gnu.org>
     [not found] ` <20220417113813.8E299C051DD@vcs2.savannah.gnu.org>
2022-04-17 17:00   ` master 5be9a9cacf: Add a new command `restart-emacs' Sean Whitton
     [not found]   ` <87czhfy7ai.fsf@athena.silentflame.com>
     [not found]     ` <877d7nabjl.fsf@gnus.org>
2022-04-18  5:06       ` Sean Whitton [this message]
2022-04-18  9:39         ` Lars Ingebrigtsen
2022-04-19  3:10           ` Sean Whitton
2022-04-19 12:28             ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yn7x9nf.fsf@athena.silentflame.com \
    --to=spwhitton@spwhitton.name \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.