emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* strange behaviour in org-agenda-diary-entry
@ 2014-05-08 10:01 Eric S Fraga
  2014-05-22 16:39 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2014-05-08 10:01 UTC (permalink / raw)
  To: emacs-orgmode

Dear all,

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.

There have been no obvious changes in org-agenda that would lead to
this, at least nothing in the past month.

This happens with up to date org, with emacs -Q and only
org-agenda-files and org-agenda-diary-file set.

I don't have time right now to investigate this further but I thought I
would post this in case anybody has any insight.  I'll come back to this
later as I rely on this functionality a lot!

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-949-g751506

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange behaviour in org-agenda-diary-entry
  2014-05-08 10:01 strange behaviour in org-agenda-diary-entry Eric S Fraga
@ 2014-05-22 16:39 ` Bastien
  2014-05-22 18:21   ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-05-22 16:39 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> 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?

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange behaviour in org-agenda-diary-entry
  2014-05-22 16:39 ` Bastien
@ 2014-05-22 18:21   ` Eric S Fraga
  2014-05-23  5:32     ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2014-05-22 18:21 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

On Thursday, 22 May 2014 at 18:39, Bastien wrote:
> Hi Eric,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange behaviour in org-agenda-diary-entry
  2014-05-22 18:21   ` Eric S Fraga
@ 2014-05-23  5:32     ` Bastien
  2014-05-23  7:37       ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-05-23  5:32 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> I am indeed very puzzled.  I can only think that it must be a bug with
> emacs itself?

Nope, the bugs reminds me another one that has been fixed.

> Any hints on how to debug this would be most welcome as
> it is somewhat annoying.  But not critical, on the other hand.

I'd call it critical!  It corrupts the headline hierarchy behind your
back.  Your Org version is 966 commits ahead of 8.2.6, while we are
now >1000 commits ahead in the master branch -- can you just pull the
master branch, make and reload your config to check it still happens?

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange behaviour in org-agenda-diary-entry
  2014-05-23  5:32     ` Bastien
@ 2014-05-23  7:37       ` Eric S Fraga
  2014-05-23 12:31         ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2014-05-23  7:37 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

On Friday, 23 May 2014 at 07:32, Bastien wrote:
> Hi Eric,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I am indeed very puzzled.  I can only think that it must be a bug with
>> emacs itself?
>
> Nope, the bugs reminds me another one that has been fixed.
>
>> Any hints on how to debug this would be most welcome as
>> it is somewhat annoying.  But not critical, on the other hand.
>
> I'd call it critical!  It corrupts the headline hierarchy behind your
> back.  Your Org version is 966 commits ahead of 8.2.6, while we are
> now >1000 commits ahead in the master branch -- can you just pull the
> master branch, make and reload your config to check it still happens?

Hi Bastien,

No, the problem is no longer there!  Sorry I didn't update org before
checking this out yesterday.  I don't tend to update while working on a
paper or talk that has a deadline, just in case...  Anyway, this problem
seems to be fixed.  Many thanks!

eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-1021-g2ce78e

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange behaviour in org-agenda-diary-entry
  2014-05-23  7:37       ` Eric S Fraga
@ 2014-05-23 12:31         ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2014-05-23 12:31 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> No, the problem is no longer there!  Sorry I didn't update org before
> checking this out yesterday.  I don't tend to update while working on a
> paper or talk that has a deadline, just in case...  Anyway, this problem
> seems to be fixed.  Many thanks!

Thanks for double-checking!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-23 13:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 10:01 strange behaviour in org-agenda-diary-entry Eric S Fraga
2014-05-22 16:39 ` Bastien
2014-05-22 18:21   ` Eric S Fraga
2014-05-23  5:32     ` Bastien
2014-05-23  7:37       ` Eric S Fraga
2014-05-23 12:31         ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).