Gnus development mailing list
 help / color / mirror / Atom feed
From: Shaun Lipscombe <shaun.lipscombe@gasops.co.uk>
Subject: Re: nnmail-pop-password, and nnheader-temp-write
Date: 21 Jun 1999 15:53:07 +0100	[thread overview]
Message-ID: <wkiu8hip0s.fsf@gasops.co.uk> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "18 Jun 1999 12:51:58 +0200"

* "Kai" == Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

 Kai> Does this work?

 Kai> (defun my-message-header-hook ()
 Kai>     (save-excursion (goto-char (point-min))
 Kai>     (insert-file-contents "/tmp/foo")))

I added some stuff and got it working nicely:

(defvar xfile (expand-file-name "~/.xface"))
(defun insert-xfile ()
  (save-excursion
    (goto-char (point-min))
    (search-forward mail-header-separator)
    (beginning-of-line nil)
    (insert "X-Face: ")
    (insert-file xfile)))
(add-hook 'message-send-hook 'insert-xfile)

Thanks for your help Kai :))

Shaun

-- 
          (o_
(o_  (o_  //\
(/)_ (/)_ V_/_   shaun.lipscombe@gasops.co.uk



      reply	other threads:[~1999-06-21 14:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-17 16:43 Shaun Lipscombe
1999-06-17 17:11 ` Shaun Lipscombe
1999-06-18  2:51 ` Stainless Steel Rat
1999-06-18  8:56   ` Shaun Lipscombe
1999-06-18 10:51     ` Kai.Grossjohann
1999-06-21 14:53       ` Shaun Lipscombe [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

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

  git send-email \
    --in-reply-to=wkiu8hip0s.fsf@gasops.co.uk \
    --to=shaun.lipscombe@gasops.co.uk \
    /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).