Re: Some "how to do it" questions

From: Jeremy Cowgar <jeremy_at_cowgar.com>
Date: Sun, 20 Jul 2008 23:39:37 -0400

Eric S. Johansson wrote:
> Jeremy Cowgar wrote:
>> Eric S. Johansson wrote:
>>> 1) indent according to the indentation rules as defined by the
>>> previous line
>>> (the same level of indentation for ordinary lines, indent one
>>> further for
>>> conditionals, outdent by one for block termination)
>> Hm, thinking about this, I do have a "control-enter" function that
>> inserts an enter and tab. So when I know the next line needs
>> indented, I press control+enter and let mp do the work for me. This
>> is not what you requested, but maybe a step closer?
>
> It looks like it would be a step closer but I'm puzzled. How does
> this differ
> from the existing functionality of python mode? When I go to the end
> of the
> line and hit return, it puts a newline and indents to the right location.
Hm, I am sorry. I guess it shows I have never used the Python mode
before. It does not help you in any way. I just tried a python file on
my system (using 5.0.4-dev) and it does not indent. Is there some flag I
have to turn on? Or is there an existing python mode that I do not have
downloaded?

Jeremy

-- 
To unsubscribe, send mail to mp-unsubscribe_at_lists.triptico.com.
Received on Mon Jul 21 2008 - 05:39:37 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 21 2008 - 06:04:03 CEST