Outlook style top-posting

157 views
Skip to first unread message

Jeff Kowalczyk

unread,
Aug 14, 2014, 3:19:06 PM8/14/14
to mu-di...@googlegroups.com
Are there any mu4e users who configure replies conforming to the Outlook top-posting convention?

   Reply body text.

   -----Original Message-----
   From: Original Poster
   Sent: Thursday, August 14, 2014 11:47 AM
   To: Tom Tester
   Subject: Outlook

   Message body text.

I'm getting complaints from outlook-using work correspondents that the ">" prefixes and interleaving make replies hard to follow. From my perspective, I'm wasting time and making errors reformatting thread messages to maintain a consistent top or bottom posting style.

Thanks in advance if anyone is willing to share tips on packages required or config.

Jeff

Dirk-Jan C. Binnema

unread,
Aug 14, 2014, 4:33:00 PM8/14/14
to mu-di...@googlegroups.com
mu4e use the gnus/message machinery for citing, which allows for all
kinds of styles, including the one that Outlook uses; see
mu4e-compose-cite-function
and then the various way to configure it,
https://www.gnu.org/software/emacs/manual/html_node/message/Insertion-Variables.html

This should give you a start:

(setq
message-yank-prefix ""
message-yank-cited-prefix ""
message-yank-empty-prefix ""
message-indentation-spaces 4
message-cite-reply-position 'above
message-citation-line-format
(concat
"-----Original Message-----\n"
"From: %N\n"
"Sent: %x %X\n\n"))

Cheers,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

Jeff Kowalczyk

unread,
Aug 25, 2014, 3:20:18 PM8/25/14
to mu-di...@googlegroups.com
Thanks!

What mu4e-compose-cite-function should I be using with this?

The citation remaind as per defaults until I defined:

(setq mu4e-compose-cite-function 'message-insert-formatted-citation-line)

But then the inserted citation differs from the specified message-citation-line-format:

From: Test user
To: Me, Other Recipients
Cc: Third Party
Subject: The Subject
Flags: seen, attach
Date: 2014-08-25T09:47:42-0700
Maildir: /work/INBOX
Attachments: [1]image1.jpg(16.9K), [2]image2.png(3.1K),

My configuration, Using el-get:

(:name mu4e
  :after (progn
  ...
  (setq message-yank-prefix "")
  (setq message-yank-cited-prefix "")
  (setq message-yank-empty-prefix "")
  (setq message-indentation-spaces 4)
  (setq message-cite-reply-position 'above)
  (setq message-citation-line-format
        (concat
         "-----Original Message-----\n"
         "From: %N\n"
         "Sent: %x %X\n\n"))
  (setq mu4e-compose-cite-function 'message-insert-formatted-citation-line)
  ...))

Thanks,
Jeff

Dirk-Jan C. Binnema

unread,
Sep 2, 2014, 8:32:16 AM9/2/14
to mu-di...@googlegroups.com
Hi Jeff,

On Monday Aug 25 2014, Jeff Kowalczyk wrote:

> Thanks!
>
> What mu4e-compose-cite-function should I be using with this?

Note that while Outlook likes top-posting, it's usually not the best for
mailing-lists.

> The citation remaind as per defaults until I defined:
>
> (setq mu4e-compose-cite-function 'message-insert-formatted-citation-line)

I'm using the default, message-cite-original-without-signature; however,
your citation function should be, well, a citation function, and
message-insert-formatted-citation-line is not.

You can check some of the alternatives (if you want to play with this)
by checking the defininion of message-cite-function.

Cheers,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
Reply all
Reply to author
Forward
0 new messages