[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when ca
From: |
Michael Albinus |
Subject: |
bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line |
Date: |
Tue, 24 May 2022 09:34:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Peter Ludemann <peter.ludemann@gmail.com> writes:
Hi Peter,
> When I try to kill an emacs server from the command line by:
> emacsclient -e '(save-buffers-kill-emacs)'
> nothing appears to happen if there are any unsaved buffers.
>
> I presume that this is because the prompt goes to the usual place (below
> the mode line in the screen), which of course isn't visible from the
> command line because there isn't any screen when using "emacsclient -e".
>
> This is a follow-up to bug 55560, where it was suggested that kill-emacs is
> inappropriate and instead I should use save-buffers-kill-emacs.
There is an optional ARG which lets Emacs silently save all file-visiting
buffers without asking. So you must call
emacsclient -e '(save-buffers-kill-emacs t)'
Best regards, Michael.
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Peter Ludemann, 2022/05/23
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line,
Michael Albinus <=
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Peter Ludemann, 2022/05/24
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Eli Zaretskii, 2022/05/24
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Peter Ludemann, 2022/05/28
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Eli Zaretskii, 2022/05/28
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Eli Zaretskii, 2022/05/28
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Peter Ludemann, 2022/05/31
- bug#55599: save-buffers-kill-emacs doesn't give a visible prompt when called from command line, Eli Zaretskii, 2022/05/31