emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Bug: Getting property ALLTAGS always returns nil [6.33trans (r


From: David Maus
Subject: [Orgmode] Bug: Getting property ALLTAGS always returns nil [6.33trans (release_6.33f.130.gb8e0)]
Date: Sun, 17 Jan 2010 22:13:39 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1.91 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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 I try to get the property ALLTAGS of a headline using
`org-entry-get' the result is always nil.

Using git bisect with this simple elisp script:

,----
| ;; bisect orgmode bug: (org-entry-get (point) "ALLTAGS") always
| ;; returns nil
|
| ;;; Load orgmode
| (add-to-list 'load-path "~/code/remote/org-mode/lisp")
| (require 'org-install)
| (require 'org)
|
| (with-temp-buffer
|   (org-mode)
|   (insert "* Headline :tag:")
|   (let ((tags
|          (org-entry-get (point-min) "ALLTAGS")))
|     (if (null tags)
|         (kill-emacs 1)
|       (kill-emacs 0))))
`----

Shows that commit b8e0d6fdb41f2165d675e89fcb54b741c971f6f4 is the
first one where getting ALLTAGS for a headline with a tag return nil.

Bisect log:

,----
| git bisect start
| # bad: [0e370d498b34469a025cdce864fd5c5987bf8050] Fix typo
| git bisect bad 0e370d498b34469a025cdce864fd5c5987bf8050
| # good: [2b528343557b4ff08af8efb283f01b5d231a7fc4] Release 6.33
| git bisect good 2b528343557b4ff08af8efb283f01b5d231a7fc4
| # good: [e8ec6d6d115cbaf09cffd54f4634789cb2081187] Allow unrestricted 
completion on properties
| git bisect good e8ec6d6d115cbaf09cffd54f4634789cb2081187
| # bad: [70d6341f2e4cec845d6ff2925f8b6c73dfddffa7] Improve future detection 
when reading dates
| git bisect bad 70d6341f2e4cec845d6ff2925f8b6c73dfddffa7
| # bad: [e690ae7eb016f5635d706a681d158e4d2d1bc3c7] Merge branch 
'blocked-as-special-property'
| git bisect bad e690ae7eb016f5635d706a681d158e4d2d1bc3c7
| # good: [1bd88b0394503d55be0bacf6927d0f22e708d7c1] Document that one should 
not change the `state' entry in `org-log-note-headings'
| git bisect good 1bd88b0394503d55be0bacf6927d0f22e708d7c1
| # good: [f444c8cd679dc488b1016074f1eb25c7c1b6f1af] Export: Do not check for 
protectedness at the end of a line
| git bisect good f444c8cd679dc488b1016074f1eb25c7c1b6f1af
| # good: [30d179c85e98d2e3176bd8dd0b489d9ac32979dc] LaTeX export: Fix line end 
after caption command for longtable environments
| git bisect good 30d179c85e98d2e3176bd8dd0b489d9ac32979dc
| # good: [1886c46d9d7b68559b0ba142c828d2c054bf6321] Merge branch 'master' of 
git+ssh://repo.or.cz/srv/git/org-mode
| git bisect good 1886c46d9d7b68559b0ba142c828d2c054bf6321
| # bad: [b8e0d6fdb41f2165d675e89fcb54b741c971f6f4] Make a new special property 
BLOCKED, indicating if entry is blocked
| git bisect bad b8e0d6fdb41f2165d675e89fcb54b741c971f6f4
`----

 -- David

Emacs  : GNU Emacs 23.1.91.1 (i486-pc-linux-gnu, GTK+ Version 2.18.5)
 of 2010-01-11 on elegiac, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.130.gb8e0)

current state:
==============
(setq
 org-wl-link-shimbun-to-xref t
 org-log-done 'note
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("WAIT" 
:foreground "firebrick" :weight bold)
                          ("DONE" :foreground "green") ("IDEA" :foreground 
"gold" :weight bold)
                          ("CANC" :foreground "LightSlateGrey") ("PROJ" 
:foreground "DeepSkyBlue" :weight bold))
 org-agenda-custom-commands '(("R" "Refile new tasks and notes" tags 
"LEVEL=2+REFILE"))
 org-agenda-files '("/home/david/org/priv/priv.org" 
"/home/david/org/work/work.org" "/home/david/org/pg/pg.org"
                    "/home/david/org/bucket.org" "/home/david/org/tec/tec.org")
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-agenda-tags-column -120
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-id-method 'uuidgen
 org-agenda-todo-ignore-scheduled t
 org-babel-interpreters '("js" "ditaa" "latex" "ruby" "sh" "emacs-lisp")
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-log-redeadline 'time
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
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-export-first-hook '(org-beamer-initialize-open-trackers)
 org-wl-link-remove-filter t
 org-todo-keywords '((sequence "TODO(t)" "WAIT(w@/!)" "|" "DONE(D)") (type 
"PROJ(p)" "IDEA(i)" "|" "CANC(C)"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/org/bucket.org"
 org-log-reschedule 'time
 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-mode-hook '((lambda nil
                  (org-add-hook (quote change-major-mode-hook) (quote 
org-babel-show-result-all) (quote append)
                   (quote local))
                  )
                 org-babel-result-hide-spec org-babel-hide-all-hashes
                 (lambda nil
                  (org-add-hook (quote change-major-mode-hook) (quote 
org-show-block-all) (quote append) (quote local)))
                 )
 org-refile-targets '((org-agenda-files :maxlevel . 4))
 org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point 
org-babel-execute-src-block-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-refile-use-outline-path 'file
 org-log-into-drawer "LOGBOOK"
 org-agenda-todo-ignore-with-date t
 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src 
org-babel-exp-inline-src-blocks))
 org-log-note-headings '((done . "CLOSING NOTE %t") (state . "State %-12s from 
%-12S %t") (note . "Note taken on %t")
                         (reschedule . "Rescheduled from %S on %t") 
(delschedule . "Not scheduled, was %S on %t")
                         (redeadline . "New deadline from %S on %t") 
(deldeadline . "Removed deadline, was %S on %t")
                         (clock-out . ""))
 org-enforce-todo-dependencies t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\<David Maus\\>"
 org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
 org-modules '(org-habit 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 %^{Description} %^g\n  :PROPERTIES:\n  
:Created: %u\n  :Reference: %a\n  :END:"
                           "~/org/bucket.org" "Aufgaben" nil)
                          ("Note" 110 "* %^{Note} :NOTE:%^g\n  :PROPERTIES:\n  
:Created: %u\n  :Reference: %a\n  :END:"
                           "~/org/bucket.org" "Notizen" nil)
                          ("Idea" 105
                           "* IDEA %^{Description} %^g\n  :PROPERTIES:\n  
:Created: %u\n  :Reference: %a\n  :END:"
                           "~/org/bucket.org" "Ideen" nil)
                          ("Project" 112
                           "* PROJ %^{Description} %^g\n  :PROPERTIES:\n  
:Created: %u\n  :Reference: %a\n  :END:"
                           "~/org/bucket.org" "Projekte" nil)
                          ("Link" 119 "* %c %^g\n  :PROPERTIES:\n  :Created: 
%u\n  :Reference: %a\n  :END:"
                           "~/org/bucket.org" "Links" nil)
                          )
 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-blocks nil) (comment 
org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil) (dot 
org-export-blocks-format-dot nil))
 )

Attachment: pgpyf2uBXM3Un.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]