Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Lars Haugseth <njus@larshaugseth.com>
Subject: Citation and blank lines
Date: Wed, 15 Jun 2005 07:05:52 GMT	[thread overview]
Message-ID: <87br68p0g9.fsf@skapulf.larshaugseth.com> (raw)


I want my citations to look like this:

* Bob wrote:
|
| Hi!
|
| How are you?

To accomplish this, I have the following in my .gnus.pl:

 ;; Message citation
 (setq message-cite-function 'message-cite-original-without-signature)
 (defun my-insert-citation-line ()
   "Function that inserts a simple citation line."
   (when message-reply-headers
     (insert "* " (mail-header-from message-reply-headers) " wrote:\n|\n")))
 (setq message-citation-line-function 'my-insert-citation-line)
 (setq message-yank-prefix "| ")

This almost works. The only problem is, blank lines in the
cited text yields '>' instead of '|' as prefix, like this:

* Bob wrote:
|
| Hi!
>
| How are you?

Any ideas why this is happening and what I can do to fix it?

-- 
Lars Haugseth


             reply	other threads:[~2005-06-15  7:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15  7:05 Lars Haugseth [this message]
2005-06-15  7:16 ` Steinar Børmer
2005-06-15  8:10   ` Lars Haugseth

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=87br68p0g9.fsf@skapulf.larshaugseth.com \
    --to=njus@larshaugseth.com \
    /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).