Re: [Python-mode] Latest paragraph-fill-warts branch

2011-02-14 Thread Andreas Röhler

Am 13.02.2011 22:50, schrieb s...@pobox.com:

I don't know where we left things w.r.t. the Andreas's paragraph-fill-warts
branch, but I just updated and fired up a new copy of XEmacs.  Then edited
my current small test file.  After filling the doc string I see the same
issue reported before by (I think) Georg.  When filling 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.
 

I wind up 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.  

That is, the newline after the first tqs and before the last tqs are not
preserved. This would have been ideal:

 
 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.
 

Also, take a look at the attached png file.  Is it possible to color
quotation green?

Skip


Hi Skip,

the basic reason is XEmacs' syntax bug.

Going to do regexp-based string parsing instead.

However, detected several bugs in the new parser and just this morning a 
fundamental one, so I'm re-writing major parts.


I'll send a message if ready for testing.

As for your last question resp. string colors, this would need a change 
in fontifying afterwards.


As XEmacs already is slow here, I'm not a XEmacs hacker, I'm afraid this 
will persist - unless someone fixes it.


Andreas


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


[Python-mode] Latest paragraph-fill-warts branch

2011-02-13 Thread skip
I don't know where we left things w.r.t. the Andreas's paragraph-fill-warts
branch, but I just updated and fired up a new copy of XEmacs.  Then edited
my current small test file.  After filling the doc string I see the same
issue reported before by (I think) Georg.  When filling 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.


I wind up 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.  

That is, the newline after the first tqs and before the last tqs are not
preserved. This would have been ideal:


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.


Also, take a look at the attached png file.  Is it possible to color
quotation green?

Skip

inline: warts.png___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode