all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* message-citation-line-function
@ 2002-04-02 15:49 G Anna
  2002-04-03 12:37 ` message-citation-line-function Alexander Koptelov
  0 siblings, 1 reply; 3+ messages in thread
From: G Anna @ 2002-04-02 15:49 UTC (permalink / raw)


Dear All,

I would like to have a custom message-citation-line-function.  Instead
of having a single line like,

Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:
> yanked message follows...

I'd like to have 

> Date: ....
> From: ....
> Subject: ....
>
> yanked message follows...

Where "> " is the message-yank-prefix.

Can anybody help?  Or any pointers?

Thank you all for the time.

Cheers,
anna
 
-- 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: message-citation-line-function
  2002-04-02 15:49 message-citation-line-function G Anna
@ 2002-04-03 12:37 ` Alexander Koptelov
  2002-04-03 16:47   ` message-citation-line-function G Anna
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Koptelov @ 2002-04-03 12:37 UTC (permalink / raw)
  Cc: help-gnu-emacs

>>>>> "GA" == G Anna <drguruolai@eth.net> writes:

    GA> Dear All, I would like to have a custom message-citation-line-function.
    GA> Instead of having a single line like,

    GA> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:
    >> yanked message follows...

    GA> I'd like to have

    >> Date: ....  From: ....  Subject: ....
    >> 
    >> yanked message follows...

    GA> Where "> " is the message-yank-prefix.

    GA> Can anybody help?  Or any pointers?

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 =)

    GA> Thank you all for the time.

    GA> Cheers, anna
 
    GA> --

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


    GA> _______________________________________________ Help-gnu-emacs mailing
    GA> list Help-gnu-emacs@gnu.org
    GA> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs


-- 
Alexander Koptelov
Institute for System Programming, Russian Academy of Sciences
e-mail: steve@ispras.ru
icq:    36208499

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: message-citation-line-function
  2002-04-03 12:37 ` message-citation-line-function Alexander Koptelov
@ 2002-04-03 16:47   ` G Anna
  0 siblings, 0 replies; 3+ messages in thread
From: G Anna @ 2002-04-03 16:47 UTC (permalink / raw)



> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-03 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` message-citation-line-function G Anna

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.