azynheira / mu0

Automatically exported from code.google.com/p/mu0
0 stars 0 forks source link

message preview in search results #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Can there be an enhancement made into "--fields" switch to show first few lines 
or at least a couple of characters of body of emails, say first 50 characters 
of matched email body? Search output with '-f' has everything in 0.7 version 
except to include first few lines or characters of email body. 

note to self, this would require:
  - getting the msgpath from the match
  - re-parsing the msg using the gmime
  - extracting the few lines from the top

maybe together with #20.

Original issue reported on code.google.com by digg...@gmail.com on 28 Jul 2010 at 7:14

GoogleCodeExporter commented 8 years ago
That's exactly what I wanted to do with bash (saving output as links and then 
grepping those with mu view) but it would never work for good or at least as 
good as yours implemented inside the code :)

note to self, this would require:
  - getting the msgpath from the match
  - re-parsing the msg using the gmime
  - extracting the few lines from the top

Original comment by LPab...@gmail.com on 30 Jul 2010 at 3:30

GoogleCodeExporter commented 8 years ago
HEAD in git now contains an initial implementation for this, which works with 
'mu find' and 'mu view', and is somewhat documented.

Haven't tested it very much yet, and the summary could be a bit smarter, but it 
seems to work.

Original comment by digg...@gmail.com on 15 Aug 2010 at 5:50

GoogleCodeExporter commented 8 years ago
it's implemented now, only some more testing, documentation pending.

i'll mark it as 'fixed' when the new release is done.

Original comment by digg...@gmail.com on 9 Sep 2010 at 7:30

GoogleCodeExporter commented 8 years ago
this is implemented, and available in 0.8-beta

Original comment by digg...@gmail.com on 23 Oct 2010 at 7:30