From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83503 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: sending messages from script/command line Date: Mon, 08 Jul 2013 22:08:38 +0800 Message-ID: <87sizpqh3t.fsf@ericabrahamsen.net> References: <87zjua8edq.fsf@yun.yagibdah.de> <87obamjvvx.fsf@lifelogs.com> <87vc4u48j8.fsf@yun.yagibdah.de> <87y59p3rh3.fsf@lifelogs.com> <87txk8zmxy.fsf@yun.yagibdah.de> <87obagfk39.fsf@ericabrahamsen.net> <871u79z1ed.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373292625 11318 80.91.229.3 (8 Jul 2013 14:10:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2013 14:10:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31763@lists.math.uh.edu Mon Jul 08 16:10:26 2013 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 1UwC90-0004qi-U8 for ding-account@gmane.org; Mon, 08 Jul 2013 16:10:23 +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 1UwC7M-0002bl-Sa; Mon, 08 Jul 2013 09:08:40 -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 1UwC7L-0002bd-AZ for ding@lists.math.uh.edu; Mon, 08 Jul 2013 09:08:39 -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 1UwC7B-000199-05 for ding@lists.math.uh.edu; Mon, 08 Jul 2013 09:08:39 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UwC78-00071P-JW for ding@gnus.org; Mon, 08 Jul 2013 16:08:26 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UwC78-0003BK-1c for ding@gnus.org; Mon, 08 Jul 2013 16:08:26 +0200 Original-Received: from 114.250.115.98 ([114.250.115.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Jul 2013 16:08:26 +0200 Original-Received: from eric by 114.250.115.98 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Jul 2013 16:08:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.115.98 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:NlRBnt/RMWx3BK6tgB5tl4J4L2s= X-Spam-Score: 1.4 (+) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-125--924h-0s--0d--H*u:Emacs, 0.000-89--655h-0s--0d--H*u:Gnus, 0.000-89--655h-0s--0d--H*UA:Gnus, 0.000-83--616h-0s--0d--H*u:linux, 0.000-83--616h-0s--0d--H*UA:linux Spam tokens: 0.991-5111--275h-21865s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-10519--620h-45220s--0d--H*RU:quimby.gnus.org, 0.990-10046--599h-43213s--0d--HTo:D*gnus.org, 0.988-10374--766h-45221s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.988-10374--766h-45221s--0d--H*RT:80.91.231.51 Autolearn status: no -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] 2.4 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83503 Archived-At: Ted Zlatanov writes: > On Sat, 06 Jul 2013 11:22:50 +0800 Eric Abrahamsen wrote: > > EA> There's the function `gnus-alive-p' that does a bit of checking to see > EA> if gnus is running, you could probably use that in your wrapper > EA> function... > > Nice, I didn't know about it. Looks like it's based on the group > buffer's existence. > > Ted Yeah, it's nothing particularly magic, but it saves some boilerplate...