Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: supercite Outlook top-quoting style
Date: Fri, 01 May 2009 12:48:37 +0200	[thread overview]
Message-ID: <87my9x85fe.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <86fxfqkrqq.fsf@lifelogs.com>

On Thu, Apr 30 2009, Ted Zlatanov wrote:

> I looked at supercite.el and there's no pre-defined top-quoting style
> like this.  I looked at the Emacs Wiki and all over, nothing.
>
> (my cursor here)
> -----------------------
> On (Date) (Name) wrote:
>
> (original message, unquoted)


I'd expect you can do this without Supercite, using
the un-advertised variable `message-cite-reply-above':

,----[ <f1> v message-cite-reply-above RET ]
| message-cite-reply-above is a variable defined in `message.el'.
| Its value is nil
| 
| Documentation:
| If non-nil, start own text above the quote.
| 
| Note: Top posting is bad netiquette.  Don't use it unless you
| really must.  You probably want to set variable only for specific
| groups, e.g. using `gnus-posting-styles':
| 
|   (eval (set (make-local-variable 'message-cite-reply-above) t))
| 
| This variable has no effect in news postings.
`----

Something like...

--8<---------------cut here---------------start------------->8---
(setq message-citation-line-function 'message-insert-formatted-citation-line)
(setq message-cite-reply-above t)
(setq message-yank-prefix ""
      message-yank-cited-prefix ""
      message-yank-empty-prefix "")
(setq message-citation-line-format
      "-----------------------
On %a, %b %d %Y, %N wrote:
")

;; If you even want it more Outlook-ish:

(setq message-citation-line-format
      "\
-----Original Message-----
From: %f
Sent: %A, %B %d, %Y %H:%M %Z
")
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2009-05-01 10:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30 16:53 Ted Zlatanov
2009-05-01 10:48 ` Reiner Steib [this message]
2009-05-01 15:42   ` Ted Zlatanov
2009-05-15 17:03 ` Dave Goldberg

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=87my9x85fe.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.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).