emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Bug: Group tag filters repeated per org-file [9.1.13 (release_9.1.13


From: Bernt Hansen
Subject: [O] Bug: Group tag filters repeated per org-file [9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)]
Date: Fri, 11 May 2018 23:21:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi,

This bug is mainly a visual annoyance when filtering by tag in the
agenda.  It is low priority to fix but I thought I should report it
anyway.

Thanks for all your fabulous work on org-mode!

Regards,
Bernt

--- test.org 
-----------------------------------------------------------------------------
*Keys To Reproduce*

1) Add test.org to org-agenda-files 
   C-c [ 

2) open agenda
   C-c a a

3) Filter by tag
   /
   shows 'Filter by tag [123whPfdDQMEc? '
   This is correct.

4) quit filter
   C-g
   
5) Switch back to test.org
   C-x o

6) Add a second org file to org-agenda-files
   C-x C-w test2.org RET
   C-c [

7) Add test.org to org-agenda-files 
   C-c [ 

8) open agenda
   C-c a a

9) Filter by tag
   /
   shows 'Filter by tag [123123whPfdDQMEc? '

   There is an extra '123' filter choice. One per org-agenda-files entry.

   On my setup I have 8 files in my org-agenda-files and '123' is
   repeated 8 times before the other filter options.

   shows 'Filter by tag [123123123123123123123123whPfdDQMEc? '

* TODO Test Parent                                          :PRODUCTION:MISC:
** TODO do something
** TODO foo                                                             :BAR:

--- test.el 
-----------------------------------------------------------------------------
(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.13 (release_9.1.13-751-g9dcc52 @
 c:/D-Drive/bin/org-mode/lisp/)



reply via email to

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