[sup-talk] Tilde in maildir/mbox paths

Magnus Therning magnus at therning.org
Fri Sep 7 14:47:59 EDT 2007


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 


More information about the sup-talk mailing list