[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: sup-mail 0.12-1+git20120407.aaa852f-1



Hi!

On Wed, May 23, 2012 at 1:35 PM, Cédric Boutillier
<cedric.boutillier@gmail.com> wrote:
> Hi!
>
> I've built successfully the package, and managed to use it to read my
> emails. It works quite nicely.

Neat!


> I have no comments about the packaging
> (except I don't think that the debian/sup-mail.install file is needed,
> since the files in bin/ are automatically moved there by gem2deb).

I removed debian/sup-mail.install.


> I encountered two issues with sup-mail with respect to GPG support:
> - Although I could send signed emails, I could not send encrypted /
>  encrypted and signed emails and got instead the following errors
>  (crypt and sign)
>    Problem sending mail: Exception in GPGME call: Unusable public key
>  or (crypt only)
>    Problem sending mail: Exception in GPGME call: General error
> - Trying to expand a signature in the thread view mode yields a crash
>  with the following trace:
>
>  --- NoMethodError from thread: main
>  private method `chomp' called for nil:NilClass
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:849:in `maybe_wrap_text'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:849:in `map'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:849:in `maybe_wrap_text'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:876:in `chunk_to_lines'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:752:in `regen_text'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:741:in `each'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:741:in `regen_text'
>  /usr/lib/ruby/vendor_ruby/sup/thread.rb:81:in `each'
>  /usr/lib/ruby/vendor_ruby/sup/thread.rb:174:in `each_with_stuff'
>  /usr/lib/ruby/vendor_ruby/sup/thread.rb:78:in `each'
>  /usr/lib/ruby/vendor_ruby/sup/thread.rb:75:in `each'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:710:in `regen_text'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:696:in `update'
>  /usr/lib/ruby/vendor_ruby/sup/modes/thread-view-mode.rb:339:in `activate_chunk'
>  /usr/lib/ruby/vendor_ruby/sup/mode.rb:59:in `send'
>  /usr/lib/ruby/vendor_ruby/sup/mode.rb:59:in `handle_input'
>  /usr/lib/ruby/vendor_ruby/sup/buffer.rb:278:in `handle_input'
>  /usr/bin/sup-mail:271

I'll check into these issues.


> - I didn't find either how to select the GPG key used (sup-mail doesn't
>  seem to use the default one, but maybe the first found...

You can put this in the $HOME/.sup/config.yaml like so

---
:accounts:
  :default:
    :gpgkey: 79F492F8


It is sort of documented on the sup wiki [0]

[0] http://sup.rubyforge.org/wiki/wiki.pl?GPG

This should ideally be documented somewhere that ships with
the package. I don't really have the energy to create a man page
for the entire config.yaml. Suggestions? (Only documenting
some parts and stating that it is not complete and mention the
sup wiki and other documentation?)


> It would be great if these issues could be solved.
> Except from that, I find this package working very well.

Great!


Best,
Per

> Thanks!
>
> Cédric


Reply to: