From mboxrd@z Thu Jan 1 00:00:00 1970 From: magnus@therning.org (Magnus Therning) Date: Sat, 15 Sep 2007 11:19:16 +0100 Subject: [sup-talk] Tilde in maildir/mbox paths In-Reply-To: <1189827595-sup-6610@south> References: <20070907073721.GA10465@die.therning.org> <1189737312-sup-2958@south> <20070914213823.GA3321@die.therning.org> <20070914224426.GA4460@die.therning.org> <1189827595-sup-6610@south> Message-ID: <20070915101916.GA3361@die.therning.org> On Fri, Sep 14, 2007 at 20:41:28 -0700, William Morgan wrote: >Excerpts from Magnus Therning's message of Fri Sep 14 15:44:26 -0700 2007: >> This time with the attachment... > >Time to turn on :confirm_no_attachments! > >I've applied your patch, with a couple changes. Thanks! I really should have found String::gsub myself. I was just so confused by the existence of String::replace and what it does... One thing though. You've moved the expansion of tilde so that the expanded URI is passed to Source and it ends up in .sup/sources.yaml. My intention was to have the tilde unexpanded in .sup/sources.yaml. This would allow sharing of sup configuration between different accounts, as long as the locations of mail boxes are the same relative to the home directory. The reason is again my own mail set-up. Mutt takes paths to mail boxes and expands tilde. This allows me to have identical Mutt configurations on machines where I have different login names (at some places I don't have the luxury of getting to choose my own login, e.g. at work). I've attached a patch that moves the expansion back to the sub-classes again. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus?therning?org Jabber: magnus?therning?gmail?com http://therning.org/magnus -------------- next part -------------- A non-text attachment was scrubbed... Name: sup_537-1.patch Type: text/x-diff Size: 1595 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070915/ea163096/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070915/ea163096/attachment-0001.bin