From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: strange behaviour in org-agenda-diary-entry Date: Thu, 22 May 2014 19:21:30 +0100 Message-ID: <87d2f58yj9.fsf@ucl.ac.uk> References: <8738gkfv1u.fsf@pinto.chemeng.ucl.ac.uk> <87egzlkbt9.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnXca-0005yo-He for emacs-orgmode@gnu.org; Thu, 22 May 2014 14:21:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnXcU-0004d6-Mg for emacs-orgmode@gnu.org; Thu, 22 May 2014 14:21:40 -0400 In-Reply-To: <87egzlkbt9.fsf@bzg.ath.cx> (Bastien's message of "Thu, 22 May 2014 18:39:14 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org On Thursday, 22 May 2014 at 18:39, Bastien wrote: > Hi Eric, > > Eric S Fraga writes: > >> Just a quick heads up to say that I have some strange behaviour that >> appeared within the past week or so: I manage my diary by viewing it in >> org-agenda and adding entries from that view with "i d" >> (org-agenda-diary-entry). I have org-agenda-diary-file defined and my >> diary entries are in a date-tree format. Therefore, new entries should >> be inserted as fourth level headings (year -> month -> day -> entry) and >> this is how things have been until recently. >> >> Something has changed so that my entries are now inserted at the second >> level. > > I double-checked and cannot reproduce this, either with maint or with > master. Do you still observe the problem or was it just a temporary > hiccup? Hi Bastien, Unfortunately, it continues to happen. There doesn't seem to be anything in my configuration that would cause this. I have started with emacs -q (and also emacs -Q just in case) and then eval'ed the following statements: --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path "~/git/org-mode/lisp") (require 'org) (setq org-agenda-diary-file "~/s/notes/diary.org") --8<---------------cut here---------------end--------------->8--- Then the following sequence M-x org-agenda RET a i d 3pm testing RET gives me the following contents in diary.org, having started with an empty file: ,----[ diary.org ] | | * 2014 | ** 2014-05 May | *** 2014-05-22 Thursday | | ** 3pm testing | <2014-05-22 Thu> `---- The versions of emacs-snapshot and git org are in my signature. I am indeed very puzzled. I can only think that it must be a bug with emacs itself? Any hints on how to debug this would be most welcome as it is somewhat annoying. But not critical, on the other hand. I just have to remember to immediately add to * to the headline in the diary file. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-966-g6cdf1b