[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can emacsclient send environment variables even if it doesn't create
From: |
Eli Zaretskii |
Subject: |
Re: Can emacsclient send environment variables even if it doesn't create a frame? |
Date: |
Sat, 01 Apr 2023 18:10:51 +0300 |
> From: Yoichi Nakayama <yoichi.nakayama@gmail.com>
> Date: Sat, 1 Apr 2023 23:28:12 +0900
> Cc: emacs-devel@gnu.org
>
> On Sat, Apr 1, 2023 at 10:54 PM Eli Zaretskii <eliz@gnu.org> wrote:
> > I asked why you cannot invoke emacsclient to create a frame, if that
> > will solve your problem? Why do you have to insist on using an
> > existing frame? What am I missing here?
>
> I'm using EDITOR='emacsclient -t'. I don't insist on using an existing frame.
>
> I asked this question because I wanted to avoid putting restrictions
> on the fix I'm proposing to magit. Since emacsclient can either create
> frames or not, I would prefer to have no restrictions in either case.
> If emacsclient's limitation remains that there is no way to get the client's
> environment variables when it doesn't create a frame, I think I'll have to
> accept that my magit fix remains limited.
I'd prefer not to pass environment variables unless a new frame is
being created, yes.