From: "Fabián Ezequiel Gallina" <fabian@anue.biz>
To: 12822@debbugs.gnu.org
Subject: bug#12822: (no subject)
Date: Wed, 23 Jan 2013 22:40:45 -0300 [thread overview]
Message-ID: <5100911D.1000500@anue.biz> (raw)
In-Reply-To: <509A4069.5060409@easy-emacs.de>
The whole idea of python-indent-guess-indent-offset is to provide some
sane default at find-file. The decision of making the indentation of
first available block the default indentation is intended and it's not
going to change. This way indentation guessing behaves consistently all
the time and the user is able to modify the first block so the command
plays nice to him after next file visit.
Also, as a side note, all blocks in a python file should be indented the
same way, the only special case would be an if triggered into multiple
lines using parens like this but this case is not that common that I'm
not even worrying about:
if (something and
somethingelse and
otherstuff):
pass
prev parent reply other threads:[~2013-01-24 1:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-07 11:05 bug#12822: python.el, python-indent-guess-indent-offset Andreas Röhler
2013-01-24 1:40 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5100911D.1000500@anue.biz \
--to=fabian@anue.biz \
--cc=12822@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).