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: Philipp <p.stephani2 <at> gmail.com>
To: 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: Mon, 19 Jul 2021 20:51:53 +0200

> Am 23.01.2018 um 18:45 schrieb p.stephani2 <at> gmail.com:
> 
> 
> 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.




This bug report was last modified 4 years ago.

Previous Next


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