[recoll-user] Re: Indexing python Files
- From: Jean-Francois Dockes <jean-francois.dockes@xxxxxxxxxx>
- To: recoll-user@xxxxxxxxxxxxx
- Date: Mon, 15 Sep 2008 09:00:10 +0200
Thank you for this and the Pidgin patch, these will be in the next
release.
About the python-to-html translater, I should have remembered (!) that the
pretty-printing is lost in the preview, which does a rough html-to-text
translation before displaying. So it's not much better currently than just
escaping / wrapping the python text.
I wonder if it might be a good idea for the preview to use the html
output from the filters when possible, instead of going to text. I need to
check how it would look in Qt's TextEdit.
jf
Linos writes:
> Hi Jean-Francois,
> to convert it to a pretty html colored output i am using the script i
> have found here "http://chrisarndt.de/en/software/python/colorize.html"
> it is pure python, i have found any other tricks to make the same with
> vim or enscript but i suppose the unique program you can be nearly sure
> to be in a machine that want to index python files it is python itself,
> i have renamed the file to rclpython in ~/.recoll directory and now the
> settings works well in mimemap and mimeconf, i can preview and edit the
> .py files and the contents are correctly indexed. I am using the icon
> found in the oxygen kde package, i have copied it to
> /usr/share/recoll/images and i am using this configs in ~/.recoll
> ...
- Follow-Ups:
- [recoll-user] Re: Indexing python Files
- From: Linos
- References:
- [recoll-user] Indexing python Files
- From: Linos
- [recoll-user] Re: Indexing python Files
- From: Jean-Francois Dockes
- [recoll-user] Re: Indexing python Files
- From: Linos
Other related posts:
- » [recoll-user] Indexing python Files
- » [recoll-user] Re: Indexing python Files
- » [recoll-user] Re: Indexing python Files
- » [recoll-user] Re: Indexing python Files
- » [recoll-user] Re: Indexing python Files
- » [recoll-user] Re: Indexing python Files
- » [recoll-user] Re: Indexing python Files
- [recoll-user] Re: Indexing python Files
- From: Linos
- [recoll-user] Indexing python Files
- From: Linos
- [recoll-user] Re: Indexing python Files
- From: Jean-Francois Dockes
- [recoll-user] Re: Indexing python Files
- From: Linos