Am 29.01.2011 18:52, schrieb s...@pobox.com:
>> thingatpt-highlight was the only one it complained about.
Andreas> Hmm, seems I underestimated the issue.
Andreas> added and pushed.
I'm getting farther. Looks like thingatpt-highlight was missing
(when (featurep 'xemacs) (require 'overlay))
so I added that to get the make-overlay function. Then I could visit the
Python file without errors. Recall the file looks like this (without the
extra indentation):
"""
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
"""
class Foo(object):
@staticmethod
def bar(aList):
for x in aList:
for y in x:
print y
When I try to fill the docstring using fill-paragraph-or-region (M-q) with
point ahead of the first 't', it still deletes the space ahead of the first
single quotation mark, leaving me with this:
"""
triple-quoted string containing"quotation" marks.
which is the charateristic error of failing forward-sexp,
As that form doesn't exist in new version, it means, we got the old
chunk back
See the error was done with revision 391
Will take some minutes to get it back.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
"""
If I place point at the beginning of the last line and fill, I get this:
"""
triple-quoted string containing"quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks. triple-quoted string
containing"quotation" marks.
"""
Repeat again, and I get:
"""
triple-quoted string containing"quotation" marks.
triple-quoted string containing "quotation" marks.
triple-quoted string containing "quotation" marks. triple-quoted string
containing"quotation" marks. triple-quoted string containing"quotation" marks.
"""
I can proceed to do this until I'm left with a single line in the docstring.
Skip
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode