From: Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se>
Cc: joakim@verona.se
Subject: Re: [joakim@verona.se: pyhon mode indentation problem]
Date: Thu, 15 Jun 2006 18:44:06 +0200 [thread overview]
Message-ID: <20060615182656.CC94.SLAWOMIR.NOWACZYK.847@student.lu.se> (raw)
In-Reply-To: <E1FqtTh-0006f6-F6@fencepost.gnu.org>
On Thu, 15 Jun 2006 11:09:49 -0400
Richard Stallman <rms@gnu.org> wrote:
#> Maybe someone would like to work on this.
This particular thing is, AFAIU, not a bug.
Nevertheless, is anybody maintaining python.el? I tried using it once
and it seemed rather cumbersome. I am not sure if I have time and/or
skills to improve it... but if nobody else is working on it, I might
give it a shot.
#> the problem is especially obvious on the line marked #1, or #2 Try
#> moving the indentation to column 0. Emacs will say "sole
#> indentation".
I am not sure I understand:
If I move the #1 line so that it starts at column 0 (i.e. is not
indentated at all) and press TAB, it will indent correctly, with 4
spaces. After that, though, subsequent TABs will result in "sole
indentation" message -- this is a feature: TAB in python-mode cycles
through all possible (syntactically valid) indentations (of which
there is only one in this case).
Or did you mean something else by "moving the indentation to column 0"?
Similarly, calling 'indent-for-tab-command' (this is what TAB is bound
for me in emacs -q) on line #2 indents it properly with 4 spaces (it
is indented with 3 in your email). Subsequent TABs give message "sole
indentation" -- which it is.
What did you expect to happen?
--
Best wishes,
Slawomir Nowaczyk
( slawomir.nowaczyk.847@student.lu.se )
Never attribute to malice that which can be adequately
explained by stupidity.
next prev parent reply other threads:[~2006-06-15 16:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-15 15:09 [joakim@verona.se: pyhon mode indentation problem] Richard Stallman
2006-06-15 16:44 ` Slawomir Nowaczyk [this message]
2006-06-15 17:20 ` joakim
2006-06-15 22:37 ` Slawomir Nowaczyk
2006-06-16 15:06 ` Richard Stallman
2006-06-16 16:34 ` joakim
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=20060615182656.CC94.SLAWOMIR.NOWACZYK.847@student.lu.se \
--to=slawomir.nowaczyk.847@student.lu.se \
--cc=joakim@verona.se \
/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).