Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Outlook-style quoting for Gnus
       [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
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 11:24 UTC (permalink / raw)
  To: Elias Mårtenson; +Cc: info-gnus-english

Elias Mårtenson <lokedhs@gmail.com> writes:

> At work I suffer from a problem that I suppose is not unique in the
> world: Being in an organisation that exclusively uses Outlook.

`message-cite-style' has an "outlook"-like option...

> 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.

`libxml-parse-html-region' in Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Outlook-style quoting for Gnus
  2013-08-01 11:24 ` Outlook-style quoting for Gnus Lars Magne Ingebrigtsen
@ 2013-08-01 12:35   ` Elias Mårtenson
  2013-08-01 12:42     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Elias Mårtenson @ 2013-08-01 12:35 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: info-gnus-english

On 1 August 2013 19:24, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> Elias Mårtenson <lokedhs@gmail.com> writes:
>
>> At work I suffer from a problem that I suppose is not unique in the
>> world: Being in an organisation that exclusively uses Outlook.
>
> `message-cite-style' has an "outlook"-like option...

Thank you. But as far as I know, this one does not properly preserve
the previous email chain fully (including all formatting and inlined
images). Or am I wrong about this?

>> 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.
>
> `libxml-parse-html-region' in Emacs 24.

Thank you. I'll take a look at this.

Regards,
Elias

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Outlook-style quoting for Gnus
  2013-08-01 12:35   ` Elias Mårtenson
@ 2013-08-01 12:42     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 12:42 UTC (permalink / raw)
  To: Elias Mårtenson; +Cc: info-gnus-english

Elias Mårtenson <lokedhs@gmail.com> writes:

> Thank you. But as far as I know, this one does not properly preserve
> the previous email chain fully (including all formatting and inlined
> images). Or am I wrong about this?

No, it just includes the quoted messages "as shown".  Attachments and
the like aren't included.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Outlook-style quoting for Gnus
@ 2013-06-07  3:14 Elias Mårtenson
  0 siblings, 0 replies; 5+ messages in thread
From: Elias Mårtenson @ 2013-06-07  3:14 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Outlook-style quoting for Gnus
@ 2013-06-07  2:34 Elias Mårtenson
  0 siblings, 0 replies; 5+ messages in thread
From: Elias Mårtenson @ 2013-06-07  2:34 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 2026 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2374 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-01 12:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1171.1370621846.22516.info-gnus-english@gnu.org>
2013-08-01 11:24 ` Outlook-style quoting for Gnus Lars Magne Ingebrigtsen
2013-08-01 12:35   ` Elias Mårtenson
2013-08-01 12:42     ` Lars Magne Ingebrigtsen
2013-06-07  3:14 Elias Mårtenson
  -- strict thread matches above, loose matches on Subject: below --
2013-06-07  2:34 Elias Mårtenson

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).