all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: agenda generation failed if there is a blank title with a timestamp [7.7]
@ 2011-08-30  3:30 Meng Wu
  2011-08-30 19:07 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Meng Wu @ 2011-08-30  3:30 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


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

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

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

if the agenda file contains the following title,=20

**** 
     <2011-08-30 Tue 11:26>



which has blank title and a timestamp, then the C-c a a will fail with
message like this:

org-agenda-highlight-todo: Args out of range: #("  newgtd:     " 0 14 (org-=
category "newgtd" tags nil org-highest-priority 65 org-lowest-priority 67 t=
ime-of-day nil ...)), 27, 31


if the title is not blank, then everything is alright.


Thanks.

Emacs  : GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.5=
4)
of 2011-07-29 on braeburn.aquamacs.org - Aquamacs Distribution 2.3
Package: Org-mode version 7.7

current state:

(setq
org-log-done t
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
org-todo-keyword-faces '(("TODO" . org-warning) ("CANCELLED" . shadow)
                          ("DEFERRED" :foreground "blue" :weight bold))
org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-co=
mmand-hook)
org-agenda-custom-commands '(("v" "Marriage" ((tags-todo "MARRIAGE")))
                              ("p" "Projects" ((tags "PROJECT")))
                              ("A" "Office and Home Lists"
                               ((agenda ""
                                 ((org-agenda-ndays 1)
                                  (org-agenda-sorting-strategy
                                   (quote ((agenda time-up priority-down ta=
g-up todo-state-up))))
                                  (org-deadline-warning-days 0))
                                 )
                                (tags-todo "HOME") (tags-todo "OFFICE") (ta=
gs-todo "READING")
                                (tags-todo "COMPUTER") (tags-todo "LIFE") (=
tags-todo "MARRIAGE")
                                (tags-todo "SPORT"))
                               )
                              ("d" "Daily Action List"
                               ((agenda ""
                                 ((org-agenda-ndays 1)
                                  (org-agenda-sorting-strategy
                                   (quote ((agenda time-up priority-down ta=
g-up todo-state-up))))
                                  (org-deadline-warning-days 0))
                                 )
                                )
                               )
                              ("h" "Home Daily Action List"
                               ((agenda "") (tags-todo "HOME") (tags-todo "=
READING")
                                (tags-todo "COMPUTER") (tags-todo "LIFE") (=
tags-todo "MARRIAGE")
                                (tags-todo "SPORT"))
                               ((org-agenda-ndays 1)
                                (org-agenda-sorting-strategy
                                 (quote ((agenda time-up priority-down tag-=
up todo-state-up))))
                                (org-deadline-warning-days 0)
                                (org-agenda-filter-preset (quote ("-OFFICE"=
))))
                               )
                              ("o" "Office Daily Action List"
                               ((agenda "") (tags-todo "OFFICE") (tags-todo=
"READING")
                                (tags-todo "COMPUTER") (tags-todo "LIFE") (=
tags-todo "MARRIAGE")
                                (tags-todo "SPORT"))
                               ((org-agenda-ndays 1)
                                (org-agenda-sorting-strategy
                                 (quote ((agenda time-up priority-down tag-=
up todo-state-up))))
                                (org-agenda-filter-preset (quote ("-HOME"))=
))
                               )
                              )
org-agenda-files '("~/gtd/newgtd.org" "~/gtd/someday.org")
org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
outline-minor-mode-prefix [(control o)]
org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
org-export-latex-format-toc-function 'org-export-latex-format-toc-default
org-protocol-protocol-alist '(("org-mac-safari-tabs" :protocol "safari-tab=
s" :function
                                org-mac-safari-tabs :kill-client t)
                               ("org-mac-remember" :protocol "mac-remember"=
:function
                                org-mac-protocol-remember :kill-client t)
                               )
org-support-shift-select t
org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-comman=
d-maybe
                      org-babel-hide-result-toggle-maybe)
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi=
gure-edit-buffer)
org-mac-mail-account "mengwu@yahoo-inc.com"
org-confirm-shell-link-function 'yes-or-no-p
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-clock-persist t
org-startup-indented t
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-default-notes-file "~/gtd//notes.org"
org-directory "~/gtd/"
org-babel-pre-tangle-hook '(save-buffer)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o=
rg-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link=
-modifiers)
org-mode-hook '(org-clock-load
                 #[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-resu=
lt-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
org-refile-targets '(("newgtd.org" :maxlevel . 1) ("someday.org" :level . =
2) ("notes.org" :level . 2)
                      ("stuffs.org" :level . 1))
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-=
maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel=
-exp-inline-src-blocks))
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-occur-hook '(org-first-headline-recenter)
org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-sele=
ct-beamer-code)
org-modules '(org-mac-message org-bbdb org-bibtex org-docview org-gnus org=
-info org-jsinfo org-irc
               org-mew org-mhe org-rmail org-vm org-w3m org-wl)
org-remember-templates '(("Todo" 116 "* TODO %^{Brief Description} %^g\nAd=
ded: %U\n%?"
                           "~/gtd/newgtd.org" "Tasks =E7=AE=80=E5=8D=95=E5=
=B7=A5=E4=BD=9C")
                          ("Stuff" 115 "* %^{Brief Description} \nAdded: %U=
\n%?" "~/gtd/stuffs.org"
                           "Stuffs")
                          ("Remember Stuff" 121 "* %:shortdesc\n%:initial\n=
Source: %u, %c\n\n%?"
                           "~/gtd/stuffs.org" "Stuffs")
                          ("Note Stuff" 122 "* %?\n\nDate: %u\n" "~/gtd/stu=
ffs.org" "Stuffs"))
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-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-ex=
port-blocks-format-dot nil))
)



Meng Wu

mengwu@yahoo-inc.com
Behavioral Targeting Engineering Team
Beijing R&D, Yahoo Inc.

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

end of thread, other threads:[~2011-09-06 16:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30  3:30 Bug: agenda generation failed if there is a blank title with a timestamp [7.7] Meng Wu
2011-08-30 19:07 ` Nicolas Goaziou
2011-09-06 16:18   ` 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.