Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: supercite Outlook top-quoting style
Date: Fri, 01 May 2009 10:42:20 -0500	[thread overview]
Message-ID: <86zldwde3n.fsf@lifelogs.com> (raw)
In-Reply-To: <87my9x85fe.fsf@marauder.physik.uni-ulm.de>

On Fri, 01 May 2009 12:48:37 +0200 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 

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

Here is what I wrote in the end.  I don't think I need all of it, but
it's good in case I go back to message-cite-original as my citation
function.

;; proper
(defun sc-style-me ()
  (interactive)
  (setq 
   message-cite-function 'sc-cite-original
   message-citation-line-function 'message-insert-citation-line
   message-cite-reply-above nil
   message-yank-prefix "> "
   message-yank-cited-prefix "> "
   message-yank-empty-prefix ">"
   message-citation-line-format
   "On %a, %b %d %Y, %N wrote:\n"))

;; outlooky
(defun sc-style-outlook ()
  (interactive)
  (setq
   message-cite-function 'message-cite-original
   message-citation-line-function 'message-insert-formatted-citation-line
   message-cite-reply-above 'is-evil
   message-yank-prefix ""
   message-yank-cited-prefix ""
   message-yank-empty-prefix ""
   message-citation-line-format
   "\n\n-----------------------\nOn %a, %b %d %Y, %N wrote:\n"))

I was hoping to use as many dashes as the line below, so the last '-'
would line up with the ':' below, but that's not easy so I'll live with
the other approach.

Thanks!
Ted




  reply	other threads:[~2009-05-01 15:42 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
2009-05-01 15:42   ` Ted Zlatanov [this message]
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=86zldwde3n.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).