GNU bug report logs - #62092
30.0.50; "case" does not work as dedenter in Python

Previous Next

Package: emacs;

Reported by: kobarity <kobarity <at> gmail.com>

Date: Fri, 10 Mar 2023 05:34:01 UTC

Severity: normal

Found in version 30.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 62092-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: kobarity <kobarity <at> gmail.com>
Cc: Lele Gaifax <lele <at> metapensiero.it>, 62092-done <at> debbugs.gnu.org
Subject: Re: bug#62092: 30.0.50; "case" does not work as dedenter in Python
Date: Sat, 11 Mar 2023 15:18:12 +0200
On 11/03/2023 04:08, kobarity wrote:

> The message "Closes case 1:" is shown.  It is shown to help
> distinguishing nested blocks, although it will not be useful if the
> case statements are same.
> 
> This is the same behavior as "if" blocks, etc.  The term "Closes" may
> not be the most appropriate for "case," but I don't think it is wrong.

Fair enough. I do think it's not ideal ("case" is not a "closer"), but 
neither is "else", for that matter. So the issue is not new.

And it can be useful, like you say, to distinguish nested blocks.

Pushed your change to emacs-29, and closing. Thanks!




This bug report was last modified 1 year and 282 days ago.

Previous Next


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