From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79643 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Delayed email sent 26 times Date: Sat, 13 Aug 2011 09:20:17 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87obzt4w26.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1313220099 1253 80.91.229.12 (13 Aug 2011 07:21:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2011 07:21:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27937@lists.math.uh.edu Sat Aug 13 09:21:35 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 1Qs8XF-0004gh-PS for ding-account@gmane.org; Sat, 13 Aug 2011 09:21:34 +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 1Qs8WK-0007Wz-Sk; Sat, 13 Aug 2011 02:20:36 -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 1Qs8WI-0007Wf-9N for ding@lists.math.uh.edu; Sat, 13 Aug 2011 02:20:34 -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 1Qs8WG-0005II-8k for ding@lists.math.uh.edu; Sat, 13 Aug 2011 02:20:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qs8WD-0007q6-Cx for ding@gnus.org; Sat, 13 Aug 2011 09:20:29 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qs8WC-0004Bw-E1 for ding@gnus.org; Sat, 13 Aug 2011 09:20:28 +0200 Original-Received: from 2505ds5-by.0.fullrate.dk ([95.166.24.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Aug 2011 09:20:28 +0200 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Aug 2011 09:20:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 50 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk Mail-Copies-To: never X-Now-Playing: Vals =?iso-8859-1?Q?f=F6r?= satan (din =?iso-8859-1?Q?v=E4n?= pessimisten), =?iso-8859-1?Q?R=F6d?= (Kent) X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79643 Archived-At: Hi. I rarely send delayed emails, but yesterday I delayed an email with C-c C-j for sending this morning at 08:00. When I started Gnus, after 08:00, it sent the email allright. But it did so 26 times! Each email has a new Message-ID and the Date:s are ~3 seconds apart. WTF? I have a function added to my message-send-hook that takes a while¹ (it tries to fetch the currently playing song from my jukebox, which was turned off at the time - so mpc had to time out). Could it be that Gnus doesn't keep track of which delayed emails are currently being processed, and if it takes a while, the email is sent again, and again, and again until the first/"quickest" attempt succeeds? Just wondering. Best regards, Adam ¹ ; Include X-Now-Playing: (defun asjo-mpd-now-playing () "Returns a string with the song currently playing on the mpd" (interactive) (save-excursion (setenv "MPD_HOST" asjo-mpd-host) (let* ((string (shell-command-to-string (concat "mpc" asjo-mpc-format)))) (string-match "[^/]*$" string) (match-string 0 string)))) (defun asjo-add-now-playing-header () "Add X-Now-Playing header" (let ((now-playing (asjo-mpd-now-playing))) (when (not (string-match "error" now-playing)) (message-add-header (concat "X-Now-Playing: " now-playing)) (message "Updated: %s" now-playing)))) ;; Insert header: (add-hook 'message-setup-hook 'asjo-add-now-playing-header) -- "riverrun, past Eve and Adam's, from swerve of shore Adam Sjøgren to bend of bay, brings us by a commodius vicus of asjo@koldfront.dk recirculation back to Howth Castle and Environs."