From mboxrd@z Thu Jan 1 00:00:00 1970 From: magnus@therning.org (Magnus Therning) Date: Fri, 07 Sep 2007 19:47:59 +0100 Subject: [sup-talk] Tilde in maildir/mbox paths In-Reply-To: <20070907092109.GB23285@die.therning.org> References: <20070907073721.GA10465@die.therning.org> <20070907092109.GB23285@die.therning.org> Message-ID: <1189190787-sup-1919@tatooine> Excerpts from Magnus Therning's message of Fri Sep 07 10:21:09 +0100 2007: > On Fri, Sep 07, 2007 at 08:37:21 +0100, Magnus Therning wrote: > >I find it useful to be able to stick '~' in paths so here's an attempt > >at a patch that allows a source with the URI maildir:~/mail/in. > > > >Two comments: > > > > 1. I didn't really know where to stick expand_uri so it's duplicated in > > Maildir and Mbox. This is far from ideal. Please tell me where it > > belongs. > > An obvious place would of course be the parent class Source. For some > strange reason that didn't enter my mind while I was hacking on this. A modified patch is attached. -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus?therning?org Jabber: magnus?therning?gmail?com http://therning.org/magnus What if I don't want to obey the laws? Do they throw me in jail with the other bad monads? -- Daveman -------------- next part -------------- A non-text attachment was scrubbed... Name: sup_514-2.diff Type: application/octet-stream Size: 2273 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070907/4d16512d/attachment.obj