Richard Heycock | 1 Aug 2008 01:03
Picon

colors in 0.6

I'm trying out the 0.6 pre-release and tried to change my colours but
what I've done doesn't work. I created a $HOME/.sup/colors.yaml like
this:

    --- 
    :colors:
      :index_new:
        :bg: yellow

      <snip>

But it still comes up the default colour scheme.

I know the file is being read (using strace) so I'm guessing it's a
problem with the yaml. Any ideas?

rgh
--

-- 
+61 (0) 410 646 369
[e]:  rgh <at> neoss.com.au
[im]: rgh <at> jabber.org

You're worried criminals will continue to penetrate into cyberspace, and
I'm worried complexity, poor design and mismanagement will be there to meet
them - Marcus Ranum
William Morgan | 1 Aug 2008 22:45

Re: colors in 0.6

Reformatted excerpts from Richard Heycock's message of 2008-07-31:
>     :colors:
>       :index_new:
>         :bg: yellow
> 
>       <snip>
> 
> But it still comes up the default colour scheme.
> 
> I know the file is being read (using strace) so I'm guessing it's a
> problem with the yaml. Any ideas?

You just need to remove the :colors: line. It's expecting something
like:

  ---
  :index_new:
    :bg: yellow

HTH,
--

-- 
William <wmorgan-sup <at> masanjin.net>
Thorsten Kramer | 4 Aug 2008 01:17
Picon
Favicon

Beginner questions

Hi,

recently I switched from mutt to sup. Everything works fine besides some
minor issues:

1) Unfortunately, the gpg integration doesn't work. If I want to sign my mails,
sup complains about: 'Problem sending mail: gpg: gpg-agent is not available in
this session' Any tipps to avoid this? With mutt, gpg works fine.

2) I've configured several accounts for sending mail. How can I switch
between them in the mail-compose view? Is changing the from address the
only way?

3) In mutt you can define macros. E.g. you press F2 and the
selected mail is moved from its maildir to a spam mbox. Is this
possible with sup?

Thanks!
William Morgan | 4 Aug 2008 03:41

Re: Beginner questions

Hi Thorsten,

Reformatted excerpts from Thorsten Kramer's message of 2008-08-03:
> recently I switched from mutt to sup.

Welcome!

> 1) Unfortunately, the gpg integration doesn't work. If I want to sign
> my mails, sup complains about: 'Problem sending mail: gpg: gpg-agent
> is not available in this session' Any tipps to avoid this? With mutt,
> gpg works fine.

At least right now, the only way to run Sup with GPG is to use
gpg-agent. Sup doesn't ask for your password, store it, expire it, etc.
So you'll need to start gpg-agent in the background, and then gpg should
automatically trigger it to ask you for your password.

The one problem with this so far is that the curses version of gpg-agent
doesn't interact well with Sup. If you're using the X version, you'll be
fine.

> 2) I've configured several accounts for sending mail. How can I switch
> between them in the mail-compose view? Is changing the from address
> the only way?

Yes, that's the only way. (So far!)

> 3) In mutt you can define macros. E.g. you press F2 and the selected
> mail is moved from its maildir to a spam mbox. Is this possible with
> sup?
(Continue reading)

William Morgan | 4 Aug 2008 06:08

[ANN] Sup 0.6 Released

Sup version 0.6 has been released!

* <http://sup.rubyforge.org>

Sup is a console-based email client for people with a lot of email.
It supports tagging, very fast full-text search, automatic contact-
list management, and more. If you're the type of person who treats
email as an extension of your long-term memory, Sup is for you.

Sup makes it easy to:
- Handle massive amounts of email.

- Mix email from different sources: mbox files (even across different
  machines), Maildir directories, IMAP folders, POP accounts, and
  GMail accounts.

- Instantaneously search over your entire email collection. Search
  over body text, or use a query language to combine search
  predicates in any way.

- Handle multiple accounts. Replying to email sent to a particular
  account will use the correct SMTP server, signature, and from
  address.

- Add custom code to handle certain types of messages or to handle
  certain types of text within messages.

- Organize email with user-defined labels, automatically track
  recent contacts, and much more!

(Continue reading)

CJ Fleck | 4 Aug 2008 17:05
Picon

Sending mail

I'm trying out sup v 0.6, and I'm stuck when I go to send mail.  I use
msmtp and '/usr/bin/msmtp --account=foo me <at> someaddress.com < filename'
works from the command line.  In my config.yaml, I have a ':sendmail:
/usr/bin/msmtp --account=foo -t'.

The problem arises, when I compose the mail, and I go to exit the
editor, it brings me to the "Crypto" buffer.  I choose none, and it
immediately goes back to the editor.  This is a cycle I cannot break.
Am I missing something here?  How do I send the mail?

CJ
William Morgan | 4 Aug 2008 17:31

Re: Sending mail

Reformatted excerpts from CJ Fleck's message of 2008-08-04:
> The problem arises, when I compose the mail, and I go to exit the
> editor, it brings me to the "Crypto" buffer.  I choose none, and it
> immediately goes back to the editor.  This is a cycle I cannot break.
> Am I missing something here?  How do I send the mail?

This might just be a UI issue. I think what you're calling the "crypto
buffer" is the reply composition buffer. Pressing enter dumps you into
the editor, and exiting the editor brings you back there. You can move
the row cursor with the up and down arrows, and you can press 'y' to
actually send the email. Weird, perhaps, but that's part of the mutt
legacy, and one day Sup will have configurable keymaps.
--

-- 
William <wmorgan-sup <at> masanjin.net>
Marc Hartstein | 4 Aug 2008 17:25

Re: Sending mail

Excerpts from CJ Fleck's message of Mon Aug 04 11:05:28 -0400 2008:
> The problem arises, when I compose the mail, and I go to exit the
> editor, it brings me to the "Crypto" buffer.  I choose none, and it
> immediately goes back to the editor.  This is a cycle I cannot break.
> Am I missing something here?  How do I send the mail?

Unless it's changed from 'next' as of a couple of months ago to 0.6:

Press <y> to send mail (like in mutt); <Enter> edits the message.  I've
also found that slightly confusing at times, because you're manipulating
something which looks like a menu, so you expect <Enter> to do the
"obvious" thing and confirm (sending).

If it has change, press <?> on that screen to see the key bindings.
Thorsten Kramer | 5 Aug 2008 23:52
Picon
Favicon

Re: Beginner questions

Hi William,

Excerpts from William Morgan's message of Mon Aug 04 03:41:54 +0200 2008:

> The one problem with this so far is that the curses version of gpg-agent
> doesn't interact well with Sup. If you're using the X version, you'll be
> fine.

Well, it's strange. Sometimes the gpg-agent reacts, sometimes the
running daemon isn't recognized. Anyway, it's definitely a problem
caused by my gpg installation, not by sup.

> No. I would like to have this at some point, and I don't think it would
> be terribly hard, but right now even the keybindings are not
> configurable.

OK. Then the mark-as-spam hook will probably do for me.

Best regards,
Thorsten
Kendall Grant Clark | 6 Aug 2008 00:57
Gravatar

sup doesn't like '[Gmail]' in maildir URI

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.

Cheers,
Kendall Clark

Gmane