From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84381 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-setup-message? Date: Fri, 21 Mar 2014 11:55:29 +0100 Organization: my virtual residence Message-ID: <87ob0zu8gu.fsf@yun.yagibdah.de> References: <874n2u217r.fsf@yun.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395415643 30341 80.91.229.3 (21 Mar 2014 15:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2014 15:27:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32627@lists.math.uh.edu Fri Mar 21 16:27:31 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WR1M0-0003yJ-Bw for ding-account@gmane.org; Fri, 21 Mar 2014 16:27:28 +0100 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 1WR1L2-0005Be-C1; Fri, 21 Mar 2014 10:26:28 -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 1WR1L1-0005BV-11 for ding@lists.math.uh.edu; Fri, 21 Mar 2014 10:26:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WR1Ky-0002IF-GE for ding@lists.math.uh.edu; Fri, 21 Mar 2014 10:26:25 -0500 Original-Received: from client-194-42-186-216.muenet.net ([194.42.186.216] helo=yun.yagibdah.de) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WR1Kv-0002Bs-NQ for ding@gnus.org; Fri, 21 Mar 2014 16:26:21 +0100 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.80.1) (envelope-from ) id 1WR1Ku-0004oS-L4 for ding@gnus.org; Fri, 21 Mar 2014 16:26:20 +0100 In-Reply-To: (Katsumi Yamaoka's message of "Wed, 19 Mar 2014 16:14:33 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Mail-Followup-To: ding@gnus.org X-Spam-Score: 3.4 (+++) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.4636 Ham tokens: 0.000-410--3398h-0s--0d--H*u:Emacs, 0.000-291--2412h-0s--0d--H*u:Gnus, 0.000-291--2412h-0s--0d--H*UA:Gnus, 0.000-278--2299h-0s--0d--H*u:linux, 0.000-278--2299h-0s--0d--H*UA:linux Spam tokens: 0.995-22679--594h-84637s--0d--H*r:quimby.gnus.org, 0.993-21304--834h-80507s--0d--H*Ad:D*gnus.org, 0.992-16639--731h-63167s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.992-21851--1017h-83162s--0d--HTo:D*gnus.org, 0.992-22715--1076h-86522s--0d--H*RU:quimby.gnus.org Autolearn status: no 1.6 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4636] 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84381 Archived-At: Katsumi Yamaoka writes: > lee wrote: >> what happened to `gnus-setup-message'? That doesn`t seem to be >> available in recent emacs anymore. > > It should still exist in lisp/gnus/gnus-msg.el{c|.gz}. But that > macro is not configured to be autoloaded[1], so you have to load > gnus-msg explicitly if you want to use it without starting Gnus. > >> How are we supposed to send email from scripts now? > > I don't know what kind of script you use, but here is an example: > > --eval '(require (quote gnus-msg))' --eval '(Your-Function)' > > Where `Your-Function' is the one that uses gnus-setup-message. Hmm, yes, thank you --- it`s still there. I`ll have to look into it why it suddenly was undefined. > [1] A thing that autoloads gnus-setup-message was deleted in > gnus-dired.el five years ago. I don't know if it is relevant > to your problem, though. It worked until very recently and I sent some messages as usual, just to find out that none of them were sent because the function was suddenly undefined ... -- Knowledge is volatile and fluid. Software is power.