unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: guix-devel@gnu.org
Subject: Re: https://issues.guix.info
Date: Tue, 04 Sep 2018 02:33:18 +0200	[thread overview]
Message-ID: <87d0tuyucx.fsf@elephly.net> (raw)
In-Reply-To: <cu7sh2qnuv9.fsf@systemreboot.net>


Hi Arun,

>> - proper handling of attachments in multipart messages.  If a multipart
>>   message contains an attachment, mumi tries to display it like any
>>   other multipart type.
>
> Is this about allowing attached patches to be downloaded? Is it
> currently possible to download patches using mumi? It would be nice to
> use mumi for my entire workflow, and not have to fallback to the old
> debbugs web interface.

This is now possible.  I currently only decode attachments that are in
base64 and quoted printable formats; all others are sent as is.

> Also, is there any value in having a pure guile email parser instead of
> using bindings to mailutils? I attempted a similar project, and for some
> reason, I ended up writing an email parser from scratch using (ice-9
> peg). But, now that I see how you have used mailutils bindings, I am
> unsure if writing an email parser from scratch was wise. However, if you
> think it is worthwhile, I can contribute that code to mumi.

I’m not using a lot of mailutils.  I use the following procedures:

- mu-address-get-email
- mu-address-get-personal (problem: swallows non-ASCII characters)
- mu-header-decode
- mu-decoder-port

Of all these only “mu-decoder-port” would be non-trivial to implement.
It’s used to decode strings that are encoded as “quoted-printable”.  It
wouldn’t be too difficult to implement in pure Guile – I just wanted to
save time.

I’d be happy if your work on email parsers could end up in mumi and
replace some of my own poor quality code :)

--
Ricardo

  reply	other threads:[~2018-09-04  0:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-01 20:26 https://issues.guix.info Ricardo Wurmus
2018-09-01 21:46 ` https://issues.guix.info Amin Bandali
2018-09-02 20:55   ` https://issues.guix.info Ricardo Wurmus
2018-09-02 21:17     ` https://issues.guix.info Clément Lassieur
2018-09-02 22:08     ` https://issues.guix.info Amin Bandali
2018-09-03  6:30       ` https://issues.guix.info Pierre Neidhardt
2018-09-03 13:01       ` https://issues.guix.info Ricardo Wurmus
2018-09-03 18:51         ` https://issues.guix.info Amin Bandali
2018-09-03  7:59 ` https://issues.guix.info Hartmut Goebel
2018-09-03 21:17 ` https://issues.guix.info Arun Isaac
2018-09-04  0:33   ` Ricardo Wurmus [this message]
2018-09-05  6:50     ` https://issues.guix.info Arun Isaac
2018-09-05  7:10       ` https://issues.guix.info Ricardo Wurmus
2018-09-05  7:51         ` https://issues.guix.info Arun Isaac
2018-09-05  8:07           ` https://issues.guix.info Ricardo Wurmus
2018-09-10 20:57             ` https://issues.guix.info Gábor Boskovits
2018-09-13 22:29               ` https://issues.guix.info Pierre Neidhardt
2018-09-04 21:37 ` https://issues.guix.info Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0tuyucx.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=arunisaac@systemreboot.net \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).