GNU bug report logs - #30205
27.0.50; Minor mode commands enable the minor mode even if the body fails

Previous Next

Package: emacs;

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

Date: Mon, 22 Jan 2018 09:56:01 UTC

Severity: minor

Tags: wontfix

Found in version 27.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at 30205 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: Philipp Stephani <p.stephani2 <at> gmail.com>, 30205 <at> debbugs.gnu.org
Subject: Re: bug#30205: 27.0.50; Minor mode commands enable the minor mode
 even if the body fails
Date: Fri, 19 Jul 2019 15:25:16 +0200
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> Unless we can provide a way to roll back the entire mode function
> "transaction", I would regard errors in mode functions as UB and the
> real bug here.  In other words, I don't see any benefit to using the
> mode variable as an indicator of success, when mode functions shouldn't
> fail to begin with.

I agree, and am closing this bug report.

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




This bug report was last modified 6 years and 2 days ago.

Previous Next


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