From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 14:27:50 2013 Received: (at submit) by debbugs.gnu.org; 4 May 2013 18:27:50 +0000 Received: from localhost ([127.0.0.1]:58158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYhBV-0005oI-Tc for submit@debbugs.gnu.org; Sat, 04 May 2013 14:27:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51160) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYhBR-0005o5-QB for submit@debbugs.gnu.org; Sat, 04 May 2013 14:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYhAe-0005bp-26 for submit@debbugs.gnu.org; Sat, 04 May 2013 14:26:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYhAd-0005bl-Uq for submit@debbugs.gnu.org; Sat, 04 May 2013 14:26:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYhAb-0001Tp-Cy for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 14:26:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYhAZ-0005ag-4i for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 14:26:53 -0400 Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:44469 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYhAY-0005aY-UJ for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 14:26:51 -0400 Received: from nferrier (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTP id E59E7AC0512; Sat, 4 May 2013 20:37:09 +0200 (CEST) Received: from nferrier (localhost [127.0.0.1]) by nferrier (Postfix) with ESMTPS id 06EE11600B7; Sat, 4 May 2013 19:26:46 +0100 (BST) From: Nic Ferrier To: bug-gnu-emacs@gnu.org Subject: org-agenda does not handle diary appointments with days Date: Sat, 04 May 2013 19:26:45 +0100 Message-ID: <87bo8qppne.fsf@ferrier.me.uk> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Sample ~/diary file: 29/7/2000 wedding anniversary May 13, 2013 12:00 Meeting, Nic and Pat Tuesday, May 14, 2013 11:00 Meeting to be decided. Now do org-agenda-list, here is what we get: Month-agenda (W18-W23): Saturday 4 May 2013 Sunday 5 May 2013 Monday 6 May 2013 W19 Tuesday 7 May 2013 Diary: 11:00...... Meeting to be decided. Diary: May 14, 2013 Wednesday 8 May 2013 Thursday 9 May 2013 Friday 10 May 2013 Saturday 11 May 2013 Sunday 12 May 2013 Monday 13 May 2013 W20 Diary: 12:00...... Meeting | Nic and Pat, (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London. Tuesday 14 May 2013 Diary: 11:00...... Meeting to be decided. Diary: May 14, 2013 Wednesday 15 May 2013 Thursday 16 May 2013 Friday 17 May 2013 Saturday 18 May 2013 Sunday 19 May 2013 Monday 20 May 2013 W21 Tuesday 21 May 2013 Diary: 11:00...... Meeting to be decided. Diary: May 14, 2013 The meeting with the specified day name from the diary file is being inserted at every Tuesday. Unfortunately, the day-name is standard in the output from the function calendar-date-string which is used to automatically add entries to the diary file. The problem appears unrelated to org-agenda but is something to do with the way diary mode understands it's entries. You can get the same broken behaviour viewing the calendar and marking diary entries. Nic Ferrier From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 14:46:27 2013 Received: (at 14349) by debbugs.gnu.org; 4 May 2013 18:46:28 +0000 Received: from localhost ([127.0.0.1]:58170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYhTW-0006fM-II for submit@debbugs.gnu.org; Sat, 04 May 2013 14:46:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34880) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYhTT-0006fC-8z for 14349@debbugs.gnu.org; Sat, 04 May 2013 14:46:24 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UYhSf-0002l6-VD; Sat, 04 May 2013 14:45:34 -0400 From: Glenn Morris To: Nic Ferrier Subject: Re: bug#14349: org-agenda does not handle diary appointments with days References: <87bo8qppne.fsf@ferrier.me.uk> X-Spook: INSCOM radar BLU-114/B Freeh TWA Leitrim Verisign SWAT X-Ran: ,s"=oe$no|"QbAq9@inV{]X?wX8X#g[&M7:'~\]Pn37aMQE (Nic Ferrier's message of "Sat, 04 May 2013 19:26:45 +0100") 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-Spam-Score: -7.5 (-------) X-Debbugs-Envelope-To: 14349 Cc: 14349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -9.4 (---------) Nic Ferrier wrote: > Sample ~/diary file: > > 29/7/2000 wedding anniversary > May 13, 2013 > 12:00 Meeting, Nic and Pat > Tuesday, May 14, 2013 > 11:00 Meeting to be decided. This example doesn't make sense. The first entry is European format. The second entry doesn't match anything in diary-european-date-forms. The third just matches "Tuesday". So either you need to customize diary-date-forms, or use more standard diary entries. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 15:35:07 2013 Received: (at 14349) by debbugs.gnu.org; 4 May 2013 19:35:07 +0000 Received: from localhost ([127.0.0.1]:58189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYiEc-00005M-9O for submit@debbugs.gnu.org; Sat, 04 May 2013 15:35:06 -0400 Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:40449 helo=po1.ferrier.me.uk) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYiEZ-00005D-7q for 14349@debbugs.gnu.org; Sat, 04 May 2013 15:35:05 -0400 Received: from nferrier (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTP id 4737CAC0512; Sat, 4 May 2013 21:44:35 +0200 (CEST) Received: from nferrier (localhost [127.0.0.1]) by nferrier (Postfix) with ESMTPS id 366581600B7; Sat, 4 May 2013 20:34:13 +0100 (BST) From: Nic Ferrier To: Glenn Morris Subject: Re: bug#14349: org-agenda does not handle diary appointments with days References: <87bo8qppne.fsf@ferrier.me.uk> Date: Sat, 04 May 2013 20:34:12 +0100 In-Reply-To: (Glenn Morris's message of "Sat, 04 May 2013 14:45:33 -0400") Message-ID: <8738u2pmiz.fsf@ferrier.me.uk> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 14349 Cc: 14349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Glenn Morris writes: > Nic Ferrier wrote: > >> Sample ~/diary file: >> >> 29/7/2000 wedding anniversary >> May 13, 2013 >> 12:00 Meeting, Nic and Pat >> Tuesday, May 14, 2013 >> 11:00 Meeting to be decided. > > This example doesn't make sense. The first entry is European format. > The second entry doesn't match anything in diary-european-date-forms. > The third just matches "Tuesday". > > So either you need to customize diary-date-forms, or use more standard > diary entries. I disagree. Take that first entry out and it's the same problem. The problem is the addition of the day. But the day is added by default by `calendar-date-string'. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 16:37:12 2013 Received: (at 14349) by debbugs.gnu.org; 4 May 2013 20:37:12 +0000 Received: from localhost ([127.0.0.1]:58226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYjCh-0002MJ-GT for submit@debbugs.gnu.org; Sat, 04 May 2013 16:37:12 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36793) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYjCa-0002M8-Sl for 14349@debbugs.gnu.org; Sat, 04 May 2013 16:37:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UYjBo-00027z-Mj; Sat, 04 May 2013 16:36:16 -0400 From: Glenn Morris To: Nic Ferrier Subject: Re: bug#14349: org-agenda does not handle diary appointments with days References: <87bo8qppne.fsf@ferrier.me.uk> <8738u2pmiz.fsf@ferrier.me.uk> X-Spook: virus credit card mailbomb Reno Consul Fedayeen Merlin X-Ran: ]AWc3Ca"zu5PZ+tB$cs#8_,[WV./L9/r=m}961YH>}&4Fr'g=UGRg~OSG:_}y[WFx0j}Es X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 04 May 2013 16:36:16 -0400 In-Reply-To: <8738u2pmiz.fsf@ferrier.me.uk> (Nic Ferrier's message of "Sat, 04 May 2013 20:34:12 +0100") 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-Spam-Score: -7.5 (-------) X-Debbugs-Envelope-To: 14349 Cc: 14349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -9.4 (---------) Nic Ferrier wrote: > Take that first entry out and it's the same problem. Sure. The first line is simply the only thing that tells me you are using European date format. It isn't the default and you didn't say. > The problem is the addition of the day. But the day is added by default > by `calendar-date-string'. ? emacs -Q -f calendar i d -> May 4, 2013 (no day) Please give a complete recipe starting from emacs -Q. From debbugs-submit-bounces@debbugs.gnu.org Sat May 11 14:26:10 2013 Received: (at 14349) by debbugs.gnu.org; 11 May 2013 18:26:10 +0000 Received: from localhost ([127.0.0.1]:36801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbEUi-00055p-Lz for submit@debbugs.gnu.org; Sat, 11 May 2013 14:26:10 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56872) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbEUf-00055f-QF for 14349@debbugs.gnu.org; Sat, 11 May 2013 14:26:06 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UbEUO-0001de-Mq for 14349@debbugs.gnu.org; Sat, 11 May 2013 14:25:48 -0400 Resent-Message-ID: <20878.36140.628416.481800@gnu.org> Resent-Date: Sat, 11 May 2013 14:25:48 -0400 Resent-From: Glenn Morris Resent-To: 14349@debbugs.gnu.org Bcc: rgm@gnu.org X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 References: <87bo8qppne.fsf@ferrier.me.uk> <8738u2pmiz.fsf@ferrier.me.uk> In-Reply-To: (Glenn Morris's message of "Sat, 04 May 2013 16:36:16 -0400") Message-ID: <87obcqo214.fsf@ferrier.me.uk> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 Date: Sat, 04 May 2013 22:42:15 +0100 From: Nic Ferrier To: Glenn Morris Subject: Re: bug#14349: org-agenda does not handle diary appointments with days X-Bogosity: no, spamicity=0.060332, v1.2.1 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 14349 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -8.4 (--------) Glenn Morris writes: > Nic Ferrier wrote: > >> Take that first entry out and it's the same problem. > > Sure. The first line is simply the only thing that tells me you are > using European date format. It isn't the default and you didn't say. > >> The problem is the addition of the day. But the day is added by default >> by `calendar-date-string'. > > ? > > emacs -Q -f calendar > i d > -> May 4, 2013 > > (no day) > > Please give a complete recipe starting from emacs -Q. Thanks for taking the time here. I've always found the calendar and diary to be a bit "difficult". But I didn't say anything about the diary insert functions available from calendar. Specifically I called out: (calendar-date-string '(05 13 2013)) => "Monday, May 13, 2013" This is used by the Outlook integration I was referring to on the devel list: https://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00067.html The reason that function behaves like that is because the function is supposed to be separately customized with calendar-date-display-form. You're right, my emacs does have: calendar-date-style => 'european so calendar-date-string should be expected to insert in that style should it not? I've tested from -Q and it all looks good, but that makes sense. When you have: calendar-date-style => 'american and no customization of: calendar-date-display-form then inserting dates with calender-date-string is fine. But when you have: calendar-date-style => 'european and no customization of: calendar-date-display-form then inserting dates with calender-date-string is not fine, it's broken in the way I described. Which means we should either tie calendar-date-style and calendar-date-display-form together or nor use calendar-date-display-form to insert directly into the diary? Nic From debbugs-submit-bounces@debbugs.gnu.org Sat May 11 21:35:09 2013 Received: (at 14349-done) by debbugs.gnu.org; 12 May 2013 01:35:09 +0000 Received: from localhost ([127.0.0.1]:36981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbLBs-0000Dv-TS for submit@debbugs.gnu.org; Sat, 11 May 2013 21:35:09 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34137) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbLBq-0000De-Ae for 14349-done@debbugs.gnu.org; Sat, 11 May 2013 21:35:07 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UbLBW-0002gU-GC; Sat, 11 May 2013 21:34:46 -0400 From: Glenn Morris To: 14349-done@debbugs.gnu.org Subject: Re: bug#14349: org-agenda does not handle diary appointments with days References: <87bo8qppne.fsf@ferrier.me.uk> <8738u2pmiz.fsf@ferrier.me.uk> <87obcqo214.fsf@ferrier.me.uk> X-Spook: domestic disruption Honduras Iran Firefly Venezuela NASA X-Ran: ,/b"iL-8x:'OoLhhDs{CRie^CW9\yKbW-/BoBR[f+JEK/#,y&BZ (Nic Ferrier's message of "Sat, 04 May 2013 22:42:15 +0100") 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-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 14349-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -8.4 (--------) Version: 24.4 (Please keep the debbugs address cc'd.) Nic Ferrier wrote: > (calendar-date-string '(05 13 2013)) > => "Monday, May 13, 2013" > > This is used by the Outlook integration I was referring to on the devel Then I guess diary-outlook-format-1 needs to pass the NODAYNAME argument to calendar-date-string. From unknown Sat Sep 13 01:26:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 09 Jun 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator