Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: info-gnus-english@gnu.org
Subject: Outlook-style quoting for Gnus
Date: Fri, 7 Jun 2013 11:14:07 +0800	[thread overview]
Message-ID: <CADtN0W+oRxyiAYVqaPLBuxBBpPnE=0W-P3Rfzj5Fruu09rmKiQ@mail.gmail.com> (raw)

Note: this is a re-send. The first copy was sent at the same time that
I joined the mailing list and it didn't seem to be delivered. I
apologise in advance in case you see multiple copies of this mail.

At work I suffer from a problem that I suppose is not unique in the
world: Being in an organisation that exclusively uses Outlook. For
quite some time I suffered using Thunderbird, but I don't think I have
to tell anyone here that that is not an ideal situation. Especially
when most of the corporate communication is happening through email.

I tried using Gnus, but I realised quickly that the everybody expects
the replies to conform to the (yes, quite horrible) citation style of
Outlook. This means that emails are HTML, and that the entire email
chain prior is included in each mail. This includes preserved
formatting and images. I also realised that Gnus had no way to provide
this.

This needed a solution. If one doesn't exist: Make one.

So, I did. Me and a colleague have been using this for a while now,
and it works quite effectively. So I felt it's time to ask the larger
community if this this is something that anyone else has worked on
addressing, and whether or not this is something that other people may
also have a need for.

Currently, apart from handling the Outlook-style quoting, with all its
horrible quirks, it also uses Muse for marking up the text that you
write. I have been thinking of switching this to Org instead. Doing so
should be fairly simple, as most of the infrastructure is already in
place.

Anyway, here's the code if anyone is interested in taking a look:

https://github.com/lokedhs/gnus-outlook-style

The biggest problem right now for anyone who would like to try this is
that it requires an external helper application. I needed to do it
that way since there is no stable (and forgiving) HTML parser in
Elisp. Adding to this is the fact that even the one in CL
(closure-html) also barfs on the mess that Outlook spews out, so I had
to patch it. The patch is included in my distribution, but it's not
yet part of the standard distribution.

Anyway, have fun (wait, no. Outlook is involved, so fun is not part of
it). Please take a look if you're interested. :-)

Regards,
Elias

             reply	other threads:[~2013-06-07  3:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07  3:14 Elias Mårtenson [this message]
     [not found] <mailman.1171.1370621846.22516.info-gnus-english@gnu.org>
2013-08-01 11:24 ` Lars Magne Ingebrigtsen
2013-08-01 12:35   ` Elias Mårtenson
2013-08-01 12:42     ` Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2013-06-07  2:34 Elias Mårtenson

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='CADtN0W+oRxyiAYVqaPLBuxBBpPnE=0W-P3Rfzj5Fruu09rmKiQ@mail.gmail.com' \
    --to=lokedhs@gmail.com \
    --cc=info-gnus-english@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.
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 NNTP newsgroup(s).