Re: [Orgmode] Org-mode version 6.30 (release_6.30); Batch archiving needs to be more clever

2009-09-02 Thread Carsten Dominik

Hi Andrew,

Org does take care of this possibility.  All I get in my simple
test case is the following message:

   Acted on 1 entries, skipped 2 (disappeared before their turn)

That is not an error, it is just feedback.

Or are you really getting an error?

- Carsten

On Sep 1, 2009, at 9:06 PM, Andrew Hyatt wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know hoe to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Batch archiving mode appears to just try the most obvious thing: take
each tagged member and archive it.  However, it always runs into
problems, because it will archive a parent node, then try and archive
the children.  Not finding the children anymore, it errors out.

Probably an easy solution would be to just gracefully handle this  
error

by ignoring it and pretending the item was archived.  Alternatively,
updating the list after every operation could also work.

Ideal solution, IMHO: always archive parents first, then clear the
children from the list automatically.


Emacs  : GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, X toolkit)
Package: Org-mode version 6.30 (release_6.30)

current state:
==
(setq
org-log-done 'time
org-link-frame-setup '((gnus . gnus) (file . find-file-other-window))
org-clock-string-limit 50
org-agenda-custom-commands '((w todo #(WAITING 0 7 (face org- 
warning)) nil)
 (n tags-todo #(-live 0 5 (face org- 
warning))
  ((org-show-hierarchy-above nil) (org- 
agenda-todo-ignore-with-date t)
   (org-agenda-tags-todo-honor-ignore- 
options t))

  )
 (l Agenda and live tasks ((agenda  
) (tags-todo +live

org-agenda-files '(~/org/work.org)
org-agenda-include-diary t
org-blocker-hook '(org-block-todo-from-children-or-siblings-or- 
parent org-depend-block-todo)

org-completion-use-ido t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-agenda-todo-ignore-scheduled t
org-agenda-start-with-log-mode t
org-clock-out-switch-to-state '(lambda (prev-state) (if (member prev- 
state org-done-keywords) DONE STARTED))

org-deadline-warning-days 1
org-agenda-skip-scheduled-if-done t
org-trigger-hook '(org-depend-trigger-todo)
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w@/!)  
| DONE(d) OBSOLETE(o)))

org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
drawers org-cycle-show-empty-lines

 org-optimize-window-after-visibility-change)
org-agenda-dim-blocked-tasks 'invisible
org-agenda-tags-todo-honor-ignore-options t
org-mode-hook '(#[nil \300\301\302\303\304$\207
  [org-add-hook change-major-mode-hook org-show- 
block-all append local] 5]

)
org-agenda-ndays 1
org-refile-targets '((nil :maxlevel . 3))
org-emphasis-regexp-components '( 	('\{ - 	.,:!?;'\)}  	.\n, 
\' . 1)

org-confirm-elisp-link-function nil
org-agenda-mode-hook '((lambda nil (hl-line-mode 1)))
org-enforce-todo-dependencies t
org-agenda-skip-deadline-if-done t
org-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp \\Andrew Hyatt\\
org-drawers '(PROPERTIES CLOCK LOGBOOK NOTES)
)


___
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




___
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


Re: [Orgmode] Org-mode version 6.30 (release_6.30); Batch archiving needs to be more clever

2009-09-02 Thread Carsten Dominik


Hi Andrew,

On Sep 2, 2009, at 3:43 PM, Andrew Hyatt wrote:



Has the behavior changed in this release?  My report was on 6.30, but
actually I forgot to mention I have not reproduced it with 6.30, but
with previous versions (since the feature was introduced).


Tststs :-)  How should I fix bugs if you use the wrong version
to send the report :-)



 The issue
was an error deep in the code (a stringp error, if I remember
correctly).  When that happened, there were items in the org agenda
(generated by maching on TODO items of type DONE) that could not be
navigated to.  Hitting enter on those items gave an error because the
item was not actually there anymore.

I've confirmed your observation, that it does work right on 6.30 for  
at

least simple cases.  I'll keep an eye on this and see if it pops up on
the current release.


you are right, this was a bug very early on in the development of the
bulk action feature.  But I think already 6.29c had it fixed.

- Carsten



Carsten Dominik carsten.domi...@gmail.com writes:


Hi Andrew,

Org does take care of this possibility.  All I get in my simple
test case is the following message:

  Acted on 1 entries, skipped 2 (disappeared before their turn)

That is not an error, it is just feedback.

Or are you really getting an error?

- Carsten

On Sep 1, 2009, at 9:06 PM, Andrew Hyatt wrote:



Remember to cover the basics, that is, what you expected to happen  
and

what in fact did happen.  You don't know hoe to make a good report?
See

   http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Batch archiving mode appears to just try the most obvious thing:  
take

each tagged member and archive it.  However, it always runs into
problems, because it will archive a parent node, then try and  
archive

the children.  Not finding the children anymore, it errors out.

Probably an easy solution would be to just gracefully handle this
error
by ignoring it and pretending the item was archived.  Alternatively,
updating the list after every operation could also work.

Ideal solution, IMHO: always archive parents first, then clear the
children from the list automatically.


Emacs  : GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, X toolkit)
Package: Org-mode version 6.30 (release_6.30)

current state:
==
(setq
org-log-done 'time
org-link-frame-setup '((gnus . gnus) (file . find-file-other- 
window))

org-clock-string-limit 50
org-agenda-custom-commands '((w todo #(WAITING 0 7 (face org-
warning)) nil)
(n tags-todo #(-live 0 5 (face org-
warning))
 ((org-show-hierarchy-above nil) (org-
agenda-todo-ignore-with-date t)
  (org-agenda-tags-todo-honor-ignore-
options t))
 )
(l Agenda and live tasks ((agenda
) (tags-todo +live
org-agenda-files '(~/org/work.org)
org-agenda-include-diary t
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-
parent org-depend-block-todo)
org-completion-use-ido t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-agenda-todo-ignore-scheduled t
org-agenda-start-with-log-mode t
org-clock-out-switch-to-state '(lambda (prev-state) (if (member
prev-
state org-done-keywords) DONE STARTED))
org-deadline-warning-days 1
org-agenda-skip-scheduled-if-done t
org-trigger-hook '(org-depend-trigger-todo)
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w@/!)
| DONE(d) OBSOLETE(o)))
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-
drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-agenda-dim-blocked-tasks 'invisible
org-agenda-tags-todo-honor-ignore-options t
org-mode-hook '(#[nil \300\301\302\303\304$\207
 [org-add-hook change-major-mode-hook org-show-
block-all append local] 5]
   )
org-agenda-ndays 1
org-refile-targets '((nil :maxlevel . 3))
org-emphasis-regexp-components '( ('\{ -.,:!?;'\)} 
.\n,
\' . 1)
org-confirm-elisp-link-function nil
org-agenda-mode-hook '((lambda nil (hl-line-mode 1)))
org-enforce-todo-dependencies t
org-agenda-skip-deadline-if-done t
org-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp \\Andrew Hyatt\\
org-drawers '(PROPERTIES CLOCK LOGBOOK NOTES)
)


___
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




___
Emacs-orgmode mailing list

Re: [Orgmode] Org-mode version 6.30 (release_6.30); Batch archiving needs to be more clever

2009-09-02 Thread Andrew Hyatt

Has the behavior changed in this release?  My report was on 6.30, but
actually I forgot to mention I have not reproduced it with 6.30, but
with previous versions (since the feature was introduced).  The issue
was an error deep in the code (a stringp error, if I remember
correctly).  When that happened, there were items in the org agenda
(generated by maching on TODO items of type DONE) that could not be
navigated to.  Hitting enter on those items gave an error because the
item was not actually there anymore.

I've confirmed your observation, that it does work right on 6.30 for at
least simple cases.  I'll keep an eye on this and see if it pops up on
the current release.

Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Andrew,

 Org does take care of this possibility.  All I get in my simple
 test case is the following message:

Acted on 1 entries, skipped 2 (disappeared before their turn)

 That is not an error, it is just feedback.

 Or are you really getting an error?

 - Carsten

 On Sep 1, 2009, at 9:06 PM, Andrew Hyatt wrote:


 Remember to cover the basics, that is, what you expected to happen and
 what in fact did happen.  You don't know hoe to make a good report?
 See

 http://orgmode.org/manual/Feedback.html#Feedback

 Your bug report will be posted to the Org-mode mailing list.
 

 Batch archiving mode appears to just try the most obvious thing: take
 each tagged member and archive it.  However, it always runs into
 problems, because it will archive a parent node, then try and archive
 the children.  Not finding the children anymore, it errors out.

 Probably an easy solution would be to just gracefully handle this
 error
 by ignoring it and pretending the item was archived.  Alternatively,
 updating the list after every operation could also work.

 Ideal solution, IMHO: always archive parents first, then clear the
 children from the list automatically.


 Emacs  : GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, X toolkit)
 Package: Org-mode version 6.30 (release_6.30)

 current state:
 ==
 (setq
 org-log-done 'time
 org-link-frame-setup '((gnus . gnus) (file . find-file-other-window))
 org-clock-string-limit 50
 org-agenda-custom-commands '((w todo #(WAITING 0 7 (face org-
 warning)) nil)
  (n tags-todo #(-live 0 5 (face org-
 warning))
   ((org-show-hierarchy-above nil) (org-
 agenda-todo-ignore-with-date t)
(org-agenda-tags-todo-honor-ignore-
 options t))
   )
  (l Agenda and live tasks ((agenda
 ) (tags-todo +live
 org-agenda-files '(~/org/work.org)
 org-agenda-include-diary t
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-
 parent org-depend-block-todo)
 org-completion-use-ido t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-todo-ignore-scheduled t
 org-agenda-start-with-log-mode t
 org-clock-out-switch-to-state '(lambda (prev-state) (if (member
 prev-
 state org-done-keywords) DONE STARTED))
 org-deadline-warning-days 1
 org-agenda-skip-scheduled-if-done t
 org-trigger-hook '(org-depend-trigger-todo)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w@/!)
 | DONE(d) OBSOLETE(o)))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-
 drawers org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-agenda-dim-blocked-tasks 'invisible
 org-agenda-tags-todo-honor-ignore-options t
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-
 block-all append local] 5]
 )
 org-agenda-ndays 1
 org-refile-targets '((nil :maxlevel . 3))
 org-emphasis-regexp-components '(   ('\{ -   .,:!?;'\)} 
 .\n,
 \' . 1)
 org-confirm-elisp-link-function nil
 org-agenda-mode-hook '((lambda nil (hl-line-mode 1)))
 org-enforce-todo-dependencies t
 org-agenda-skip-deadline-if-done t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp \\Andrew Hyatt\\
 org-drawers '(PROPERTIES CLOCK LOGBOOK NOTES)
 )


 ___
 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


___
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