emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "zw963" <zw963@163.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>emacs-orgmode
	<emacs-orgmode@gnu.org>emacs-orgmode
	<emacs-orgmode@gnu.org>emacs-orgmode <emacs-orgmode@gnu.org>
Cc: "nicholas.dokos" <nicholas.dokos@hp.com>
Subject: Bug: org-agenda-custom-commands bugs [7.5]
Date: Sat, 11 Jun 2011 16:48:23 +0800	[thread overview]
Message-ID: <201106111648233120378@163.com> (raw)
In-Reply-To: <10878.1307629104@alphaville.dokosmarshall.org>

[-- Attachment #1: Type: text/plain, Size: 11421 bytes --]

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.
------------------------------------------------------------------------
1. first open org-agenda use `F12' key, command (org-agenda)
2. open customize todo-list use `t' key 
3. move point on certain heading, press `RET',open remote org files. (org-agenda-switch-to) 
4. edit context,and save,use f2 kill this org buffer. (kill-this-buffer)
5. return previous org-agenda-view,move my point on other heading,minibuffer show a error tips
   "Wrong type argument: stringp,nil",if reenter remote org file, unpredictable happen.....
6. unless retype 'g' key,otherwise can not work.

Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt5.2.3790)
 of 2011-03-10 on 3249CTO
Package: Org-mode version 7.5

current state:
==============
(setq
 org-log-done 'time
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . system) ("\\.x?html?\\'" . system) ("\\.pdf\\'" . system))
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("NEXT" :foreground "blue" :weight bold)
                          ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold)
                          ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold)
                          ("CANCELLED" :foreground "forest green" :weight bold))
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-agenda-custom-commands '(("t" "TODO LIST!" tags "LEVEL=1+@TASKS|@HABIT/-DONE"
                               ((orgo-agenda-overriding-header "TODO TASKS")))
                              ("p" "Problem -> solve now!" tags-todo "-@TASKS-@HABIT/-CANCELLED-WAITING-SOMEDAY"
                               ((org-agenda-overriding-header "Waiting to be solved problem")
                                (org-agenda-todo-ignore-with-date nil) (org-agenda-todo-ignore-scheduled nil)
                                (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-timestamp nil)
                                (org-agenda-todo-list-sublevels t) (org-tags-match-list-sublevels (quote indented)))
                               )
                              ("S" "Problem -> Postponed" todo "SOMEDAY|WAITING"
                               ((org-agenda-overriding-header "Postponed problem")))
                              ("n" "Note" tags "LEVEL>1+@NOTE/-TODO-SOMEDAY"
                               ((orgo-agenda-overriding-header "Organized NOTE")))
                              ("r" "Refile files" tags "LEVEL=2+@REFILE"
                               ((org-agenda-todo-ignore-with-date nil) (org-agenda-todo-ignore-deadlines nil)
                                (org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-timestamp nil)
                                (org-agenda-overriding-header "Refile files"))
                               )
                              ("l" "Live_log" tags "LEVEL=4+@LIVE_LOG" ((orgo-agenda-overriding-header "live_log")))
                              ("d" "Diary" tags "LEVEL=4+@DIARY" ((orgo-agenda-overriding-header "Diary")))
                              ("P" "Projects" tags-todo "LEVEL=1/!-DONE-CANCELLED-WAITING-SOMEDAY"
                               ((org-agenda-skip-function (quote bh/skip-non-projects))
                                (org-agenda-overriding-header "Projects"))
                               )
                              ("A" "Tasks to be Archived" tags "LEVEL=2-@REFILE/DONE|CANCELLED"
                               ((org-agenda-overriding-header "Tasks to Archive")
                                (org-agenda-skip-function (quote bh/skip-non-archivable-tasks)))
                               )
                              )
 org-agenda-files '("~/.emacs.d/org/Emacs-shortcut.org" "d:/emacs/zw963/.emacs.d/org/gtd/capture.org"
                    "d:/emacs/zw963/.emacs.d/org/gtd/diary.org" "d:/emacs/zw963/.emacs.d/org/gtd/habit.org"
                    "d:/emacs/zw963/.emacs.d/org/gtd/live-log.org" "d:/emacs/zw963/.emacs.d/org/gtd/organized.org"
                    "d:/emacs/zw963/.emacs.d/org/gtd/task.org")
 org-list-demote-modify-bullet '(("+" . "-") ("*" . "-") ("1." . "-") ("1)" . "-"))
 org-plantuml-jar-path "~/.emacs.d/plugins/java/plantuml.jar"
 org-agenda-show-inherited-tags nil
 org-babel-load-languages '((emacs-lisp . t) (dot . t) (ditaa . t) (R . t) (python . t) (ruby . t) (gnuplot . t)
                            (clojure . t) (sh . t) (ledger . t) (org . t) (plantuml . t) (latex . t))
 org-completion-use-ido t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-capture-templates '(("t" "Task->to do" entry (file "~/.emacs.d/org/gtd/task.org") "* TODO %?\nAdded: %U")
                         ("p" "Problem->to solve" entry (file+headline "~/.emacs.d/org/gtd/capture.org" "Problem")
                          "* TODO %?\n")
                         ("n" "Notes->to record" entry (file+headline "~/.emacs.d/org/gtd/capture.org" "Notes") "* %?\n")
                         ("c" "Clipboard->save" entry (file+headline "~/.emacs.d/org/gtd/capture.org" "Clipboard")
                          "* %^{Desription}\n%c" :immediate-finish t)
                         ("l" "live log" entry (file+datetree "~/.emacs.d/org/gtd/live-log.org")
                          "** %U - %^{What are you doing?}")
                         ("d" "Diary" entry (file+datetree "~/.emacs.d/org/gtd/diary.org") "* %? %U\n")
                         ("h" "habit" entry (file "~/.emacs.d/org/gtd/habit.org")
                          "* TODO %?\nSCHEDULED: %t\n:PROPERTIES:\n:STYLE: habit\n:END:")
                         )
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-babel-tangle-lang-exts '(("latex" . "tex") ("clojure" . "clj") ("ruby" . "rb") ("python" . "py")
                              ("emacs-lisp" . "el"))
 org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t)) ("SOMEDAY" ("WAITING" . t))
                                (done ("WAITING")) ("TODO" ("WAITING") ("CANCELLED")) ("NEXT" ("WAITING"))
                                ("STARTED" ("WAITING")) ("DONE" ("WAITING") ("CANCELLED")))
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-after-todo-statistics-hook '(org-summary-todo)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-tab-first-hook '(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-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-todo-keywords '((sequence "TODO(t)" "WAITING(w@/!)" "SOMEDAY(s!)" "|" "DONE(d!/!)" "CANCELLED(c@/!)"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-directory "~/.emacs.d/org/"
 org-export-docbook-xslt-proc-command "xsltproc --output %s /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl %s"
 org-export-html-inline-images t
 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-publish-project-alist '(("org-mode-doc-org" :base-directory "~/.emacs.d/org/" :publishing-directory
                              "~/.emacs.d/org/web" :section-numbers nil :table-of-contents nil :base-extension "org"
                              :exclude "org-study-note.org" :publishing-function (org-publish-org-to-html)
                              :style-include-default nil :style
                              "<link rel=\"stylesheet\" href=\"./org.css\" type=\"text/css\" />" :author-info t
                              :creator-info t)
                             ("org-mode-doc-extra" :base-directory "~/.emacs.d/org/" :publishing-directory
                              "~/.emacs.d/org/web" :base-extension "css\\|pdf\\|png\\|jpg\\|gif" :publishing-function
                              org-publish-attachment :author t)
                             ("org-mode-doc" :components ("org-mode-doc-org" "org-mode-doc-extra")))
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-mode-hook '(#[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
                 (lambda nil (define-key org-mode-map [(control return)] (quote org-meta-return))
                  (define-key org-mode-map [(control meta return)] (quote org-insert-heading-respect-content))
                  (define-key org-mode-map [(control c) (t)] (quote org-todo))
                  (define-key org-mode-map [(meta \;)] (quote org-set-tags-command))
                  (define-key org-mode-map [(control c) (g)] (quote org-goto))
                  (define-key org-mode-map [(meta \1)] (quote org-beginning-of-line))
                  (define-key org-mode-map [(meta \3)] (quote org-end-of-line))
                  (define-key org-mode-map [(tab)] (quote yas/expand))
                  (define-key org-mode-map [(control c) (j)] (quote org-ido-switchb))
                  (define-key org-mode-map [(meta c) (n)] (quote bh/org-todo))
                  (define-key org-mode-map [(meta c) (N)] (quote bh/widen)))
                 )
 org-export-htmlize-output-type 'css
 org-refile-targets '(("~/.emacs.d/org/gtd/organized.org" :maxlevel . 2) (nil :maxlevel . 2))
 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-refile-use-outline-path 'file
 org-agenda-mode-hook '((lambda nil (define-key org-agenda-mode-map [(meta \;)] (quote org-agenda-set-tags))))
 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks))
 org-export-html-style-include-default nil
 org-refile-allow-creating-parent-nodes 'confirm
 org-babel-after-execute-hook '(org-display-inline-images)
 org-occur-hook '(org-first-headline-recenter)
 org-outline-path-complete-in-steps nil
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-treat-S-cursor-todo-selection-as-state-change nil
 org-confirm-babel-evaluate nil
 org-export-docbook-xsl-fo-proc-command "fop %s %s"
 org-export-html-style-extra "<link rel=\"stylesheet\" href=\"./org.css\" type=\"text/css\" />"
 org-use-sub-superscripts 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-block nil) (comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil))
 )


2011-06-11 



zw963 

[-- Attachment #2: Type: text/html, Size: 29800 bytes --]

  parent reply	other threads:[~2011-06-11  8:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09  5:47 org-agenda-custom-commands have a serious bug!? zw963
2011-06-09 12:15 ` Memnon Anon
2011-06-09 13:48   ` Carsten Dominik
2011-06-09 14:18 ` Nick Dokos
2011-06-11  5:54   ` zw963
2011-06-11  8:48   ` zw963 [this message]
2011-06-30 16:05     ` Bug: org-agenda-custom-commands bugs [7.5] Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201106111648233120378@163.com \
    --to=zw963@163.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).