From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5935 Path: news.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.user Subject: Re: nnml article filenames Date: Mon, 31 Oct 2005 07:30:01 GMT Organization: Linux Users - Fanatics Dept. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671560 29445 80.91.229.2 (31 Jan 2006 01:39:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:39:20 +0000 (UTC) Keywords: files,search,find,com,programs,nnml,file Original-X-From: nobody Tue Jan 17 17:36:03 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed-00.mathworks.com!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: #/1'_-|5_1$xjR,mVKhpfMJcRh8"k}_a{EkIO:Ox<]@zl/Yr|H,qH#3jJi6Aw(Mg@"!+Z"C N_S3!3jzW^FnPeumv4l#,E}J.+e%0q(U>#b-#`~>l^A!_j5AEgpU)>t+VYZ$:El7hLa1:%%L=3%B>n K{^jU_{& Mail-Copies-To: never X-X-Day: Only 2430937 days till X-Day. Got Slack? X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Now-Playing: So Rude --- [Rebecca's Empire] X-Discordian-Date: Prickle-Prickle, the 12nd day of The Aftermath, 3171. X-Attribution: SY User-Agent: Gnus/5.110004 (No Gnus v0.4) SXEmacs/22.1.3 (BMW, linux) Cancel-Lock: sha1:j26NQHwwpTapZdifeuhPVWtp6Ns= Original-NNTP-Posting-Host: 61.9.212.151 Original-X-Complaints-To: abuse@bigpond.net.au Original-X-Trace: news-server.bigpond.net.au 1130743801 61.9.212.151 (Mon, 31 Oct 2005 18:30:01 EST) Original-NNTP-Posting-Date: Mon, 31 Oct 2005 18:30:01 EST Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:6077 Original-Lines: 49 X-Gnus-Article-Number: 6077 Tue Jan 17 17:36:03 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5935 Archived-At: * Pranav K Tiwari writes: > Steve Youngs writes: >> * Pranav K Tiwari writes: >> >> > To allow desktop search programs go through nnml articles, I would >> > like to give an extension like .xyz, and tell these programs to >> > treat these files like email. >> >> I think this is the wrong approach. Instead of modifying the >> filenames to suit the search program, find a way to make the search >> program work properly. >> >> It's really not that difficult, see... >> >> $ find -type f -regex '^.*[0-9]+$' >> > The question is not about 'finding' these files, but about > associating a 'type' with the file. But if you can find them, there's really no point in associating a "type" to them. $ find -type f -regex '^.*[0-9]+$' | \ xargs some_app_needing_mail_files_as_input > Most indexing programs (google/yahoo/microsoft desktop search > engines, X1) rely on file extensions to determine the filetype, > and then index the contens of the file accordingly. It'll be good > if they could deal with files with no extensions, but they don't > (afaik). Yes they do. For example: > So - with that in mind, the easiest way would be to change the way gnus > nnml stores files, or write another backend that allows changing > filenames. Maybe you should say what it is exactly that you want to do with your nnml files. -- |---------------------| | Te audire no possum. | | Musa sapientum fixa est in aure. | |-------------------------------------|