unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: G Anna <drguruolai@eth.net>
Subject: Re: message-citation-line-function
Date: 03 Apr 2002 22:17:28 +0530	[thread overview]
Message-ID: <m3wuvovie7.fsf@wobble.eth.net> (raw)
In-Reply-To: <scpk7rpj6ve.fsf@pegas.kazbek.ispras.ru>


> Date: 03 Apr 2002 16:37:09 +0400
> From: Alexander Koptelov <steve@ispras.ru>
> Subject: Re: message-citation-line-function
> 

[snip]

> You should redefine `message-citation-line-function' variable in
> appropriate manner (i.e. it should fetch from original article all
> headers you need and `insert's it). May be anybody already did it? I
> didn't =)

This is working!

(defun anna-message-insert-citation-line ()
  "Insert custom citation line."
  (when message-reply-headers
    (insert "\n" message-yank-prefix "Date: ")
    (insert (mail-header-date message-reply-headers) "\n")
    (insert message-yank-prefix "From: ")
    (insert (mail-header-from message-reply-headers) "\n")
    (insert message-yank-prefix "Subject: ")
    (insert (mail-header-subject message-reply-headers) "\n")
    (insert message-yank-prefix "\n")))

(setq message-citation-line-function 'anna-message-insert-citation-line)


Cheers,
anna


-- 

Get your free e-mail account at http://www.linuxmail.org

      reply	other threads:[~2002-04-03 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 15:49 message-citation-line-function G Anna
2002-04-03 12:37 ` message-citation-line-function Alexander Koptelov
2002-04-03 16:47   ` G Anna [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wuvovie7.fsf@wobble.eth.net \
    --to=drguruolai@eth.net \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).