[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should emacsclient -e and --create-frame open both open frames?
From: |
Eli Zaretskii |
Subject: |
Re: Should emacsclient -e and --create-frame open both open frames? |
Date: |
Sun, 13 Oct 2024 08:20:41 +0300 |
> From: Björn Bidar <bjorn.bidar@thaodan.de>
> Date: Sun, 13 Oct 2024 01:57:09 +0300
>
> I recently noticed that when calling emacsclient is called with
> --create-frame and a function such as gnus-other-frame two frames open.
> I.e. I call emacsclient --create-frame --eval '(gnus-other-frame)', one
> frame opens with the last buffer accessed before calling emacsclient
> and another one with the buffer opened by the command evaluated.
>
> I'm not sure if this is a bug which why I'm asking first.
AFAIU, it isn't a bug: when emacsclient is invoked with -c, it
instructs the server to create a new frame, before it processes the
expressions passed via --eval.