[Zope3-checkins] Re: [Checkins] SVN: zope.interface/trunk/src/zope/interface/human. Fixed RsT markup

Michael Howitz mh at gocept.com
Thu Jun 28 04:24:03 EDT 2007


Am 27.06.2007 um 15:15 schrieb Stephan Richter:
> On Wednesday 27 June 2007 05:32, Christian Theune wrote:
>> They also say that indentation isn't needed for doctests. I tried  
>> this
>> on a doctest I was working on right now and both the docutils  
>> `rst2html`
>> and the test runner where able to cope with it. Looks like I need  
>> to get
>> an update on my syntax highlighting. Otherwise doctests are extremely
>> painful to edit ...
>
> Yes, you do not have to indent. I indent, because I like the visual
> separation. BTW, what editor do you use that has ReST syntax- 
> highlighting? I
> have the doctest mode for Emacs but it is still a little bit too  
> buggy and
> does no syntax highlighting.

I use rst-mode (rst.el) from the docutils. With the appended patch it  
does a little highlighting for doctest blocks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doctest_mode.patch
Type: application/octet-stream
Size: 554 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/checkins/attachments/20070628/56c89a8b/doctest_mode-0001.obj
-------------- next part --------------

Yours sincerely,
Michael Howitz

gocept gmbh & co. kg ? forsterstrasse 29 ? 06112 halle/saale
www.gocept.com ? fon: +49 345 12298898 ? fax: +49 345 12298891




More information about the Checkins mailing list