From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68601 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Filename extension for nnml files? Date: Fri, 05 Jun 2009 16:53:07 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244213853 9702 80.91.229.12 (5 Jun 2009 14:57:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 14:57:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17032@lists.math.uh.edu Fri Jun 05 16:57:28 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1MCarG-0005z2-Kd for ding-account@gmane.org; Fri, 05 Jun 2009 16:57:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1MCaqw-0003tf-TM; Fri, 05 Jun 2009 09:57:06 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MCaqv-0003tN-LA for ding@lists.math.uh.edu; Fri, 05 Jun 2009 09:57:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MCaqp-00040U-OO for ding@lists.math.uh.edu; Fri, 05 Jun 2009 09:57:05 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MCarJ-0008Ep-00 for ; Fri, 05 Jun 2009 16:57:29 +0200 Original-Received: from gwdg-mac-engster.top.gwdg.de ([134.76.4.218]) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1MCaqo-0004ef-Dv for ding@gnus.org; Fri, 05 Jun 2009 16:56:58 +0200 In-Reply-To: (Norman Walsh's message of "Fri, 05 Jun 2009 10:01:54 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (darwin) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68601 Archived-At: Norman Walsh writes: > I've been using nnml for years. Now I'm using it on Mac and I realize > that if the files were named 'nnnnn.txt' instead of just 'nnnnn' that > they'd be "text files" and would get indexed by Spotlight. Really, > mail is about the only thing I'd ever want Spotlight to index anyway. There's no need to rename the files, since OS X also has the notion of a file type, which is independent of the extension. You can set the type on the command line using 'SetFile', which I think is part of the XCode developer tools. Just do SetFile -t TEXT to set a file type to plain text. You can then import the file into Spotlight by using 'mdimport' on the file. But I also just found this here http://www.yoshidam.net/diary/Spotlight/ which seems to be exactly what you want. Never tested this, though. I use mairix. ;-) -David