[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: Usability for tags in master branch [9.1.12 (release_9.1.12-646
From: |
Bernt Hansen |
Subject: |
[O] Bug: Usability for tags in master branch [9.1.12 (release_9.1.12-646-gb08245 @ c:/D-Drive/bin/org-mode/lisp/)] |
Date: |
Fri, 27 Apr 2018 09:59:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
Hi!
With the below org file tags handling behaves in a surprising way.
* TODO Test Parent :PRODUCTION:MISC:
** TODO foo :BAR:
** keys to reproduce
1) At beginning of line 2 on TODO foo
2) M-ret to insert a new heading before foo
3) S-ret to get TODO keyword
- auto fills :PRODUCTION:MISC: tags ?
4) SPC now does not work to insert a space after the TODO so I can type my
headline
I have to use C-f
5) C-c C-q on this line now removes both tags
I thought this was a bug but it seems to be removing tags that are defined
by the parent tasks and maybe that is intentional
6) When I enter a parent tag C-c C-q MISC RET it is displayed and then removed
if I do another C-c C-q
This was surprising to me and I thought tag handling was completely broken
Until I tried a tag not in a parent task
try C-c C-q TAB MISC RET
C-c C-q TAB PRODUCTION RET
Thanks for all your amazing work on org-mode!
Best regards,
Bernt
====== minimal.emacs
==========================================================================
(add-to-list 'load-path "C:/D-Drive/bin/org-mode/lisp/")
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(require 'org)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
====== test.el-emacs
==========================================================================
(setq org-agenda-tags-todo-honor-ignore-options t)
(setq org-fast-tag-selection-single-key (quote expert))
(setq org-tag-alist (quote ((:startgroup)
("S1" . ?1)
("S2" . ?2)
("S3" . ?3)
(:endgroup)
("WAITING" . ?w)
("HOLD" . ?h)
("PERSONAL" . ?P)
("FS" . ?f)
("DEFECT" . ?d)
("DEV" . ?D)
("QA" . ?Q)
("MISC" . ?M)
("crypt" . ?E)
("CANCELLED" . ?c)
("FLAGGED" . ??))))
(setq org-tags-match-list-sublevels t)
(setq org-todo-keyword-faces
(quote (("TODO" :foreground "red" :weight bold)
("NEXT" :foreground "blue" :weight bold)
("MEETING" :foreground "forest green" :weight bold)
("DONE" :foreground "forest green" :weight bold)
("WAITING" :foreground "orange" :weight bold)
("DELEGATED" :foreground "orange" :weight bold)
("HOLD" :foreground "magenta" :weight bold)
("PASS" :foreground "forest green" :weight bold)
("FAIL" :foreground "red" :weight bold)
("CANCELLED" :foreground "forest green" :weight bold))))
(setq org-todo-keywords
(quote ((sequence "TODO(t/!)" "NEXT(n/!)" "|" "DONE(d/!)")
(sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)"
"MEETING"))))
(setq org-todo-state-tags-triggers
(quote (("CANCELLED" ("CANCELLED" . t))
("WAITING" ("WAITING" . t))
("HOLD" ("WAITING") ("HOLD" . t))
(done ("WAITING") ("HOLD"))
("TODO" ("WAITING") ("CANCELLED") ("HOLD") ("DELEGATED"))
("NEXT" ("WAITING") ("CANCELLED") ("HOLD") ("DELEGATED"))
("DONE" ("WAITING") ("CANCELLED") ("HOLD") ("DELEGATED"))
("DELEGATED" ("DELEGATED" . t) ("WAITING") ("CANCELLED") ("HOLD"))
("PASS" ("WAITING") ("CANCELLED") ("HOLD")))))
Emacs : GNU Emacs 25.1.1 (x86_64-w64-mingw32)
of 2016-09-17
Package: Org mode version 9.1.12 (release_9.1.12-646-gb08245 @
c:/D-Drive/bin/org-mode/lisp/)
current state:
==============
(setq
org-agenda-tags-todo-honor-ignore-options t
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-confirm-shell-link-function 'yes-or-no-p
org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
("NEXT" :foreground "blue" :weight bold)
("MEETING" :foreground "forest green" :weight bold)
("DONE" :foreground "forest green" :weight bold)
("WAITING" :foreground "orange" :weight bold)
("DELEGATED" :foreground "orange" :weight bold)
("HOLD" :foreground "magenta" :weight bold)
("PASS" :foreground "forest green" :weight bold)
("FAIL" :foreground "red" :weight bold)
("CANCELLED" :foreground "forest green" :weight bold)
)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(org-tempo-setup
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-all append local]
5]
#[0 "\300\301\302\303\304$\207"
[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-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn
ENTRY)"]
org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t))
("WAITING" ("WAITING" . t))
("HOLD" ("WAITING") ("HOLD" . t))
(done ("WAITING") ("HOLD"))
("TODO" ("WAITING") ("CANCELLED") ("HOLD")
("DELEGATED"))
("NEXT" ("WAITING") ("CANCELLED") ("HOLD")
("DELEGATED"))
("DONE" ("WAITING") ("CANCELLED") ("HOLD")
("DELEGATED"))
("DELEGATED" ("DELEGATED" . t) ("WAITING")
("CANCELLED") ("HOLD"))
("PASS" ("WAITING") ("CANCELLED") ("HOLD")))
org-archive-hook '(org-attach-archive-delete-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO(t/!)" "NEXT(n/!)" "|" "DONE(d/!)")
(sequence "WAITING(w@/!)" "HOLD(h@/!)" "|"
"CANCELLED(c@/!)" "MEETING")
)
org-fast-tag-selection-single-key 'expert
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-link-parameters '(("id" :follow org-id-open)
("eww" :follow eww :store org-eww-store-link)
("rmail" :follow org-rmail-open :store
org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link
:export org-irc-export)
("info" :follow org-info-open :export org-info-export
:store org-info-store-link)
("gnus" :follow org-gnus-open :store
org-gnus-store-link)
("docview" :follow org-docview-open :export
org-docview-export :store org-docview-store-link)
("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export
:complete org-bbdb-complete-link :store
org-bbdb-store-link)
("w3m" :store org-w3m-store-link) ("file+sys")
("file+emacs") ("doi" :follow org--open-doi-link)
("elisp" :follow org--open-elisp-link)
("file" :complete org-file-complete-link)
("ftp" :follow
(lambda (path) (browse-url (concat "ftp:" path))))
("help" :follow org--open-help-link)
("http" :follow
(lambda (path) (browse-url (concat "http:" path))))
("https" :follow
(lambda (path) (browse-url (concat "https:" path))))
("mailto" :follow
(lambda (path) (browse-url (concat "mailto:" path))))
("news" :follow
(lambda (path) (browse-url (concat "news:" path))))
("shell" :follow org--open-shell-link))
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-tag-alist '((:startgroup) ("S1" . 49) ("S2" . 50) ("S3" . 51) (:endgroup)
("WAITING" . 119) ("HOLD" . 104) ("PERSONAL" . 80)
("FS" . 102) ("DEFECT" . 100) ("DEV" . 68) ("QA" . 81)
("MISC" . 77) ("crypt" . 69) ("CANCELLED" . 99)
("FLAGGED" . 63))
)
- [O] Bug: Usability for tags in master branch [9.1.12 (release_9.1.12-646-gb08245 @ c:/D-Drive/bin/org-mode/lisp/)],
Bernt Hansen <=