From: Peter Ludemann <peter.ludemann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Albinus <michael.albinus@gmx.de>, 55599@debbugs.gnu.org
Subject: bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line
Date: Tue, 31 May 2022 12:34:23 -0700 [thread overview]
Message-ID: <CAHjfyZ3+z=a4cKcrCdFukUK5Lyq7Bhuwv5L+FN-VREkd5_5U3g@mail.gmail.com> (raw)
In-Reply-To: <83czfxla5a.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]
There's probably a solution to this, but it could be a lot of work for a
small benefit.
If emacsclient --eval could pass in the stdin/stdout/stderr from the
terminal to the daemon, then things would work as I expect. But the
work-around is easy: emacsclient -c -e '...'
However, I noticed that stderr appears to be available, when there's an
error:
$ emacsclient --eval '(man fprintf)'
*ERROR*: Symbol’s value as variable is void: fprintf
and also when it works properly:
$ emacsclient --eval "(list-buffers)"
#<window 194 on *Buffer List*>
On Sat, 28 May 2022 at 12:39, Eli Zaretskii <eliz@gnu.org> wrote:
> > Cc: michael.albinus@gmx.de, 55599@debbugs.gnu.org
> > Date: Sat, 28 May 2022 22:25:53 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > > As to your suggested feature request: I'm not requesting termination
> of the server non-interactively - I'm just
> > > saying that when the shutdown command comes from the command line, the
> messages be output to the
> > > terminal, the way "message" does and not the way yes-or-no-p does.
> >
> > The terminal is still taken by the client frame it displays.
>
> Sorry, that was incorrect, because I was confused about the situation
> to which you were alluding.
>
> The correct response is: when a daemon Emacs doesn't show any frames,
> it has no way of communicating with the user, because the standard
> streams are no longer available, AFAIK.
>
[-- Attachment #2: Type: text/html, Size: 3048 bytes --]
next prev parent reply other threads:[~2022-05-31 19:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-23 19:56 bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line Peter Ludemann
2022-05-24 7:34 ` Michael Albinus
2022-05-24 9:29 ` Peter Ludemann
2022-05-24 11:31 ` Eli Zaretskii
2022-05-28 18:27 ` Peter Ludemann
2022-05-28 19:25 ` Eli Zaretskii
2022-05-28 19:39 ` Eli Zaretskii
2022-05-31 19:34 ` Peter Ludemann [this message]
2022-06-01 2:30 ` Eli Zaretskii
2022-06-01 17:54 ` Peter Ludemann
2022-06-01 19:52 ` Eli Zaretskii
2022-06-01 20:04 ` Peter Ludemann
2023-09-13 1:43 ` Stefan Kangas
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='CAHjfyZ3+z=a4cKcrCdFukUK5Lyq7Bhuwv5L+FN-VREkd5_5U3g@mail.gmail.com' \
--to=peter.ludemann@gmail.com \
--cc=55599@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=michael.albinus@gmx.de \
/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.