From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79076 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: solved: using templates to write articles (email) Date: Mon, 13 Jun 2011 02:33:58 +0200 Message-ID: <87zklmzi15.fsf@yun.yagibdah.de> References: <87fwnhd0mx.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1307925289 15766 80.91.229.12 (13 Jun 2011 00:34:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 00:34:49 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27375@lists.math.uh.edu Mon Jun 13 02:34:42 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QVv73-0003G1-OY for ding-account@gmane.org; Mon, 13 Jun 2011 02:34:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QVv6T-00047t-3l; Sun, 12 Jun 2011 19:34:05 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QVv6R-00047g-SQ for ding@lists.math.uh.edu; Sun, 12 Jun 2011 19:34:03 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QVv6Q-0007Nz-C5 for ding@lists.math.uh.edu; Sun, 12 Jun 2011 19:34:03 -0500 Original-Received: from static.73.179.46.78.clients.your-server.de ([78.46.179.73]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QVv6O-0000Qh-BL for ding@gnus.org; Mon, 13 Jun 2011 02:34:00 +0200 Original-Received: from lee by static.73.179.46.78.clients.your-server.de with local (Exim 4.76) (envelope-from ) id 1QVv6M-0003nS-OX for ding@gnus.org; Mon, 13 Jun 2011 02:33:58 +0200 Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79076 Archived-At: lee writes: > is there some sort of support built into gnus for writing articles > (email) from templates? Such templates would contain either headers or a > body, or a combination of both. This tured out to be a problem I can solve with posting styles very nicely: ,---- | (posting-style | (name "foobar") | ("Return-Receipt-To" user-mail-address) | ("Disposition-Notification-To" user-mail-address) | ("X-yun.yagibdah.de-info" "ref ") | (body :file "~/some-filename.txt")) `---- Thanks for all your help! I should have switched to gnus long ago ... The more I learn about it, the more I like it :)