[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search folders



Simon Brown wrote:

>A few questions I use ubuntu and the namazu package Doesn't seem to
>index maildirs. There is a second package called nmzmail that does
>that. I'm guessing it's just a wrapper. am I missing some options to
>get namazu to descend into the new cur tmp folders?

You need to modify the configuration file for mknmz.  The system wide
configuration could be /etc/namazu/mknmzrc and can be copied to a user
specific configuration file ~/.mknmzrc.

Then uncomment and change variable $ALLOW_FILE and add a regular
expression for maildir messages.

,----
| $ALLOW_FILE =	".*\\.(?:$HTML_SUFFIX)|.*\\.txt" . # HTML, plain text
|     "|.*\\.gz|.*\\.Z|.*\\.bz2" .       # Compressed files
|     "|.*\\.pdf|.*\\.ps" . # PDF, PostScript
|     "|.*\\.tex|.*\\.dvi" . # TeX, DVI
|     "|.*\\.rpm|.*\\.deb" . # RPM, DEB
|     "|.*\\.doc|.*\\.xls|.*\\.pp[st]" . # Word, Excel, PowerPoint
|     "|.*\\.docx|.*\\.xlsx|.*\\.pp[st]x" . # MS-OfficeOpenXML Word, Excel, PowerPoint
|     "|.*\\.vs[dst]|.*\\.v[dst]x" .     # Visio
|     "|.*\\.j[sabf]w|.*\\.jtd" . # Ichitaro 4, 5, 6, 7, 8
|     "|.*\\.sx[widc]" . # OpenOffice Writer,Calc,Impress,Draw
|     "|.*\\.od[tspg]" . # OpenOffice2.0
|     "|.*\\.rtf" . # Rich Text Format
|     "|.*\\.hdml|.*\\.mht" . # HDML MHTML
|     "|.*\\.mp3" . # MP3
|     "|.*\\.gnumeric" . # Gnumeric
|     "|.*\\.kwd|.*\\.ksp" . # KWord, KSpread
|     "|.*\\.kpr|.*\\.flw" . # KPresenter, Kivio
|     "|.*\\.eml|\\d+|[-\\w]+\\.[1-9n]" . # Mail/News, man
|     "|.+:2,.+"; # Maildir message
`----

>After adding the namazu indexes to the index alist I can search with
>M-x namazu. Is it possible to link the results back so that an email
>will open in WL rather than as simple text?

Not yet, but sounds like a nice idea, so I'll give it a try.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

Attachment: pgpHvKGFEtfzF.pgp
Description: PGP signature