From: fgallina@gnu.org (Fabián Ezequiel Gallina)
To: 18843-done@debbugs.gnu.org
Subject: bug#18843: Invalid block indentation in Python mode
Date: Sat, 15 Nov 2014 18:21:22 -0300 [thread overview]
Message-ID: <87389k5fe5.fsf@gnu.org> (raw)
In-Reply-To: <CAG7BpaorAuQHLc1xzq=Y_whHE1V9-bn9Dse8XmeVauNNDRXfNQ@mail.gmail.com>
Fixed at 89ebffc in the emacs-24 branch.
`python-indent-region` region now follows saner approach, it uses
`python-indent-line` and skips special cases: namely block starts,
enders and dedenters.
The idea is that those mark the base indentation and stuff within them
could be re-indented.
I tested this approach in few large codebases and the results are quite
promising, in fact I found several bad indented stuff thanks to this.
PS: I unmerged this from #18796, it's not really the same thing.
Thanks for the report,
Fabián
prev parent reply other threads:[~2014-11-15 21:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 14:18 bug#18843: Invalid block indentation in Python mode Paul Pogonyshev
2014-10-30 19:13 ` bug#18843: Carlos Pita
2014-11-15 21:21 ` Fabián Ezequiel Gallina [this message]
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=87389k5fe5.fsf@gnu.org \
--to=fgallina@gnu.org \
--cc=18843-done@debbugs.gnu.org \
/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.