emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda dispatcher changes files
@ 2009-01-31 13:11 Dan Griswold
  2009-01-31 16:32 ` Carsten Dominik
  2009-02-01 11:33 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Griswold @ 2009-01-31 13:11 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I don't know where to begin diagnosing this, so please forgive me for
not having more information.

As of 6.20c at least (perhaps further back), whenever I call up an
agenda (daily, global todo, and certain todo keyword searches), some
of the agenda files are marked as having been changed. They don't
appear _really_ to have been changed (according to diff), but the
double asterisks in the mode line show that Emacs believes the files
have changed.

This has been a little annoying when I wish to close Emacs. (I know, I
know: why would I ever want to close Emacs?!)

Some variable settings that may be relevant:

     org-agenda-include-diary t
     org-agenda-show-all-dates  nil
     org-agenda-skip-scheduled-if-done t
     org-agenda-start-on-weekday nil
     org-agenda-todo-ignore-scheduled t
     org-agenda-custom-commands
      '(
	("c" tags-todo "+@COMPUTER")
	("f" tags-todo "+@PHONE")
	("o" tags-todo "+@OFFICE")
	("p" todo "PROJECT")
	("j" tags "+Jana")
	("t" todo "TODO")
	("w" todo "WAITING"))
     org-agenda-sorting-strategy
        (quote
         ((agenda time-up tag-up priority-down)
          (todo category-keep priority-down)
          (tags category-keep priority-down)
          (search category-keep)))


So: A bug or a feature? Is there more information I can provide?

Thanks,

Dan

-- 
--------------
Dan Griswold
Rochester, NY
--------------

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

* Re: Agenda dispatcher changes files
  2009-01-31 13:11 Agenda dispatcher changes files Dan Griswold
@ 2009-01-31 16:32 ` Carsten Dominik
  2009-01-31 18:09   ` Dan Griswold
  2009-02-01 11:33 ` Carsten Dominik
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-01-31 16:32 UTC (permalink / raw)
  To: Dan Griswold; +Cc: emacs-orgmode

Hi Dan,

something like this can happen when text properties change in the file.
Many such cases are dealt with correctly, but apparently you have found
a case where this is not done correctly.

If you want to help, the way to do it is to construct a minimal
example, a testfile with minimal Org customization that can reliably
reproduce this problem.  I am sure  that I can then easily find the
bug and resolve it.

- Carsten

On Jan 31, 2009, at 2:11 PM, Dan Griswold wrote:

> Hello all,
>
> I don't know where to begin diagnosing this, so please forgive me for
> not having more information.
>
> As of 6.20c at least (perhaps further back), whenever I call up an
> agenda (daily, global todo, and certain todo keyword searches), some
> of the agenda files are marked as having been changed. They don't
> appear _really_ to have been changed (according to diff), but the
> double asterisks in the mode line show that Emacs believes the files
> have changed.
>
> This has been a little annoying when I wish to close Emacs. (I know, I
> know: why would I ever want to close Emacs?!)
>
> Some variable settings that may be relevant:
>
>     org-agenda-include-diary t
>     org-agenda-show-all-dates  nil
>     org-agenda-skip-scheduled-if-done t
>     org-agenda-start-on-weekday nil
>     org-agenda-todo-ignore-scheduled t
>     org-agenda-custom-commands
>      '(
> 	("c" tags-todo "+@COMPUTER")
> 	("f" tags-todo "+@PHONE")
> 	("o" tags-todo "+@OFFICE")
> 	("p" todo "PROJECT")
> 	("j" tags "+Jana")
> 	("t" todo "TODO")
> 	("w" todo "WAITING"))
>     org-agenda-sorting-strategy
>        (quote
>         ((agenda time-up tag-up priority-down)
>          (todo category-keep priority-down)
>          (tags category-keep priority-down)
>          (search category-keep)))
>
>
> So: A bug or a feature? Is there more information I can provide?
>
> Thanks,
>
> Dan
>
> -- 
> --------------
> Dan Griswold
> Rochester, NY
> --------------
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Agenda dispatcher changes files
  2009-01-31 16:32 ` Carsten Dominik
@ 2009-01-31 18:09   ` Dan Griswold
  2009-01-31 21:37     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Griswold @ 2009-01-31 18:09 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> Hi Dan,
>
> If you want to help, the way to do it is to construct a minimal
> example, a testfile with minimal Org customization that can reliably
> reproduce this problem.  I am sure  that I can then easily find the
> bug and resolve it.
>
> - Carsten

Thank you, Carsten. Taking your suggestion, I may have narrowed down
the problem.

I started out using a minimal org file with these contents:

* Big item
** MAYBE Subitem
** TODO Another subitem
* Another one
** INPROCESS do something
   SCHEDULED: <2008-01-30 Wed +1w>
** TODO do something else
   SCHEDULED: <2009-01-31 Sat>

Executing C-c a a would NOT mark the file as changed.

However, once I added this:

#+TAGS: @COMPUTER(c) @PHONE(f)

and gave the tag "@COMPUTER:" to the "do something" line, then C-c a a
would mark the file as changed.

Please let me know if you need more testing, or values for other
variables.

Cheers,

Dan

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

* Re: Agenda dispatcher changes files
  2009-01-31 18:09   ` Dan Griswold
@ 2009-01-31 21:37     ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2009-01-31 21:37 UTC (permalink / raw)
  To: Dan Griswold; +Cc: emacs-orgmode

Hi Dan,

I can not yet reproduce this, so I need your full customization - or
even better a minimal customization, where you have started Emacs with

emacs -q -l minimal.emacs

Thanks for your help!

- Carsten

On Jan 31, 2009, at 7:09 PM, Dan Griswold wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Hi Dan,
>>
>> If you want to help, the way to do it is to construct a minimal
>> example, a testfile with minimal Org customization that can reliably
>> reproduce this problem.  I am sure  that I can then easily find the
>> bug and resolve it.
>>
>> - Carsten
>
> Thank you, Carsten. Taking your suggestion, I may have narrowed down
> the problem.
>
> I started out using a minimal org file with these contents:
>
> * Big item
> ** MAYBE Subitem
> ** TODO Another subitem
> * Another one
> ** INPROCESS do something
>   SCHEDULED: <2008-01-30 Wed +1w>
> ** TODO do something else
>   SCHEDULED: <2009-01-31 Sat>
>
> Executing C-c a a would NOT mark the file as changed.
>
> However, once I added this:
>
> #+TAGS: @COMPUTER(c) @PHONE(f)
>
> and gave the tag "@COMPUTER:" to the "do something" line, then C-c a a
> would mark the file as changed.
>
> Please let me know if you need more testing, or values for other
> variables.
>
> Cheers,
>
> Dan

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

* Re: Agenda dispatcher changes files
  2009-01-31 13:11 Agenda dispatcher changes files Dan Griswold
  2009-01-31 16:32 ` Carsten Dominik
@ 2009-02-01 11:33 ` Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2009-02-01 11:33 UTC (permalink / raw)
  To: Dan Griswold; +Cc: emacs-orgmode

After some off-list exchange, this bug is fixed.

- Carsten

On Jan 31, 2009, at 2:11 PM, Dan Griswold wrote:

> Hello all,
>
> I don't know where to begin diagnosing this, so please forgive me for
> not having more information.
>
> As of 6.20c at least (perhaps further back), whenever I call up an
> agenda (daily, global todo, and certain todo keyword searches), some
> of the agenda files are marked as having been changed. They don't
> appear _really_ to have been changed (according to diff), but the
> double asterisks in the mode line show that Emacs believes the files
> have changed.
>
> This has been a little annoying when I wish to close Emacs. (I know, I
> know: why would I ever want to close Emacs?!)
>
> Some variable settings that may be relevant:
>
>     org-agenda-include-diary t
>     org-agenda-show-all-dates  nil
>     org-agenda-skip-scheduled-if-done t
>     org-agenda-start-on-weekday nil
>     org-agenda-todo-ignore-scheduled t
>     org-agenda-custom-commands
>      '(
> 	("c" tags-todo "+@COMPUTER")
> 	("f" tags-todo "+@PHONE")
> 	("o" tags-todo "+@OFFICE")
> 	("p" todo "PROJECT")
> 	("j" tags "+Jana")
> 	("t" todo "TODO")
> 	("w" todo "WAITING"))
>     org-agenda-sorting-strategy
>        (quote
>         ((agenda time-up tag-up priority-down)
>          (todo category-keep priority-down)
>          (tags category-keep priority-down)
>          (search category-keep)))
>
>
> So: A bug or a feature? Is there more information I can provide?
>
> Thanks,
>
> Dan
>
> -- 
> --------------
> Dan Griswold
> Rochester, NY
> --------------
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-02-01 11:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-31 13:11 Agenda dispatcher changes files Dan Griswold
2009-01-31 16:32 ` Carsten Dominik
2009-01-31 18:09   ` Dan Griswold
2009-01-31 21:37     ` Carsten Dominik
2009-02-01 11:33 ` Carsten Dominik

Code repositories for project(s) associated with this 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).