From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs 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 Message-ID: <87r14jo02m.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55599@debbugs.gnu.org To: Peter Ludemann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 24 09:36:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntP5Q-0001qN-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 May 2022 09:36:12 +0200 Original-Received: from localhost ([::1]:38808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntP5P-0002bj-8P for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 May 2022 03:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntP5G-0002b3-4m for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 03:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntP5F-0003hl-Rf for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 03:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntP5F-00056y-N0 for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 03:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 May 2022 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55599 X-GNU-PR-Package: emacs Original-Received: via spool by 55599-submit@debbugs.gnu.org id=B55599.165337770819573 (code B ref 55599); Tue, 24 May 2022 07:36:01 +0000 Original-Received: (at 55599) by debbugs.gnu.org; 24 May 2022 07:35:08 +0000 Original-Received: from localhost ([127.0.0.1]:50878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntP4O-00055d-1z for submit@debbugs.gnu.org; Tue, 24 May 2022 03:35:08 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:34245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntP4L-000552-QF for 55599@debbugs.gnu.org; Tue, 24 May 2022 03:35:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1653377699; bh=Rve5Mmht+KWvooiF2UcizVcJQPQSS+NMBpJygwvumBk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=SJJdoCpFW1iNluu5PUqTRlq0JpMru3NAiMQm0kzRZHzQ2rktqfowvkCqzLEqYNZAW 20sfrfutX3WrJHcjrZLfUb0ecbbZIGHh4JOu3FC7Jeb8C5peugCaCW8wv9qUORScmy /oQ44wVLyKUSwUZc++YY5uoXCBd5e1rPLUSg9idk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.149.14]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MeU4s-1nIyJy3I9c-00aWx6; Tue, 24 May 2022 09:34:58 +0200 In-Reply-To: (Peter Ludemann's message of "Mon, 23 May 2022 12:56:17 -0700") X-Provags-ID: V03:K1:EBS+aKazAqL9jo80jKAEm/kTdedlRFSrDN6yWAeG774Lip1Sk3n ic3EjMXkyZo/3QJM6kcEMgKxFMVppQgEBXxqQKjQAp01rLypBoyukaaIf9UBE79S6RFrdrZ 177czfeEyex6lwyQP+i3iGn6FOKPVhQU1uaUBUO4h6Kps3O9v4t9ygIEDTkoZcuVm62+HxZ z6T6e8Bt5hiaRk3ZyaRvQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:zE0+qO1TgjU=:6tJpyA7T2GFM2BLdJDkU+U P3ux87RBun8AlzyyQQfGT/V1j+9exRt17FNrpQ2MpHGxWAC9hXw8LZ2UPiavJ4++3LOU6w4m4 5KWXeizHabtEEcVK4CnhpLsuY/sMYpAqXSLzZ+lvXo6/0/KP7RS7i4Ir4R8/MNGjQKT/exwQZ 8KZuAmoyCrYPIpCfOD94cUA+8CMG+uWk4FSimt8uO6IfzVkxOsEh6ysHjMu6nx9pUpAzCYcgp ppNkfif2ihz3DstfwW1d4zPptvOWcPP++yprIKzeH5UC+fpcQ9TkRBnNHiG3EvSg6kYd68E6w 4Vwrs1FfAqIWdXypgVTg4bOWUF0kfhkOtBB5vAHpCopBTU7zP20voeYXMbKK+AyrkLZnE6jsm wmnFunC1k+uzziWDb1ncONXqPhofdOHGHQ7WQAY2tP026RPD2wMrudkBctD0n4lhw1pfEMF/W nyZv1okyVNE+a4mrQsl3xPS3+czsmPsmdqVeN3AJ/O8Itq5DTk2IljwO6TxdDaIOYhP6qKLwg 0A3DixvtrCpEeragDVadwvAyRGTyaXwobnA9elTGZ9Z+/NYXk9TQSHLm6dzzycn/4pYEDQyOg kzbP22ppxMSFsFR4IuRU+39DvquTHzI8rV5wHSAisodYfuntVItzbR2Uem26/peX8V/yIQu4L w1ilprbfzUBkkdnPtPkHihDfrQL3loAt60BBhFS2bDHohctJNkiJfdmMOpFghMBJTYmngrmsL iU8e2k1VtJFizr68lqaN1OYzc6o8RcmQdnwqXxMZFw+1W9371N6hHAjazlcPkdBrm/kaCXRw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232992 Archived-At: Peter Ludemann 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.