emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Old entry remains in appt when the original one in org file is changed
@ 2012-01-13 16:01 Takafumi Arakaki
  2012-01-16  2:44 ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Takafumi Arakaki @ 2012-01-13 16:01 UTC (permalink / raw)
  To: emacs-orgmode

I am using org-agenda-to-appt and I noticed a bug.


1. Add the following in the agenda file

* TODO test
  SCHEDULED: <2012-01-14 Sat 12:00>

2. Call org-agenda-to-appt

3. Change the SCHEDULED time-stamp in the entry like this

* TODO test
  SCHEDULED: <2012-01-14 Sat 12:00>

4. appt-time-msg-list has the old entry

 ((1380)
  #("12:00 TODO test" 6 15
    (org-heading t))
  t)
 ((1390)
  #("12:10 TODO test" 6 15
    (org-heading t))
  t)


I guess a workaround will be removing any entries which has
org-heading as property from appt-time-msg-list before adding the new
entries.

I think this guy had the same problem:
http://article.gmane.org/gmane.emacs.orgmode/8008/

--
Takafumi

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

end of thread, other threads:[~2012-01-18 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 16:01 Old entry remains in appt when the original one in org file is changed Takafumi Arakaki
2012-01-16  2:44 ` Bernt Hansen
2012-01-17  7:02   ` Takafumi Arakaki
2012-01-17 15:01     ` Bernt Hansen
2012-01-18 18:01       ` Takafumi Arakaki

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).