From rgm@gnu.org Mon May 25 23:04:04 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 26 May 2009 06:04:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-8.3 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8, X_DEBBUGS_CC,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4Q640Rq031804 for ; Mon, 25 May 2009 23:04:01 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8plX-0006dF-Rs for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 02:03:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8plS-0006cA-I4 for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 02:03:58 -0400 Received: from [199.232.76.173] (port=53803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8plS-0006c4-E2 for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 02:03:54 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:46648) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M8plR-0006HS-V6 for bug-gnu-emacs@gnu.org; Tue, 26 May 2009 02:03:54 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M8plQ-00014t-OD; Tue, 26 May 2009 02:03:52 -0400 From: Glenn Morris To: bug-gnu-emacs Subject: Re: Bug calling patched appt-display-message References: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> X-Debbugs-cc: Davin Pearson X-Spook: electronic surveillance Mahmoud Ahmadinejad INS Dick X-Ran: {~PJmW,~~bm+/VCzzQ'HhqTaO%>n-T(oKO>Gw{,!#w4m.pq9#n_IP%%6*Hu_X82h9VnPEz X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 26 May 2009 02:03:52 -0400 In-Reply-To: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> (Davin Pearson's message of "Mon, 25 May 2009 18:41:17 -0700 (PDT)") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) (The mail to which I am replying does not appear in the Emacs bug tracker owing to bug 936.) Davin Pearson wrote: > When I add the following line of code to my ~/.diary file: > > Tuesday > 13:37 apple.wav > > It calls (appt-display-message STRING MINS) with the value "apple.wa" > (without the trailing v). I was unable to reproduce this problem in Emacs 22.2 on GNU/Linux, with a diary file with and without a trailing newline, and with DOS or unix line endings. > In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) > of 2008-03-27 on RELEASE > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4)' From jasonrumney@gmail.com Mon May 25 23:55:31 2009 Received: (at 3385) by emacsbugs.donarmstrong.com; 26 May 2009 06:55:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4Q6tRKt008080 for <3385@emacsbugs.donarmstrong.com>; Mon, 25 May 2009 23:55:28 -0700 Received: by rv-out-0506.google.com with SMTP id f9so817672rvb.1 for <3385@emacsbugs.donarmstrong.com>; Mon, 25 May 2009 23:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=hEmj/5YLlHade62iA2lq3QBLOdAPcg4zYZ3DhIJOqGk=; b=e2E2NAPuol9bsYG4Y6S4bEBi0pqiiUnQVMqNdp+hRVhDl+UMe0GsTmJhRxlhD6lGSe 2H4I0aY1po+9O5Cn8X4Ugq4Y2GtG1QKvIz2YHZ3TEpt0wTZjTBOloptLKalDDD3Fdagu VGX9ldpxsE3lg/iOA0QqImivQ/HOVbr5qGq7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=s7/+NRFuDyPDjdtaqd0UcbgkF6SJAXuWldRWcH9H2fF6K+TPqrkIhV/WwK4pR6HZPQ 52sQfqmTPBZHn/KRJQMw2FFYzzffbVuss3qLXVsWJOjWplFNE5eQ63RSZLs+4ZHvkzPr REndFmmVw5pwakNIu7ZdDPCP4bAa3I8JXGU8I= Received: by 10.141.50.11 with SMTP id c11mr2945873rvk.28.1243320927027; Mon, 25 May 2009 23:55:27 -0700 (PDT) Received: from ?10.1.1.112? ([61.4.103.130]) by mx.google.com with ESMTPS id g14sm22308766rvb.12.2009.05.25.23.55.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 May 2009 23:55:26 -0700 (PDT) Sender: Jason Rumney Message-ID: <4A1B923F.9090705@gnu.org> Date: Tue, 26 May 2009 14:54:55 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Glenn Morris , 3385@debbugs.gnu.org CC: davin.pearson@gmail.com Subject: Re: bug#3385: Bug calling patched appt-display-message References: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Glenn Morris wrote: > I was unable to reproduce this problem in Emacs 22.2 on GNU/Linux, > with a diary file with and without a trailing newline, and with DOS or > unix line endings. > Likewise on Windows XP with 22.3 and current trunk. I note the work "patched" in the subject line, and wonder if the user's own patches might be responsible. I suspect there have been changes made to the way the string is constructed, as the time is missing from the front of the string in the original bug report, while a study of appt.el shows that the time is always prepended to the string when an appointment is taken from the diary or created with appt-add. From rgm@gnu.org Tue May 26 13:54:17 2009 Received: (at 3385) by emacsbugs.donarmstrong.com; 26 May 2009 20:54:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-9.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4QKsDka003725; Tue, 26 May 2009 13:54:14 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M93f2-0007i4-DO; Tue, 26 May 2009 16:54:12 -0400 From: Glenn Morris To: 3385@debbugs.gnu.org Subject: Re: bug#3385: Bug calling patched appt-display-message References: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> X-Spook: Europol analyzer corporate security PGP Reno JUWTF world X-Ran: *!I38cwW6wArW&A)[xrjEUIhD|M\,LVw^7|\Q`?X,IF^h~_Pioi+_65bEy3>b;7aSg~W]_ X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 26 May 2009 16:54:12 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reassign 3385 emacs,calendar tags 3385 moreinfo unreproducible stop With ~/diary consisting of: ------ Tuesday 13:07 apple.wav ------ emacs-22.2 -Q -f appt-activate works as it should for me, displaying the full text of the appointment in the reminder window. Please provide a complete recipe showing the problem starting from emacs -Q (sorry, but I don't know how you do that on Windows). Note there should be no need to patch anything, simply set the variable appt-disp-window-function to a function that plays a sound. As proof of concept, this works fine for me: emacs -Q --eval "(progn \ (setq appt-disp-window-function \ (lambda (mins time string) \ (play-sound (list 'sound :file (substring string 6))))) \ (appt-activate))" From rgm@gnu.org Tue May 26 13:55:38 2009 Received: (at control) by emacsbugs.donarmstrong.com; 26 May 2009 20:55:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.4 required=4.0 tests=AWL,GMAIL,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4QKtZ0s004105 for ; Tue, 26 May 2009 13:55:36 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M93gM-0007jv-LI; Tue, 26 May 2009 16:55:34 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18972.22342.560693.728026@fencepost.gnu.org> Date: Tue, 26 May 2009 16:55:34 -0400 From: Glenn Morris To: control Subject: blah blah X-Debbugs-No-Ack: yes owner 3385 davin.pearson@gmail.com From rgm@gnu.org Tue May 26 14:23:06 2009 Received: (at control) by emacsbugs.donarmstrong.com; 26 May 2009 21:23:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=AWL,GMAIL,ONEWORD, VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4QLN2dU008505 for ; Tue, 26 May 2009 14:23:04 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M946w-0000di-2P; Tue, 26 May 2009 17:23:02 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18972.23989.985582.853429@fencepost.gnu.org> Date: Tue, 26 May 2009 17:23:01 -0400 From: Glenn Morris To: control Subject: blah X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: ~]5ugY;l3{,,Es$ne:@bTK5EeM2Twp`!.AKUBn:~Uq'?o{pv7L=b%7e?c$XhRx`B)Zp&n4 X-Debbugs-No-Ack: yes owner 3385 submitter 3385 davin.pearson@gmail.com From rgm@gnu.org Tue May 26 14:41:46 2009 Received: (at control) by emacsbugs.donarmstrong.com; 26 May 2009 21:41:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4QLfgvx011170 for ; Tue, 26 May 2009 14:41:43 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M94Oz-0001MZ-OU; Tue, 26 May 2009 17:41:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18972.25109.706941.902590@fencepost.gnu.org> Date: Tue, 26 May 2009 17:41:41 -0400 From: Glenn Morris To: control Subject: blah X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: YrjYs3#-zEVzuTrB3znM_M$]H;:1BoX`Hh1zuT$w5JJ^A!ad>Bd?eT%5`g:wuTZafFA'Xp X-Debbugs-No-Ack: yes noowner 3385 From rgm@gnu.org Wed May 27 17:49:35 2009 Received: (at 3385) by emacsbugs.donarmstrong.com; 28 May 2009 00:49:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-9.3 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4S0nVrN005941; Wed, 27 May 2009 17:49:32 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1M9ToH-0003TV-FG; Wed, 27 May 2009 20:49:29 -0400 From: Glenn Morris To: 3385@debbugs.gnu.org Subject: Re: bug#3385: Bug calling patched appt-display-message References: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> X-Spook: Bosnia embassy New World Order smuggle electronic X-Ran: :!~[-Xh9"YwOB9~8=U=x'K>Qwhxo; X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 27 May 2009 20:49:29 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii tags 3385 = stop Davin Pearson wrote: > I have narrowed down my code to the smallest possible file that > reproduces the bug: [long file] I have to take issue with "smallest possible", since: emacs -Q -f appt-activate with a diary file: ---- Wednesday 17:34 foo 21:00 bar ---- is enough. This is a problem introduced 3.5 years ago in rev 1.62 that I guess has to wait for Emacs 23.2 to be fixed: *** appt.el 5 Jan 2009 03:20:31 -0000 1.95 --- appt.el 28 May 2009 00:39:20 -0000 *************** *** 568,574 **** (match-end 0))) ;; Get the whole string for this appointment. (appt-time-string ! (substring time-string beg (if end (1- end)))) (appt-time (list (appt-convert-time only-time))) (time-msg (list appt-time appt-time-string))) ;; Add this appointment to appt-time-msg-list. --- 568,574 ---- (match-end 0))) ;; Get the whole string for this appointment. (appt-time-string ! (substring time-string beg end)) (appt-time (list (appt-convert-time only-time))) (time-msg (list appt-time appt-time-string))) ;; Add this appointment to appt-time-msg-list. From rgm@gnu.org Sun Jun 21 23:30:09 2009 Received: (at 3385-done) by emacsbugs.donarmstrong.com; 22 Jun 2009 06:30:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-8.3 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M6U5FT017971 for <3385-done@emacsbugs.donarmstrong.com>; Sun, 21 Jun 2009 23:30:06 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MId2Y-00033F-Fs; Mon, 22 Jun 2009 02:30:02 -0400 From: Glenn Morris To: 3385-done@debbugs.gnu.org Subject: Re: bug#3385: Bug calling patched appt-display-message References: <1ac52ab1-7717-4e70-b51c-764e60c4d7a8@o5g2000prh.googlegroups.com> X-Spook: cybercash lynch BATF NSA Chobetsu Mossad Rule Psix SAPO X-Ran: >LcgNr";X<4{%$TL)YOQ9i;o2a|JUFl8nV}mD.a@?C`>;BV}Lc\ X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 22 Jun 2009 02:30:01 -0400 In-Reply-To: (Glenn Morris's message of "Wed, 27 May 2009 20:49:29 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Fixed in trunk for 23.2. (appt-make-list): Fix off-by-one error caused by differing behavior of \n and ^ in strings. (Bug#3385) From unknown Fri Jun 20 07:23:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Jul 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator