all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: kobarity <kobarity@gmail.com>
Cc: Lele Gaifax <lele@metapensiero.it>, 62092-done@debbugs.gnu.org
Subject: bug#62092: 30.0.50; "case" does not work as dedenter in Python
Date: Sat, 11 Mar 2023 15:18:12 +0200	[thread overview]
Message-ID: <bbac1272-08ea-566b-b959-13ca1d56436a@yandex.ru> (raw)
In-Reply-To: <eke7r0twghun.wl-kobarity@gmail.com>

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!





  reply	other threads:[~2023-03-11 13:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10  5:33 bug#62092: 30.0.50; "case" does not work as dedenter in Python kobarity
2023-03-10  7:36 ` Eli Zaretskii
2023-03-10  8:27   ` kobarity
2023-03-11  0:27 ` Dmitry Gutov
2023-03-11  2:08   ` kobarity
2023-03-11 13:18     ` Dmitry Gutov [this message]
2023-03-25 14:13       ` kobarity
2023-03-26  2:04         ` Dmitry Gutov
2023-08-14 15:12 ` Mattias Engdegård
2023-08-15 13:43   ` kobarity
2023-08-15 15:09     ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bbac1272-08ea-566b-b959-13ca1d56436a@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=62092-done@debbugs.gnu.org \
    --cc=kobarity@gmail.com \
    --cc=lele@metapensiero.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.