Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: magnus@therning.org (Magnus Therning)
Subject: [sup-talk] Tilde in maildir/mbox paths
Date: Sat, 15 Sep 2007 11:19:16 +0100	[thread overview]
Message-ID: <20070915101916.GA3361@die.therning.org> (raw)
In-Reply-To: <1189827595-sup-6610@south>

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 


  reply	other threads:[~2007-09-15 10:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07  7:37 Magnus Therning
     [not found] ` <20070907092109.GB23285@die.therning.org>
2007-09-07 18:47   ` Magnus Therning
2007-09-14  2:45 ` William Morgan
2007-09-14 21:38   ` Magnus Therning
2007-09-14 22:44     ` Magnus Therning
2007-09-15  3:41       ` William Morgan
2007-09-15 10:19         ` Magnus Therning [this message]
2007-09-17 17:30           ` William Morgan

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=20070915101916.GA3361@die.therning.org \
    --to=magnus@therning.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