From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Navigation problem - 5.08 Date: Thu, 06 Sep 2007 12:55:23 -0400 Message-ID: <87odgf68ec.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITKdq-0004na-Hj for emacs-orgmode@gnu.org; Thu, 06 Sep 2007 12:55:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITKdp-0004mJ-UF for emacs-orgmode@gnu.org; Thu, 06 Sep 2007 12:55:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITKdp-0004mA-KQ for emacs-orgmode@gnu.org; Thu, 06 Sep 2007 12:55:41 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ITKdo-0004KP-P0 for emacs-orgmode@gnu.org; Thu, 06 Sep 2007 12:55:41 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ITKdi-0003RV-NK for emacs-orgmode@gnu.org; Thu, 06 Sep 2007 18:55:34 +0200 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([74.119.210.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2007 18:55:34 +0200 Received: from bernt by cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2007 18:55:34 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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