Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: its.jeff.balogh@gmail.com (Jeff Balogh)
Subject: [sup-talk] sup doesn't like '[Gmail]' in maildir URI
Date: Tue, 05 Aug 2008 19:17:12 -0400	[thread overview]
Message-ID: <1217977678-sup-288@archie> (raw)
In-Reply-To: <1217976772-sup-7788@k-desktop.int.clarkparsia.com>

Kendall Grant Clark wrote:
> Folks,
> 
> I just switched email to Gmail; so far, so good. I use offlineimap to grab
> [Gmail] and INBOX; but when I add a maildir URI with sup-add that includes
> the path component '[Gmail]', it bitches about illegal URI.
> 
> So I encoded the '[' and ']' characters -- would be nice if sup-add offered to
> do that automagically -- but then sup-add bitches about ~/path/%5BGmail%5D/cur
> not being a director, when of course it *is* a directory... Leads me to
> believe there's still something wrong with the encoded [Gmail] bit, since
> ~/path/INBOX works fine.
> 
> Has anyone else seen and solved this problem? I'm using sup 0.6, which is
> otherwise excellent.

For Gmail, you probably want to just grab the 'All Mail' folder.  All your mail
goes there (imagine that!), so tracking INBOX is unnecessary.  Especially since
sup will complain if you ever clear out the inbox.

To get around the URI problem, I use `nametrans` in ~/.offlineimaprc to clean up
the folder names:

nametrans = lambda s: s.replace('[','').replace(']','').replace(' ', '_')

In English, remove brackets and turn spaces into underscores.

Cheers,
jeff


  reply	other threads:[~2008-08-05 23:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 22:57 Kendall Grant Clark
2008-08-05 23:17 ` Jeff Balogh [this message]
2008-08-06 13:38   ` Kendall Clark

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=1217977678-sup-288@archie \
    --to=its.jeff.balogh@gmail.com \
    /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