Gnus development mailing list
 help / color / mirror / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: ding@gnus.org
Subject: Re: create a message, have it in the holster?
Date: Sun, 01 Oct 2017 15:07:28 +0200	[thread overview]
Message-ID: <867ewfuicv.fsf@zoho.com> (raw)
In-Reply-To: <86shf3v5ql.fsf@zoho.com>

According to the byte compiler, `insert-file'
is for interactive use only; one should use
`insert-file-contents' instead.

    (defun send-pub-mail ()
      (interactive)
      (gnus-post-news 'post "")
      (message-goto-subject) (insert "Borta men inte glömd")
      (message-goto-body)    (insert-file-contents "~/book/mail.txt")
      (message-goto-to) )
    ;; (send-pub-mail)

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2017-10-01 13:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25  8:31 Emanuel Berg
2017-09-25 15:28 ` Eric Abrahamsen
2017-09-25 18:46   ` Emanuel Berg
2017-09-25 19:32     ` Eric Abrahamsen
2017-09-25 21:39       ` Emanuel Berg
2017-10-01  4:42   ` Emanuel Berg
2017-10-01 13:07     ` Emanuel Berg [this message]
2017-09-25 15:38 ` Eric Abrahamsen
2017-09-25 18:46   ` Emanuel Berg
2017-09-26 14:55   ` Harry Putnam
2017-09-26 16:53     ` Eric Abrahamsen
2017-09-26 17:19       ` Adam Sjøgren
2017-09-26 19:46         ` Eric Abrahamsen

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=867ewfuicv.fsf@zoho.com \
    --to=moasen@zoho.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).