* Navigation problem - 5.08
@ 2007-09-06 16:55 Bernt Hansen
2007-09-06 18:15 ` Bernt Hansen
2007-09-07 8:04 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Bernt Hansen @ 2007-09-06 16:55 UTC (permalink / raw)
To: emacs-orgmode
Hi Carsten,
I've been running into what I think is a bug over the last few days. I
normally live in the agenda for today with my todo tasks displayed and
ordered by priority.
I've noticed that sometimes (rarely) using SPACE or TAB on an entry
jumps to my single org file but in the wrong place. I've been bitten by
this at least twice when using T to change the TODO status of an entry.
It prompts for the log message and changes the item to DONE (as
requested... ) but it changes the wrong item.
My org file looks something like this
,----[ todo.org ]
| MY PROJECTS -*- mode: org; fill-column: 78 -*-
|
| #+STARTUP: overview
| #+STARTUP: lognotestate
| #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) DEFERRED(p) CANCELLED(c)
| #+TAGS: { SCHOOL(s) WORK(w) } CALL(c) ERRAND(e)
| * Tasks
| * Timelog
|
| * Client1 - Timelog
| * Client1 - Project1
| ** TODO [#B] Some Task...
|
| * Client2 - Timelog
| * Client2 - Project1...
| * Client2 - Project2...
|
| . . .
`----
Each level 1 category has a #+CATEGORY and #+ARCHIVE line following it
followed by level 2 tasks for each project.
After using TAB (to the wrong place) if I return to the agenda buffer
and do it again it works right. Sometimes I think I'm going crazy :)
except when the task TODO state change and accompanying note end up on
the wrong task.
The last time this happened (a few minutes ago) the cursor was on
Client1: Scheduled: TODO [#B] Some Task
in the agenda. I hit T to change the item to DONE and entered my note.
As soon as that was complete the agenda line looked like this:
Client1: Scheduled: DONE Timelog
I hit TAB and got to the
* Timelog
entry instead (2nd level 1 task instead of the level 2 task)
so I ended up with
* DONE Timelog
[date and comment stuff went here from closing the task]
I have the following org-mode variables set in my .emacs:
,----[ org related .emacs stuff ]
| (add-hook 'org-mode-hook '(lambda () (flyspell-mode 1)))
|
| ;;;
| ;;; Org Mode
| ;;;
| (add-to-list 'load-path (expand-file-name "~/org-mode"))
| (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
| (require 'org-install)
|
| (global-font-lock-mode 1) ; for all buffers
| (setq org-log-done t
| org-agenda-include-diary nil
| org-cycle-include-plain-lists nil
| org-agenda-todo-list-sublevels t
| org-agenda-todo-ignore-deadlines t
| org-agenda-todo-ignore-scheduled t
| org-agenda-start-with-follow-mode nil
| org-use-tag-inheritance t
| org-tags-match-list-sublevels t
| org-show-hierarchy-above t
| org-show-following-heading nil
| org-show-siblings nil
| org-export-with-sub-superscripts nil
| org-clock-out-when-done nil
| org-use-fast-todo-selection t)
|
| (setq org-agenda-sorting-strategy '((agenda time-up priority-down)
| (todo category-keep priority-down)
| (tags category-keep priority-down)))
|
| (define-key global-map "\C-cl" 'org-store-link)
| (define-key global-map "\C-ca" 'org-agenda)
|
| (add-hook 'remember-mode-hook 'org-remember-apply-template)
| ;
| (custom-set-variables
| '(org-default-notes-file "~/org/notes.org")
| '(org-agenda-ndays 7)
| '(org-deadline-warning-days 14)
| '(org-agenda-show-all-dates t)
| '(org-agenda-skip-deadline-if-done t)
| '(org-agenda-skip-scheduled-if-done t)
| '(org-agenda-start-on-weekday nil)
| '(org-reverse-note-order t)
| '(org-fast-tag-selection-single-key (quote expert))
| '(org-agenda-custom-commands
| (quote (("d" todo "DELEGATED" nil)
| ("c" todo "DONE|DEFERRED|CANCELLED" nil)
| ("w" todo "WAITING" nil)
| ("W" agenda "" ((org-agenda-ndays 21)))
| ("A" agenda ""
| ((org-agenda-skip-function
| (lambda nil
| (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")))
| (org-agenda-ndays 1)
| (org-agenda-overriding-header "Today's Priority #A tasks: ")))
| ("u" alltodo ""
| ((org-agenda-skip-function
| (lambda nil
| (org-agenda-skip-entry-if (quote scheduled) (quote deadline)
| (quote regexp) "<[^>\n]+>")))
| (org-agenda-overriding-header "Unscheduled TODO entries: "))))))
| '(org-remember-store-without-prompt t)
| '(org-remember-templates
| (quote ((116 "* TODO %?\n %u" "~/org/todo.org" "Tasks")
| (110 "* %u %?" "~/org/notes.org" "Notes"))))
| '(remember-annotation-functions (quote (org-remember-annotation)))
| '(remember-handler-functions (quote (org-remember-handler))))
|
| (setq org-todo-keyword-faces
| '(("TODO" . (:foreground "red" :weight bold))
| ("STARTED" . (:foreground "red" :weight bold))
| ("WAITING" . (:foreground "orange" :weight bold))
| ("APPT" . (:foreground "blue" :weight bold :underline t))
| ("DONE" . (:foreground "forest green" :weight bold))
| ("DEFERRED" . (:foreground "forest green" :weight bold))
| ("CANCELLED" . (:foreground "forest green" :weight bold))))
`----
I'd love to help track this down but I have no idea where to start
looking. Any ideas?
Bernt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Navigation problem - 5.08
2007-09-06 16:55 Navigation problem - 5.08 Bernt Hansen
@ 2007-09-06 18:15 ` Bernt Hansen
2007-09-07 8:04 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2007-09-06 18:15 UTC (permalink / raw)
To: emacs-orgmode
Bernt Hansen <bernt@alumni.uwaterloo.ca> writes:
> Hi Carsten,
>
> I've been running into what I think is a bug over the last few days. I
> normally live in the agenda for today with my todo tasks displayed and
> ordered by priority.
>
> I've noticed that sometimes (rarely) using SPACE or TAB on an entry
> jumps to my single org file but in the wrong place. I've been bitten by
> this at least twice when using T to change the TODO status of an entry.
> It prompts for the log message and changes the item to DONE (as
> requested... ) but it changes the wrong item.
>
> My org file looks something like this
>
> ,----[ todo.org ]
> | MY PROJECTS -*- mode: org; fill-column: 78 -*-
> |
> | #+STARTUP: overview
> | #+STARTUP: lognotestate
> | #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) DEFERRED(p) CANCELLED(c)
> | #+TAGS: { SCHOOL(s) WORK(w) } CALL(c) ERRAND(e)
> | * Tasks
> | * Timelog
> |
> | * Client1 - Timelog
> | * Client1 - Project1
> | ** TODO [#B] Some Task...
> |
> | * Client2 - Timelog
> | * Client2 - Project1...
> | * Client2 - Project2...
> |
> | . . .
> `----
>
> Each level 1 category has a #+CATEGORY and #+ARCHIVE line following it
> followed by level 2 tasks for each project.
>
> After using TAB (to the wrong place) if I return to the agenda buffer
> and do it again it works right. Sometimes I think I'm going crazy :)
> except when the task TODO state change and accompanying note end up on
> the wrong task.
>
> The last time this happened (a few minutes ago) the cursor was on
>
> Client1: Scheduled: TODO [#B] Some Task
>
> in the agenda. I hit T to change the item to DONE and entered my note.
> As soon as that was complete the agenda line looked like this:
>
> Client1: Scheduled: DONE Timelog
>
> I hit TAB and got to the
>
> * Timelog
>
> entry instead (2nd level 1 task instead of the level 2 task)
>
> so I ended up with
>
> * DONE Timelog
> [date and comment stuff went here from closing the task]
>
> I have the following org-mode variables set in my .emacs:
>
> ,----[ org related .emacs stuff ]
> | (add-hook 'org-mode-hook '(lambda () (flyspell-mode 1)))
> |
> | ;;;
> | ;;; Org Mode
> | ;;;
> | (add-to-list 'load-path (expand-file-name "~/org-mode"))
> | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> | (require 'org-install)
> |
> | (global-font-lock-mode 1) ; for all buffers
> | (setq org-log-done t
> | org-agenda-include-diary nil
> | org-cycle-include-plain-lists nil
> | org-agenda-todo-list-sublevels t
> | org-agenda-todo-ignore-deadlines t
> | org-agenda-todo-ignore-scheduled t
> | org-agenda-start-with-follow-mode nil
> | org-use-tag-inheritance t
> | org-tags-match-list-sublevels t
> | org-show-hierarchy-above t
> | org-show-following-heading nil
> | org-show-siblings nil
> | org-export-with-sub-superscripts nil
> | org-clock-out-when-done nil
> | org-use-fast-todo-selection t)
> |
> | (setq org-agenda-sorting-strategy '((agenda time-up priority-down)
> | (todo category-keep priority-down)
> | (tags category-keep priority-down)))
> |
> | (define-key global-map "\C-cl" 'org-store-link)
> | (define-key global-map "\C-ca" 'org-agenda)
> |
> | (add-hook 'remember-mode-hook 'org-remember-apply-template)
> | ;
> | (custom-set-variables
> | '(org-default-notes-file "~/org/notes.org")
> | '(org-agenda-ndays 7)
> | '(org-deadline-warning-days 14)
> | '(org-agenda-show-all-dates t)
> | '(org-agenda-skip-deadline-if-done t)
> | '(org-agenda-skip-scheduled-if-done t)
> | '(org-agenda-start-on-weekday nil)
> | '(org-reverse-note-order t)
> | '(org-fast-tag-selection-single-key (quote expert))
> | '(org-agenda-custom-commands
> | (quote (("d" todo "DELEGATED" nil)
> | ("c" todo "DONE|DEFERRED|CANCELLED" nil)
> | ("w" todo "WAITING" nil)
> | ("W" agenda "" ((org-agenda-ndays 21)))
> | ("A" agenda ""
> | ((org-agenda-skip-function
> | (lambda nil
> | (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")))
> | (org-agenda-ndays 1)
> | (org-agenda-overriding-header "Today's Priority #A tasks: ")))
> | ("u" alltodo ""
> | ((org-agenda-skip-function
> | (lambda nil
> | (org-agenda-skip-entry-if (quote scheduled) (quote deadline)
> | (quote regexp) "<[^>\n]+>")))
> | (org-agenda-overriding-header "Unscheduled TODO entries: "))))))
> | '(org-remember-store-without-prompt t)
> | '(org-remember-templates
> | (quote ((116 "* TODO %?\n %u" "~/org/todo.org" "Tasks")
> | (110 "* %u %?" "~/org/notes.org" "Notes"))))
> | '(remember-annotation-functions (quote (org-remember-annotation)))
> | '(remember-handler-functions (quote (org-remember-handler))))
> |
> | (setq org-todo-keyword-faces
> | '(("TODO" . (:foreground "red" :weight bold))
> | ("STARTED" . (:foreground "red" :weight bold))
> | ("WAITING" . (:foreground "orange" :weight bold))
> | ("APPT" . (:foreground "blue" :weight bold :underline t))
> | ("DONE" . (:foreground "forest green" :weight bold))
> | ("DEFERRED" . (:foreground "forest green" :weight bold))
> | ("CANCELLED" . (:foreground "forest green" :weight bold))))
> `----
>
> I'd love to help track this down but I have no idea where to start
> looking. Any ideas?
>
> Bernt
I can duplicate this problem.
Here's a sample org file:
,----
| MY PROJECTS -*- mode: org; fill-column: 78 -*-
|
| #+STARTUP: overview
| #+STARTUP: lognotestate
| #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) DEFERRED(p) CANCELLED(c)
| #+TAGS: { SCHOOL(s) WORK(w) } CALL(c) ERRAND(e)
| * one
| ** TODO one-one
| SCHEDULED: <2007-09-06 Thu>
| ** TODO one-two
| SCHEDULED: <2007-09-06 Thu>
| ** TODO one-three
| SCHEDULED: <2007-09-06 Thu>
| * two
| ** TODO two-one
| SCHEDULED: <2007-09-06 Thu>
| ** TODO two-two
| SCHEDULED: <2007-09-06 Thu>
| * WAITING three
| - State "WAITING" [2007-09-06 Thu 14:11] \\
| five six
| - State "STARTED" [2007-09-06 Thu 14:11] \\
| three-four
| - State "STARTED" [2007-09-06 Thu 14:11] \\
| one two
`----
All of the items are scheduled for today so they end up on the agenda.
Go to the agenda and change the TODO state of one task, enter note, and
C-C C-c
Then repeat on another task. In each case it keeps adding stuff to the
first task for me
I added the STARTED and WAITING TODO states to 3 different tasks but
they were all logged on the same task.
The workaround for me is to ALWAYS use TAB in the agenda after changing
task state to fix the current position of the pointer in the org file.
Bernt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Navigation problem - 5.08
2007-09-06 16:55 Navigation problem - 5.08 Bernt Hansen
2007-09-06 18:15 ` Bernt Hansen
@ 2007-09-07 8:04 ` Carsten Dominik
2007-09-07 15:08 ` Bernt Hansen
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2007-09-07 8:04 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode
You are the second person to report this problem.
Unfortunately so far I cannot reproduce this problem.
Thanks for providing a detailed test setup. Can you try again,
start your emacs with `-q -l minimal.emacs' and then explain,
key-by-key what you do to get the error?
Thanks for helping to track this nasty bug down.
- Carsten
P.S. I guess turning off flyspell-mode does not help?
On Sep 6, 2007, at 18:55, Bernt Hansen wrote:
> Hi Carsten,
>
> I've been running into what I think is a bug over the last few days. I
> normally live in the agenda for today with my todo tasks displayed and
> ordered by priority.
>
> I've noticed that sometimes (rarely) using SPACE or TAB on an entry
> jumps to my single org file but in the wrong place. I've been bitten
> by
> this at least twice when using T to change the TODO status of an entry.
> It prompts for the log message and changes the item to DONE (as
> requested... ) but it changes the wrong item.
>
> My org file looks something like this
>
> ,----[ todo.org ]
> | MY PROJECTS -*- mode: org; fill-column: 78 -*-
> |
> | #+STARTUP: overview
> | #+STARTUP: lognotestate
> | #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d)
> DEFERRED(p) CANCELLED(c)
> | #+TAGS: { SCHOOL(s) WORK(w) } CALL(c) ERRAND(e)
> | * Tasks
> | * Timelog
> |
> | * Client1 - Timelog
> | * Client1 - Project1
> | ** TODO [#B] Some Task...
> |
> | * Client2 - Timelog
> | * Client2 - Project1...
> | * Client2 - Project2...
> |
> | . . .
> `----
>
> Each level 1 category has a #+CATEGORY and #+ARCHIVE line following it
> followed by level 2 tasks for each project.
>
> After using TAB (to the wrong place) if I return to the agenda buffer
> and do it again it works right. Sometimes I think I'm going crazy :)
> except when the task TODO state change and accompanying note end up on
> the wrong task.
>
> The last time this happened (a few minutes ago) the cursor was on
>
> Client1: Scheduled: TODO [#B] Some Task
>
> in the agenda. I hit T to change the item to DONE and entered my note.
> As soon as that was complete the agenda line looked like this:
>
> Client1: Scheduled: DONE Timelog
>
> I hit TAB and got to the
>
> * Timelog
>
> entry instead (2nd level 1 task instead of the level 2 task)
>
> so I ended up with
>
> * DONE Timelog
> [date and comment stuff went here from closing the task]
>
> I have the following org-mode variables set in my .emacs:
>
> ,----[ org related .emacs stuff ]
> | (add-hook 'org-mode-hook '(lambda () (flyspell-mode 1)))
> |
> | ;;;
> | ;;; Org Mode
> | ;;;
> | (add-to-list 'load-path (expand-file-name "~/org-mode"))
> | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> | (require 'org-install)
> |
> | (global-font-lock-mode 1) ; for all buffers
> | (setq org-log-done t
> | org-agenda-include-diary nil
> | org-cycle-include-plain-lists nil
> | org-agenda-todo-list-sublevels t
> | org-agenda-todo-ignore-deadlines t
> | org-agenda-todo-ignore-scheduled t
> | org-agenda-start-with-follow-mode nil
> | org-use-tag-inheritance t
> | org-tags-match-list-sublevels t
> | org-show-hierarchy-above t
> | org-show-following-heading nil
> | org-show-siblings nil
> | org-export-with-sub-superscripts nil
> | org-clock-out-when-done nil
> | org-use-fast-todo-selection t)
> |
> | (setq org-agenda-sorting-strategy '((agenda time-up priority-down)
> | (todo category-keep priority-down)
> | (tags category-keep priority-down)))
> |
> | (define-key global-map "\C-cl" 'org-store-link)
> | (define-key global-map "\C-ca" 'org-agenda)
> |
> | (add-hook 'remember-mode-hook 'org-remember-apply-template)
> | ;
> | (custom-set-variables
> | '(org-default-notes-file "~/org/notes.org")
> | '(org-agenda-ndays 7)
> | '(org-deadline-warning-days 14)
> | '(org-agenda-show-all-dates t)
> | '(org-agenda-skip-deadline-if-done t)
> | '(org-agenda-skip-scheduled-if-done t)
> | '(org-agenda-start-on-weekday nil)
> | '(org-reverse-note-order t)
> | '(org-fast-tag-selection-single-key (quote expert))
> | '(org-agenda-custom-commands
> | (quote (("d" todo "DELEGATED" nil)
> | ("c" todo "DONE|DEFERRED|CANCELLED" nil)
> | ("w" todo "WAITING" nil)
> | ("W" agenda "" ((org-agenda-ndays 21)))
> | ("A" agenda ""
> | ((org-agenda-skip-function
> | (lambda nil
> | (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")))
> | (org-agenda-ndays 1)
> | (org-agenda-overriding-header "Today's Priority #A tasks: ")))
> | ("u" alltodo ""
> | ((org-agenda-skip-function
> | (lambda nil
> | (org-agenda-skip-entry-if (quote scheduled) (quote deadline)
> | (quote regexp) "<[^>\n]+>")))
> | (org-agenda-overriding-header "Unscheduled TODO entries:
> "))))))
> | '(org-remember-store-without-prompt t)
> | '(org-remember-templates
> | (quote ((116 "* TODO %?\n %u" "~/org/todo.org" "Tasks")
> | (110 "* %u %?" "~/org/notes.org" "Notes"))))
> | '(remember-annotation-functions (quote (org-remember-annotation)))
> | '(remember-handler-functions (quote (org-remember-handler))))
> |
> | (setq org-todo-keyword-faces
> | '(("TODO" . (:foreground "red" :weight bold))
> | ("STARTED" . (:foreground "red" :weight bold))
> | ("WAITING" . (:foreground "orange" :weight bold))
> | ("APPT" . (:foreground "blue" :weight bold :underline t))
> | ("DONE" . (:foreground "forest green" :weight bold))
> | ("DEFERRED" . (:foreground "forest green" :weight bold))
> | ("CANCELLED" . (:foreground "forest green" :weight bold))))
> `----
>
> I'd love to help track this down but I have no idea where to start
> looking. Any ideas?
>
> Bernt
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Navigation problem - 5.08
2007-09-07 8:04 ` Carsten Dominik
@ 2007-09-07 15:08 ` Bernt Hansen
0 siblings, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2007-09-07 15:08 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Carsten Dominik <dominik@science.uva.nl> writes:
> You are the second person to report this problem.
> Unfortunately so far I cannot reproduce this problem.
> Thanks for providing a detailed test setup. Can you try again,
> start your emacs with `-q -l minimal.emacs' and then explain,
> key-by-key what you do to get the error?
>
> Thanks for helping to track this nasty bug down.
>
> - Carsten
>
> P.S. I guess turning off flyspell-mode does not help?
Here's my simple setup to reproduce the problem
,----[ minimal.emacs ]
| (global-font-lock-mode t)
|
| (add-to-list 'load-path (expand-file-name "~/org-mode"))
| (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
| (require 'org-install)
| (define-key global-map "\C-ca" 'org-agenda)
| (custom-set-variables
| '(org-agenda-files (quote ("~/org/test.org"))))
| (setq org-use-fast-todo-selection t)
`----
,----[ test.org ]
| #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) DEFERRED(p) CANCELLED(c)
| * one
| ** STARTED one-one
| SCHEDULED: <2007-09-07 Fri>
| ** APPT one-two
| SCHEDULED: <2007-09-07 Fri>
`----
Start emacs with
,----
| $ emacs22 -q -l minimal.emacs
`----
then do the following keystrokes:
^C a a (to get the the agenda view)
down arrow (to first task one-one)
SPACE (to display the test.org file and task)
down arrow (to second task one-two)
t (to change TODO keyword)
t (select TODO)
That's it.
The agenda is now wrong. Task one-one was modified instead of one-two.
Regards,
Bernt.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-07 15:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 16:55 Navigation problem - 5.08 Bernt Hansen
2007-09-06 18:15 ` Bernt Hansen
2007-09-07 8:04 ` Carsten Dominik
2007-09-07 15:08 ` Bernt Hansen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.