From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87701 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.general Subject: Re: create a message, have it in the holster? Date: Sun, 01 Oct 2017 06:42:26 +0200 Message-ID: <86shf3v5ql.fsf@zoho.com> References: <86h8vr41te.fsf@zoho.com> <87shfaer1g.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506833034 19241 195.159.176.226 (1 Oct 2017 04:43:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 1 Oct 2017 04:43:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m35915@lists.math.uh.edu Sun Oct 01 06:43:48 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyW6V-0004Hg-7F for ding-account@gmane.org; Sun, 01 Oct 2017 06:43:47 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 13a4b44e-a663-11e7-8b7f-b499baa2b07a; Sun, 01 Oct 2017 04:43:32 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1dyW5T-0000BZ-ES; Sat, 30 Sep 2017 23:42:43 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dyW5P-0000Aq-T3 for ding@lists.math.uh.edu; Sat, 30 Sep 2017 23:42:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1dyW5O-0005Os-5S for ding@lists.math.uh.edu; Sat, 30 Sep 2017 23:42:39 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1dyW5M-0004RL-NR for ding@gnus.org; Sun, 01 Oct 2017 06:42:36 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dyW5E-0006A6-Az for ding@gnus.org; Sun, 01 Oct 2017 06:42:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:JzqLSUunLEcnq272uk1gdRjVIPw= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87701 Archived-At: I came up with a good (?) way of doing this. Yes, you have to set up the function every time, but on the other hand, how often do you use something like this? It is my first and I'm unsure if the situation will be back after I'm done with it. (defun send-pub-mail () (interactive) (gnus-post-news 'post "") (message-goto-subject) (insert "Borta men inte glömd") (message-goto-body) (insert-file "~/book/mail.txt") (message-goto-to) ) ;; (send-pub-mail) -- underground experts united http://user.it.uu.se/~embe8573