Am Freitag, 9. Mai 2008 03:14 schrieben Sie:
> 
>     Andreas> Herewith the patch
> 
>     Andreas> Introduced an additional check for being not-in-string:
> 
>     Andreas> (not (numberp (nth 3 state)))
> 
>     Andreas> Thanks
> 
>     Andreas> Andreas Röhler
>     Andreas> diff -u -b /old/python-mode.el /new/python-mode.el
>     Andreas> --- /old/python-mode.el  2008-05-07 08:05:55.000000000 +0200
>     Andreas> +++ /new/python-mode.el  2008-05-08 15:28:35.000000000 +0200
>     Andreas> @@ -3522,7 +3522,7 @@
>     Andreas>                    (setq searching nil)  ; search is done either 
> way
>     Andreas>                    (setq state (parse-partial-sexp start
>     Andreas>                                                    
> (match-beginning 0)))
>     Andreas> -                  (setq answer (not (nth 4 state)))))
>     Andreas> +                  (setq answer (and (not (numberp (nth 3 
> state)))(not (nth 4 
state))))))
>     Andreas>            ;; search failed: couldn't find another interesting 
> colon
>     Andreas>            (setq searching nil)))
>     Andreas>        answer)))
> 
> Exactly what problem does that additional check solve? 

[ ... ]

Bug reported by David Hemmingsson at 

http://mail.python.org/pipermail/python-mode/2003-August/000002.html:

Thanks for a nice emacs mode!

But today I found that the indentation didn t work when I tried the 
following:

filen.write("<style type=\"text/css\">\n")
filen.write("a:link{ text-decoration:none; color:#ffffff}\n")
    filen.write("a:visited\{ text-decoration:none\; color:#ffffff\}\n")
        filen.write("a:active\{ text-decoration:none\; color:#ffffff\} 
</style>\n")  

_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to