On Sun, 2008-05-04 at 22:52 +0000, Jamie McCracken wrote:
> well sorry for being hasty but the way tracker works is to spawn untex
> filename which will always return nothing if you dont have untex
> installed
I understand. I am sorry if I sounded harsh, but probably I am a bit
dense... I supposed that tracker was using the filter that I have in
/usr/lib/tracker/filters/text/x-tex_filter which I posted above, which
says that if there's no untex, the whole latex file was indexed [1]. But
if tracker directly call untex you're right.
> Im not sure I want to change that yet as indexing unfiltered files might
> lead to garbage going into the index (that applies to all files that
> need filtering and not just tex ones)
That lead to the question I started the the thread with: why I had just
3 latex files indexed when grep found 24 occurrences? I see how that
could have been 0 (no untex --- no index), but why the partial result?
> Its likely therefore to remain as is (consider it a wont fix rather than
> invalid if you wish)
Fair enough, it's your call. I have installed untex and my laptop is
re-indexing; will open another bug if the problem is still here, ok?
Romano
[1] BTW, maybe indexing the whole tex file is the right thing to do. In
the end, a .tex file should be treated like a source code for any
language, so sometime I'd like to make a search for that \darn macro...
On Sun, 2008-05-04 at 22:52 +0000, Jamie McCracken wrote:
> well sorry for being hasty but the way tracker works is to spawn untex
> filename which will always return nothing if you dont have untex
> installed
I understand. I am sorry if I sounded harsh, but probably I am a bit tracker/ filters/ text/x- tex_filter which I posted above, which
dense... I supposed that tracker was using the filter that I have in
/usr/lib/
says that if there's no untex, the whole latex file was indexed [1]. But
if tracker directly call untex you're right.
> Im not sure I want to change that yet as indexing unfiltered files might
> lead to garbage going into the index (that applies to all files that
> need filtering and not just tex ones)
That lead to the question I started the the thread with: why I had just
3 latex files indexed when grep found 24 occurrences? I see how that
could have been 0 (no untex --- no index), but why the partial result?
> Its likely therefore to remain as is (consider it a wont fix rather than
> invalid if you wish)
Fair enough, it's your call. I have installed untex and my laptop is
re-indexing; will open another bug if the problem is still here, ok?
Romano
[1] BTW, maybe indexing the whole tex file is the right thing to do. In
the end, a .tex file should be treated like a source code for any
language, so sometime I'd like to make a search for that \darn macro...