Bug 191374 - add a reStructuredText backend
Summary: add a reStructuredText backend
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-02 20:16 UTC by Vito De Tullio
Modified: 2012-08-19 00:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vito De Tullio 2009-05-02 20:16:55 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Sometimes I need to use email to pass programs *snippets* of code.

Moreover, I need to add simple *structure* to my email, but I need to send **plain** text messages (no html).

A very good compromise, IMHO, will be to have a reStructuredText_ backend: AFAIK it's the *lighter* markup language, and it's perfectly readable as it is (so it's ok for text-only email readers [1]_), but will look better in kmail.

.. [1] Hey, all this text it's a valid rst file and you can read it :) try at `http://rst2a.com`_

.. _http://rst2a.com: http://rst2a.com


As kmail already support html messages, a simple way will be to call the rst2html.py script (contained into the docutils_ package).

A mid-term really big plus will be to use sphinx_ to add **also** syntax-highlight into the source code (C, C++, python, java...) snippets written into the rst / email message. You can so turn a simple text in a full fledged highlighted literate program (or programming text...)

.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _docutils: http://docutils.sourceforge.net
.. _sphinx: http://sphinx.pocoo.org/index.html
Comment 1 Vito De Tullio 2009-05-02 20:19:07 UTC
whoops, I forgot: if it's developed as a kpart (are they still used?) also knode will use it!

And maybe it will be use as an additional "backend" to okular...
Comment 2 Myriam Schweingruber 2012-08-18 08:03:04 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 3 Luigi Toscano 2012-08-19 00:13:31 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.