From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5934 Path: news.gmane.org!not-for-mail From: jpranav@cisco.com (Pranav K. Tiwari) Newsgroups: gmane.emacs.gnus.user Subject: Re: nnml article filenames Date: Mon, 31 Oct 2005 10:59:15 +0530 Organization: Cisco Systems Inc. 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 1138671559 29441 80.91.229.2 (31 Jan 2006 01:39:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:39:19 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:36:03 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!sn-xit-02!sn-xit-11!sn-xit-05!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:ABeY1nj/gelFIg+J34QltiwRSuc= Cache-Post-Path: sj-nntpcache-3!unknown@64.103.146.235 X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:6076 Original-Lines: 29 X-Gnus-Article-Number: 6076 Tue Jan 17 17:36:03 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5934 Archived-At: 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. 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). 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. -p