GNU bug report logs - #30233
27.0.50; There should be a variant of C-x # that causes Emacsclient to exit with a nonzero exit code

Previous Next

Package: emacs;

Reported by: p.stephani2 <at> gmail.com

Date: Tue, 23 Jan 2018 17:47:01 UTC

Severity: wishlist

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 30233 <at> debbugs.gnu.org
Subject: bug#30233: 27.0.50; There should be a variant of C-x # that causes Emacsclient to exit with a nonzero exit code
Date: Tue, 20 Jul 2021 13:53:41 +0200
Philipp <p.stephani2 <at> gmail.com> writes:

>> Many programs invoke $EDITOR and wait for it to return to enter some
>> input.  EDITOR can be set to emacsclient, of course.  However, there's
>> no way to have emacsclient exit with a nonzero exit code.  That can be
>> useful in some cases, because callers invoking $EDITOR often react on
>> the exit code, e.g. by aborting some operation.  Therefore it would be
>> nice to have a variant of C-x # that would cause emacsclient to exit
>> with a nonzero exit code.
>
> I guess this is the same as Bug#11358.

Yup; so I'm closing this bug report too, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.