From: "Mattias Engdegård" <mattias.engdegard@gmail.com>
To: kobarity <kobarity@gmail.com>
Cc: Lele Gaifax <lele@metapensiero.it>,
62092@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#62092: 30.0.50; "case" does not work as dedenter in Python
Date: Mon, 14 Aug 2023 17:12:15 +0200 [thread overview]
Message-ID: <CA1E3EF4-2799-4B90-8E2C-EE0FEB497028@gmail.com> (raw)
In-Reply-To: <eke7ttytgoh1.wl-kobarity@gmail.com>
The test python-info-dedenter-opening-block-positions-7 added as part of this bug in 8f42db010d ends with
+ (equal (list (python-tests-look-at "case 2:" -1)
+ (python-tests-look-at "case 1:" -1 t))
+ (python-info-dedenter-opening-block-positions))))
which, as you can see, isn't actually a check; the `equal` result is thrown away.
(Emacs master was just changed to detect this, so there is a byte-compiler warning.)
Unfortunately, wrapping the call in `should` fails, so there is more to it.
Would you please take a look?
next prev parent reply other threads:[~2023-08-14 15:12 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
2023-03-25 14:13 ` kobarity
2023-03-26 2:04 ` Dmitry Gutov
2023-08-14 15:12 ` Mattias Engdegård [this message]
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=CA1E3EF4-2799-4B90-8E2C-EE0FEB497028@gmail.com \
--to=mattias.engdegard@gmail.com \
--cc=62092@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--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.