Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: patroclo7@gmail.com (Giorgio Lando)
Subject: [sup-talk] Some initial problems with sup
Date: Fri, 4 Jan 2008 23:54:48 +0100	[thread overview]
Message-ID: <20080104225448.GA19639@clarabella.clarabella> (raw)

Hi, I am a new user of sup and I like it a lot. I plan to switch
gradually from mutt.

I have a first problem with gmail imap folders for Drafts and Sent Mail
(the inbox works fine):
their relative path is [Gmail]/Drafts and [Gmail]/Sent Mail. Thus they
include a space and square brackets. If I try to use them in
sources.yaml, but I get:

/usr/lib/ruby/1.8/uri/common.rb:436:in `split': bad URI(is not URI?): imaps://imap.gmail.com/[Gmail]/Drafts (URI::InvalidURIError)
        from /usr/lib/ruby/1.8/uri/common.rb:485:in `parse'
        from /usr/lib/ruby/1.8/uri/common.rb:608:in `URI'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:62:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:29:in `new'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:29:in `yaml_properties'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
        from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
         ... 7 levels...
        from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:108:in `load'
        from /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup-sync:111
        from /usr/bin/sup-sync:16:in `load'
        from /usr/bin/sup-sync:16

I tried to escape them with \:

uri: imaps://imap.gmail.com/\[Gmail\]/Drafts

But I get exactly the same error message. Is there a proper way to
escape the characters?
Giorgio Lando



             reply	other threads:[~2008-01-04 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 22:54 Giorgio Lando [this message]
2008-01-05  0:09 ` William Morgan
2008-01-05  0:57   ` Giorgio Lando

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=20080104225448.GA19639@clarabella.clarabella \
    --to=patroclo7@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