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

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

But if you start Emacs originally with "--eval" "(make-frame)", then
`restart-emacs' will be restarted the same way.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2022-04-18  9:39 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
2022-04-18  9:39         ` Lars Ingebrigtsen [this message]
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=87lew2k9we.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=spwhitton@spwhitton.name \
    /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.