From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Backtrace [7.5 (release_7.5.135.g7021f.dirty)] Date: Thu, 14 Apr 2011 00:17:46 +0200 Message-ID: <21CDD1AB-3A6E-4C8A-8C84-56FC21F273CB@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA8Nm-0004yK-Fw for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 18:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA8Nk-0005L6-Kv for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 18:17:54 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:37735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA8Nk-0005L0-8Y for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 18:17:52 -0400 Received: by ewy9 with SMTP id 9so336490ewy.0 for ; Wed, 13 Apr 2011 15:17:51 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dave Abrahams Cc: emacs-orgmode@gnu.org On 11.4.2011, at 19:39, Dave Abrahams wrote: >=20 >=20 > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? = See >=20 > http://orgmode.org/manual/Feedback.html#Feedback >=20 > Your bug report will be posted to the Org-mode mailing list. > = ------------------------------------------------------------------------ >=20 > I had mistakenly un-scheduled a bunch of items. Then I marked them = all > in the agenda and tried to scatter over 20 weekdays (`C-u B S 2 0 = RET') > and got this backtrace: I think I have fixed this bug - along with a few more issues in this = bulk command. Please try the latest git version. - Carsten >=20 > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p = nil) > <(nil nil) > (cond ((equal ... ...) (< ... ...)) (t (string< ... ...))) > (lambda (a b) (cond (... ...) (t ...)))(# = #) > sort((#) (lambda (a b) (cond (... ...) (t = ...)))) > (setq entries (sort entries (lambda ... ...))) > (let* ((action ...) (org-log-refile ...) (entries ...) redo-at-end = cmd rfloc state e tag pos (cnt 0) (cntskip 0)) (cond (... ...) (... ...) = (... ... ... ...) (... ... ...) (... ... ...) (... ...) (... ...) (... = ...) (t ...)) (setq entries (sort entries ...)) (while (setq e ...) = (setq pos ...) (if ... ... ... ... ... ...)) (setq = org-agenda-bulk-marked-entries nil) (org-agenda-bulk-remove-all-marks) = (when redo-at-end (org-agenda-redo)) (message "Acted on %d entries%s" = cnt (if ... "" ...))) > org-agenda-bulk-action((4)) > call-interactively(org-agenda-bulk-action nil nil) >=20 >=20 > Emacs : GNU Emacs 23.3.1 (x86_64-apple-darwin, NS = apple-appkit-1038.35) > of 2011-03-09 on black.porkrind.org > Package: Org-mode version 7.5 (release_7.5.135.g7021f.dirty) >=20 > current state: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (setq > org-agenda-deadline-leaders '("D: " "D%d: ") > org-clock-in-switch-to-state "STARTED" > org-agenda-skip-scheduled-if-deadline-is-shown t > org-export-latex-after-initial-vars-hook = '(org-beamer-after-initial-vars) > org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight = bold) ("APPT" :foreground "medium blue" :weight bold) > ("NOTE" :foreground "brown" :weight bold) = ("STARTED" :foreground "dark orange" :weight bold) > ("WAITING" :foreground "red" :weight bold) = ("DELEGATED" :foreground "dark violet" :weight bold) > ("DEFERRED" :foreground "dark blue" :weight = bold) ("SOMEDAY" :foreground "dark blue" :weight bold) > ("PROJECT" :height 1.5 :weight bold = :foreground "black")) > org-speed-command-hook '(org-speed-command-default-hook = org-babel-speed-command-hook) > org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags > = "Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+= 3d>\"" > ((org-agenda-overriding-header "Errands = (next 3 days)"))) > ("A" "Priority #A tasks" agenda "" > ((org-agenda-ndays 1) = (org-agenda-overriding-header "Today's priority #A tasks: ") > (org-agenda-skip-function (quote = (org-agenda-skip-entry-if (quote notregexp) "\\=3D.*\\[#A\\]")))) > ) > ("B" "Priority #A and #B tasks" agenda "" > ((org-agenda-ndays 1) = (org-agenda-overriding-header "Today's priority #A and #B tasks: ") > (org-agenda-skip-function (quote = (org-agenda-skip-entry-if (quote regexp) "\\=3D.*\\[#C\\]")))) > ) > ("w" "Waiting/delegated tasks" tags = "TODO=3D\"WAITING\"|TODO=3D\"DELEGATED\"" > ((org-agenda-overriding-header = "Waiting/delegated tasks:") > (org-agenda-sorting-strategy (quote = (todo-state-up priority-down category-up)))) > ) > ("u" "Unscheduled tasks" tags > = "TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{C= EG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\}" > ((org-agenda-overriding-header = "Unscheduled tasks: ") >=20 > = = (org-agenda-skip-function >=20 > = = (quote >=20 >=20 >=20 > = = (org-agenda-skip-entry-if >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = (quote scheduled) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = (quote deadline) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = (quote timestamp) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = (quote regexp) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = "\\* = \\(DEFERRED\\|SOMEDAY\\)") >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = (org-agenda-files >=20 > = = (quote >=20 >=20 >=20 > = = ("~/Dropbox/todo.txt") >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = (org-agenda-sorting-strategy >=20 > = = (quote >=20 >=20 >=20 > = = (todo-state-up priority-down = category-up) >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = ) > ) > ("U" "Deferred tasks" tags > = "TODO=3D\"DEFERRED\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|= \\}" > ((org-agenda-overriding-header "Deferred = tasks:"))) > ("S" "Someday tasks" tags > = "TODO=3D\"SOMEDAY\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\= \}" > ((org-agenda-overriding-header "Someday = tasks:"))) > ("G" "Ledger tasks (all)" tags-todo = "TODO<>{SOMEDAY}" > ((org-agenda-files (quote = ("~/src/ledger/plan/TODO"))) > (org-agenda-overriding-header "Ledger = tasks:") > (org-agenda-sorting-strategy (quote = (todo-state-up priority-down category-up)))) > ) > ("l" "Ledger tasks" tags-todo = "TODO<>{SOMEDAY\\|DEFERRED}" > ((org-agenda-files (quote = ("~/src/ledger/plan/TODO"))) > (org-agenda-overriding-header "Ledger = tasks:") > (org-agenda-sorting-strategy (quote = (todo-state-up priority-down category-up))) > (org-agenda-skip-function (quote = (org-agenda-skip-entry-if (quote regexp) "\\=3D.*\\[#C\\]")))) > ) > ("L" "Ledger tasks not in Bugzilla" = alltodo "" > ((org-agenda-files (quote = ("~/src/ledger/plan/TODO"))) > (org-agenda-overriding-header "Ledger = tasks:") > (org-agenda-sorting-strategy (quote = (todo-state-up priority-down category-up))) > (org-agenda-skip-function (quote = (org-agenda-skip-entry-if (quote regexp) "\\(bug:\\)")))) > ) > ("r" "Uncategorized items" tags = "CATEGORY=3D\"Inbox\"&LEVEL=3D2" > ((org-agenda-overriding-header = "Uncategorized items"))) > ("W" "Unscheduled work tasks" tags > = "CATEGORY=3D{CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&CATEGORY<>\"Web= site\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>= 1" > ((org-agenda-overriding-header = "Unscheduled work tasks") >=20 > = = (org-agenda-skip-function >=20 > = = (quote >=20 >=20 >=20 > = = = (org-agenda-skip-entry-if >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = = (quote scheduled) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = = (quote deadline) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = ) >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = (org-agenda-sorting-strategy >=20 > = = (quote >=20 >=20 >=20 > = = = (todo-state-up priority-down) >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = ) > ) > ("z" "CEG tasks not in Bugzilla" tags > = "CATEGORY=3D{CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&CATEGORY<>{Webs= ite\\|Admin}&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&= LEVEL>1&SCOPE<>\"local\"" > ((org-agenda-overriding-header "CEG = tasks not in Bugzilla") >=20 > = = = (org-agenda-skip-function >=20 > = = (quote >=20 >=20 >=20 > = = = (org-agenda-skip-entry-if >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = = (quote regexp) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = = "\\(cegbug:\\)") >=20 >=20 >=20 > = = = ) >=20 > = = ) >=20 > = = ) > ) > ("Z" "CEG tasks in Bugzilla" tags > = "CATEGORY=3D{CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&TODO<>\"DONE\"&= TODO<>\"CANCELLED\"&TODO<>\"DELEGATED\"&TODO<>\"NOTE\"&LEVEL>1" > ((org-agenda-overriding-header "CEG = tasks in Bugzilla") >=20 > = = (org-agenda-skip-function >=20 > = = (quote >=20 >=20 >=20 > = = = (org-agenda-skip-entry-if >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = (quote = notregexp) >=20 >=20 >=20 >=20 >=20 >=20 >=20 > = = "cegbug:") >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = (org-agenda-sorting-strategy >=20 > = = (quote >=20 >=20 >=20 > = = (todo-state-up = category-down priority-down user-defined-up) >=20 >=20 >=20 > = = ) >=20 > = = ) >=20 > = = ) > ) > ) > org-agenda-files '("/Users/dave/Dropbox/todo.txt" = "/Users/dave/Dropbox/Projects") > org-agenda-include-diary t > org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) > org-agenda-menu-two-column t > org-agenda-tags-column -100 > org-hide-leading-stars t > org-clock-into-drawer "LOGBOOK" > org-completion-use-ido t > org-metaup-hook '(org-babel-load-in-session-maybe) > org-mobile-post-pull-hook '(my-org-convert-incoming-items) > org-capture-templates '(("t" "Task" entry (file+headline = "~/Dropbox/todo.txt" "Inbox") > "* TODO %?\n SCHEDULED: %t\n :PROPERTIES:\n = :Link: %a\n :ID: %(shell-command-to-string \"uuidgen\") :END:\n = %U" :prepend t) > ) > org-footnote-section nil > org-agenda-scheduled-leaders '("" "S%d: ") > org-archive-save-context-info '(time category itags) > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-agenda-text-search-extra-files '(agenda-archives) > org-mobile-files '(org-agenda-files org-agenda-text-search-extra-files = "~/Dropbox/Projects") > org-archive-location "TODO-archive::" > org-agenda-skip-unavailable-files t > org-agenda-default-appointment-duration 60 > org-time-clocksum-use-fractional t > org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-up = priority-down category-keep) > (todo priority-down category-keep) (tags = priority-down category-keep) (search category-keep)) > org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) > org-agenda-prefix-format '((agenda . " %-11:c%?-12t% s") (timeline . = " % s") (todo . " %-11:c") (tags . " %-11:c")) > org-habit-preceding-days 42 > org-export-latex-format-toc-function = 'org-export-latex-format-toc-default > org-agenda-skip-scheduled-if-done t > org-stuck-projects '("+LEVEL=3D1/-DONE" ("TODO" "STARTED" "NEXT" = "NEXTACTION") nil "\\(Appointments\\|Notes\\|Anniversaries\\)") > org-clock-in-resume t > org-export-preprocess-hook '(org-eval-replace-snippts) > org-mobile-inbox-for-pull "~/Dropbox/from-mobile.org" > org-tab-first-hook '(yas/org-very-safe-expand = org-hide-block-toggle-maybe org-src-native-tab-command-maybe > org-babel-hide-result-toggle-maybe) > org-src-mode-hook '(org-src-babel-configure-edit-buffer = org-src-mode-configure-edit-buffer) > org-mac-mail-account "GMail: BoostPro" > org-cycle-global-at-bob t > org-confirm-shell-link-function nil > org-reveal-start-hook '(org-decrypt-entry) > org-export-first-hook '(org-beamer-initialize-open-trackers) > org-clock-persist 'history > org-todo-keywords '((sequence "TODO" "APPT" "|" "DONE" "NOTE")) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-M-RET-may-split-line '((headline) (default . t)) > org-default-notes-file "~/Dropbox/todo.txt" > org-directory "~/Dropbox/Projects" > org-tag-alist '((#("LUANN" 0 5 (face nil)) . 110) (#("WORK" 0 4 (face = nil)) . 119)) > org-agenda-persistent-filter t > org-capture-mode-hook '(#[nil "\302=08\303\304#\210\302 = \305\304#\207" > [mode-specific-map org-capture-mode-map = define-key [102] org-capture-refile "=06"] 4] > ) > org-babel-pre-tangle-hook '(save-buffer) > org-cycle-hook '(org-cycle-hide-archived-subtrees = org-cycle-hide-drawers org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-export-preprocess-before-normalizing-links-hook = '(org-remove-file-link-modifiers) > org-use-speed-commands t > org-mode-hook '((lambda nil (make-variable-buffer-local (quote = yas/trigger-key)) (setq yas/trigger-key [tab]) > (add-to-list (quote org-tab-first-hook) (quote = yas/org-very-safe-expand)) > (define-key yas/keymap [tab] (quote yas/next-field))) > #[nil "\300\301\302\303\304$\207" [org-add-hook = change-major-mode-hook org-show-block-all append local] 5] > #[nil "\300\301\302\303\304$\207" [org-add-hook = change-major-mode-hook org-babel-show-result-all append local] 5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-agenda-menu-show-matcher nil > org-clock-out-remove-zero-time-clocks t > org-font-lock-hook '(org-eval-handle-snippets) > org-agenda-ndays 1 > org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files = :todo . "PROJECT")) > org-extend-today-until 2 > org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point = org-babel-execute-safely-maybe) > org-confirm-elisp-link-function nil > org-fast-tag-selection-single-key 'expert > org-todo-repeat-to-state "TODO" > org-clock-modeline-total 'current > org-agenda-start-on-weekday nil > org-agenda-fontify-priorities t > org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src = org-babel-exp-inline-src-blocks)) > org-enforce-todo-dependencies t > org-agenda-skip-deadline-if-done t > org-reverse-note-order t > org-occur-hook '(org-first-headline-recenter) > org-mobile-directory "~/Dropbox/MobileOrg" > org-export-preprocess-before-selecting-backend-code-hook = '(org-beamer-select-beamer-code) > org-agenda-cmp-user-defined 'org-cmp-ceg-bugs > org-tags-column -97 > org-modules '(org-crypt org-id org-habit org-mac-message org-bookmark = org-eval) > org-agenda-auto-exclude-function 'org-my-auto-exclude-function > org-remember-templates '(("Task" 116 > "* TODO %?\n SCHEDULED: %t\n = :PROPERTIES:\n :ID: %(shell-command-to-string \"uuidgen\") = :END:\n %U" nil "Inbox" nil) > ) > org-ellipsis 'org-habit-alert-face > org-export-latex-final-hook '(org-beamer-amend-header = org-beamer-fix-toc org-beamer-auto-fragile-frames > = org-beamer-place-default-actions-for-lists) > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-clock-idle-time 10 > org-attach-method 'mv > org-export-blocks '((src org-babel-exp-src-block nil) (comment = org-export-blocks-format-comment t) > (ditaa org-export-blocks-format-ditaa nil) (dot = org-export-blocks-format-dot nil)) > ) > --=20 > Dave Abrahams > BoostPro Computing > http://www.boostpro.com >=20 >=20