>> 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.
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
[email protected]
http://mail.python.org/mailman/listinfo/python-mode