Bugs item #1775975, was opened at 2007-08-17 09:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1775975&group_id=86916

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: v1.0 (example)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Border (borderj)
Assigned to: Nobody/Anonymous (nobody)
Summary: python-mode docstrings syntax bug 

Initial Comment:
   These Emacs parsing functions are configurable, but not quite configurable 
enough to capture all of Python's rules.
like:
 
print """ "Hi!" I'm a doc string"""
print ''' 'Hi!' I'm a doc string'''
print """ ''' "Hi!" I'm a doc string ''' """
print ''' """ "Hi!" I'm a doc string """ '''
 
something like

    """
       "Hi!" I'm a doc string
    """

Emacs "sees" it as a sequence of 4 strings with some crap in the middle:

    ""
    "\n        "
    Hi!
    " I'm a doc string\n    "
    ""
 
Emacs  : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Package: python-mode $Revision: 4.75 $
 
current state:
==============
(setq
 py-python-command "python"
 py-indent-offset 4
 py-block-comment-prefix "##"
 py-temp-directory "c:/DOCUME~1/new/LOCALS~1/Temp"
 py-beep-if-tab-change t
 )


-- 
Blog:    www.borderj.cn

  Border

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1775975&group_id=86916
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to