* Bug: Odd Ido interaction [7.01trans]
@ 2010-09-04 18:26 David Abrahams
2010-09-12 10:17 ` David Maus
2010-10-04 8:54 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: David Abrahams @ 2010-09-04 18:26 UTC (permalink / raw)
To: emacs-orgmode
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.
------------------------------------------------------------------------
When I go to refile an agenda item, say, under another item called
"Happiness," I type `r h a p' and see:
Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) | Happiness (todo.txt)}
where the 2nd and 3rd instances of "Happiness" show up in blue. Is
it expected to see multiple identical choices, and if so, why?
Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
of 2010-05-08 on black.local
Package: Org-mode version 7.01trans
current state:
==============
(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-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) "\\=.*\\[#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) "\\=.*\\[#C\\]")))
)
)
("w" "Waiting/delegated tasks" tags
"TODO=\"WAITING\"|TODO=\"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<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
((org-agenda-overriding-header "Unscheduled tasks: ")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote scheduled)
(quote deadline)
(quote timestamp)
(quote regexp)
"\\* \\(DEFERRED\\|SOMEDAY\\)")
)
)
(org-agenda-files
(quote
("~/Dropbox/todo.txt")
)
)
(org-agenda-sorting-strategy
(quote
(todo-state-up priority-down category-up)
)
)
)
)
("U" "Deferred tasks" tags
"TODO=\"DEFERRED\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
((org-agenda-overriding-header "Deferred tasks:")
)
)
("S" "Someday tasks" tags
"TODO=\"SOMEDAY\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
((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) "\\=.*\\[#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=\"Inbox\"&LEVEL=2"
((org-agenda-overriding-header "Uncategorized items")))
("W" "Unscheduled work tasks" tags
"CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&CATEGORY<>\"Website\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>1"
((org-agenda-overriding-header "Unscheduled work tasks")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote scheduled)
(quote deadline)
)
)
)
(org-agenda-sorting-strategy
(quote
(todo-state-up priority-down)
)
)
)
)
("z" "CEG tasks not in Bugzilla" tags
"CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&CATEGORY<>{Website\\|Admin}&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>1&SCOPE<>\"local\""
((org-agenda-overriding-header "CEG tasks not in Bugzilla")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote regexp)
"\\(cegbug:\\)")
)
)
)
)
("Z" "CEG tasks in Bugzilla" tags
"CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"DELEGATED\"&TODO<>\"NOTE\"&LEVEL>1"
((org-agenda-overriding-header "CEG tasks in Bugzilla")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote notregexp)
"cegbug:")
)
)
(org-agenda-sorting-strategy
(quote
(todo-state-up category-down priority-down user-defined-up)
)
)
)
)
)
org-agenda-files '("~/Dropbox/todo.txt" "~/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 :ID: %(shell-command-to-string \"uuidgen\") :END:\n %U" :prepend t)
)
org-agenda-scheduled-leaders '("" "S%d: ")
org-footnote-section nil
org-archive-save-context-info '(time category itags)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-babel-tangle-lang-exts '(("haskell" . "hs") ("python" . "py") ("emacs-lisp" . "el"))
org-agenda-text-search-extra-files '(agenda-archives)
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=1/-DONE" ("TODO" "STARTED" "NEXT" "NEXTACTION") nil
"\\(Appointments\\|Notes\\|Anniversaries\\)")
org-clock-in-resume t
org-export-preprocess-hook '(org-export-blocks-preprocess org-eval-replace-snippts)
org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-maybe
org-babel-hide-result-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-mac-mail-account "GMail: BoostPro"
org-confirm-shell-link-function nil
org-cycle-global-at-bob t
org-reveal-start-hook '(org-decrypt-entry)
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-use-tag-inheritance nil
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 '((#("NASIM" 0 5 (face nil)) . 110) (#("WORK" 0 4 (face nil)) . 119))
org-agenda-persistent-filter t
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 '(#[nil "\300\301\302\"\207" [local-set-key [(control 44)] backward-word] 3]
(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-agenda-files :maxlevel . 5) (nil :maxlevel . 5))
org-extend-today-until 8
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-agenda-skip-deadline-if-done t
org-enforce-todo-dependencies t
org-reverse-note-order t
org-occur-hook '(org-first-headline-recenter)
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-gnus 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-blocks nil) (comment org-export-blocks-format-comment t)
(ditaa org-export-blocks-format-ditaa nil)
(dot org-export-blocks-format-dot nil))
)
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: Odd Ido interaction [7.01trans]
2010-09-04 18:26 Bug: Odd Ido interaction [7.01trans] David Abrahams
@ 2010-09-12 10:17 ` David Maus
2010-10-04 8:54 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: David Maus @ 2010-09-12 10:17 UTC (permalink / raw)
To: David Abrahams; +Cc: emacs-orgmode
[-- Attachment #1.1.1: Type: text/plain, Size: 1290 bytes --]
David Abrahams wrote:
>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.
>------------------------------------------------------------------------
>When I go to refile an agenda item, say, under another item called
>"Happiness," I type `r h a p' and see:
> Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) | Happiness (todo.txt)}
>where the 2nd and 3rd instances of "Happiness" show up in blue. Is
>it expected to see multiple identical choices, and if so, why?
I can confirm this inconsistency with
Org-mode version 7.01trans (release_7.01h.496.g200f7.dirty)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian
and the attached minimal setup. It seems to be caused by the setting
of `org-refile-targets':
(setq org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files :maxlevel . 5)))
Both conditions match: If I remove one of them, IDO completion shows
the refile target only once.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.1.2: minimal.el --]
[-- Type: application/octet-stream, Size: 898 bytes --]
(add-to-list 'load-path "~/projects/org-mode/origin/lisp/")
(require 'org-install)
(require 'org)
;; Setup agenda files
(setq org-agenda-files '("/tmp/org/"))
(unless (file-exists-p "/tmp/org")
(make-directory "/tmp/org"))
(with-current-buffer (find-file-noselect "/tmp/org/file1.org")
(erase-buffer)
(insert "* Headline to refile")
(save-buffer))
(with-current-buffer (find-file-noselect "/tmp/org/file2.org")
(erase-buffer)
(insert "* Target for refile operation")
(save-buffer))
(setq org-completion-use-ido t)
(ido-mode t)
(setq org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files :maxlevel . 5)))
(org-agenda)
;; Debugging info
(insert
(format "\n%s\n\n%s"
(org-version)
(emacs-version)))
Org-mode version 7.01trans (release_7.01h.496.g200f7.dirty)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian)
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: Odd Ido interaction [7.01trans]
2010-09-04 18:26 Bug: Odd Ido interaction [7.01trans] David Abrahams
2010-09-12 10:17 ` David Maus
@ 2010-10-04 8:54 ` Carsten Dominik
2010-10-04 10:28 ` David Abrahams
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-10-04 8:54 UTC (permalink / raw)
To: David Abrahams; +Cc: emacs-orgmode
Hi David,
well, it can happen that an item shows up multiple ways - if it has
been selected by different methods. For example, if your org-refile-
targets variable is like this:
((org-agenda-files :level . 1)
(org-agenda-files :tag . "refile")
(nil :maxlevel . 2))
then you could get three instances:
1. it is a level 1 item in any of the agenda items
2. it has the tag "refile" and is in an agenda file
3. The item you are trying to refile is in the same file
as the refile target - in that case, the entry
is shown as a headline with level <= 2
Looking at your setting for org-refile-targets,
this is definitely somehing that could happen to you.
I am not sure how cheap it would be to eliminate
duplicate entries, this might be an N^2 operation.
In the end, it is not a huge problem, I guess?
- Carsten
On Sep 4, 2010, at 8:26 PM, David Abrahams wrote:
>
>
> 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.
> ------------------------------------------------------------------------
>
> When I go to refile an agenda item, say, under another item called
> "Happiness," I type `r h a p' and see:
>
> Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) |
> Happiness (todo.txt)}
>
> where the 2nd and 3rd instances of "Happiness" show up in blue. Is
> it expected to see multiple identical choices, and if so, why?
>
> Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-
> appkit-1038.29)
> of 2010-05-08 on black.local
> Package: Org-mode version 7.01trans
>
> current state:
> ==============
> (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-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) "\\=.*\\[#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) "\\=.*\\[#C\\]")))
> )
> )
> ("w" "Waiting/delegated tasks" tags
> "TODO=\"WAITING\"|TODO=\"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<>{CEG\\|ABC\\|Bizcard\\|Adagio\
> \|EVAprint\\|\\<IT\\>}"
> ((org-agenda-overriding-header
> "Unscheduled tasks: ")
>
> (org
> -agenda-skip-function
>
> (quote
>
>
>
> (org
> -agenda-skip-entry-if
>
>
>
>
>
>
>
> (quote
> scheduled)
>
>
>
>
>
>
>
> (quote
> deadline)
>
>
>
>
>
>
>
> (quote
> timestamp)
>
>
>
>
>
>
>
> (quote
> regexp)
>
>
>
>
>
>
>
> "\\* \\(DEFERRED
> \\|SOMEDAY\\)")
>
>
>
> )
>
> )
>
> (org
> -agenda-files
>
> (quote
>
>
>
> ("~
> /Dropbox/todo.txt")
>
>
>
> )
>
> )
>
> (org
> -agenda-sorting-strategy
>
> (quote
>
>
>
> (todo
> -state-up priority-down category-up)
>
>
>
> )
>
> )
>
> )
> )
> ("U" "Deferred tasks" tags
> "TODO=\"DEFERRED\"&CATEGORY<>{CEG\\|ABC
> \\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
> ((org-agenda-overriding-header
> "Deferred tasks:")
> )
> )
> ("S" "Someday tasks" tags
> "TODO=\"SOMEDAY\"&CATEGORY<>{CEG\\|ABC\
> \|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
> ((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) "\\=.*\\[#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=\"Inbox\"&LEVEL=2"
> ((org-agenda-overriding-header
> "Uncategorized items")))
> ("W" "Unscheduled work tasks" tags
> "CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio
> \\|IT\\|EVAprint}&CATEGORY<>\"Website\"&TODO<>\"DONE\"&TODO<>
> \"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>1"
> ((org-agenda-overriding-header
> "Unscheduled work tasks")
>
> (org
> -agenda-skip-function
>
> (quote
>
>
>
> (org
> -agenda-skip-entry-if
>
>
>
>
>
>
>
> (quote
> scheduled)
>
>
>
>
>
>
>
> (quote
> deadline)
>
>
>
>
>
>
>
> )
>
>
>
> )
>
> )
>
> (org
> -agenda-sorting-strategy
>
> (quote
>
>
>
> (todo
> -state-up priority-down)
>
>
>
> )
>
> )
>
> )
> )
> ("z" "CEG tasks not in Bugzilla" tags
> "CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio
> \\|IT\\|EVAprint}&CATEGORY<>{Website\\|Admin}&TODO<>\"DONE\"&TODO<>
> \"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>1&SCOPE<>\"local\""
> ((org-agenda-overriding-header "CEG
> tasks not in Bugzilla")
>
> (org
> -agenda-skip-function
>
> (quote
>
>
>
> (org
> -agenda-skip-entry-if
>
>
>
>
>
>
>
> (quote
> regexp)
>
>
>
>
>
>
>
> "\\(cegbug
> :\\)")
>
>
>
> )
>
> )
>
> )
> )
> ("Z" "CEG tasks in Bugzilla" tags
> "CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio
> \\|IT\\|EVAprint}&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>
> \"DELEGATED\"&TODO<>\"NOTE\"&LEVEL>1"
> ((org-agenda-overriding-header "CEG
> tasks in Bugzilla")
>
> (org
> -agenda-skip-function
>
> (quote
>
>
>
> (org
> -agenda-skip-entry-if
>
>
>
>
>
>
>
> (quote
> notregexp)
>
>
>
>
>
>
>
> "cegbug
> :")
>
>
>
> )
>
> )
>
> (org
> -agenda-sorting-strategy
>
> (quote
>
>
>
> (todo
> -state-up category-down priority-down user-defined-up)
>
>
>
> )
>
> )
>
> )
> )
> )
> org-agenda-files '("~/Dropbox/todo.txt" "~/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 :ID: %(shell-command-to-string \"uuidgen\") :END:\n
> %U" :prepend t)
> )
> org-agenda-scheduled-leaders '("" "S%d: ")
> org-footnote-section nil
> org-archive-save-context-info '(time category itags)
> org-after-todo-state-change-hook '(org-clock-out-if-current)
> org-babel-tangle-lang-exts '(("haskell" . "hs") ("python" . "py")
> ("emacs-lisp" . "el"))
> org-agenda-text-search-extra-files '(agenda-archives)
> 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=1/-DONE" ("TODO" "STARTED" "NEXT"
> "NEXTACTION") nil
> "\\(Appointments\\|Notes\\|Anniversaries\\)")
> org-clock-in-resume t
> org-export-preprocess-hook '(org-export-blocks-preprocess org-eval-
> replace-snippts)
> org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-
> maybe
> org-babel-hide-result-toggle-maybe)
> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
> org-mac-mail-account "GMail: BoostPro"
> org-confirm-shell-link-function nil
> org-cycle-global-at-bob t
> org-reveal-start-hook '(org-decrypt-entry)
> org-export-first-hook '(org-beamer-initialize-open-trackers)
> org-use-tag-inheritance nil
> 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 '((#("NASIM" 0 5 (face nil)) . 110) (#("WORK" 0 4
> (face nil)) . 119))
> org-agenda-persistent-filter t
> 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 '(#[nil "\300\301\302\"\207" [local-set-key [(control
> 44)] backward-word] 3]
> (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-agenda-files :maxlevel . 5)
> (nil :maxlevel . 5))
> org-extend-today-until 8
> 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-agenda-skip-deadline-if-done t
> org-enforce-todo-dependencies t
> org-reverse-note-order t
> org-occur-hook '(org-first-headline-recenter)
> 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-gnus 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-blocks nil) (comment org-
> export-blocks-format-comment t)
> (ditaa org-export-blocks-format-ditaa nil)
> (dot org-export-blocks-format-dot nil))
> )
>
> --
> Dave Abrahams
> BoostPro Computing
> http://www.boostpro.com
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: Odd Ido interaction [7.01trans]
2010-10-04 8:54 ` Carsten Dominik
@ 2010-10-04 10:28 ` David Abrahams
0 siblings, 0 replies; 4+ messages in thread
From: David Abrahams @ 2010-10-04 10:28 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
At Mon, 4 Oct 2010 10:54:39 +0200,
Carsten Dominik wrote:
>
> Hi David,
>
> well, it can happen that an item shows up multiple ways - if it has
> been selected by different methods. For example, if your org-refile-
> targets variable is like this:
>
> ((org-agenda-files :level . 1)
> (org-agenda-files :tag . "refile")
> (nil :maxlevel . 2))
>
> then you could get three instances:
>
> 1. it is a level 1 item in any of the agenda items
> 2. it has the tag "refile" and is in an agenda file
> 3. The item you are trying to refile is in the same file
> as the refile target - in that case, the entry
> is shown as a headline with level <= 2
>
> Looking at your setting for org-refile-targets,
> this is definitely somehing that could happen to you.
>
> I am not sure how cheap it would be to eliminate
> duplicate entries, this might be an N^2 operation.
It is if you use a linear list ;-) A hash table should allow an O(N)
solution.
> In the end, it is not a huge problem, I guess?
Probably not. In my case it was purely a configuration mistake.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-04 10:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-04 18:26 Bug: Odd Ido interaction [7.01trans] David Abrahams
2010-09-12 10:17 ` David Maus
2010-10-04 8:54 ` Carsten Dominik
2010-10-04 10:28 ` David Abrahams
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).