From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: Filename extension for nnml files?
Date: Fri, 05 Jun 2009 16:53:07 +0200 [thread overview]
Message-ID: <m2ab4mn2yz.fsf@gwdg-mac-engster.top.gwdg.de> (raw)
In-Reply-To: <m2my8mrd7x.fsf@nwalsh.com> (Norman Walsh's message of "Fri, 05 Jun 2009 10:01:54 -0400")
Norman Walsh <ndw@nwalsh.com> 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 <filename>
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
next prev parent reply other threads:[~2009-06-05 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 14:01 Norman Walsh
2009-06-05 14:53 ` David Engster [this message]
2009-06-05 16:53 ` Andreas Seltenreich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ab4mn2yz.fsf@gwdg-mac-engster.top.gwdg.de \
--to=deng@randomsample.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).