From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cBcvDWnxCl/DHwAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 11:18:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 9oTGCGnxCl9FbQAAbx9fmQ (envelope-from ) for ; Sun, 12 Jul 2020 11:18:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9606E9400B7 for ; Sun, 12 Jul 2020 11:18:00 +0000 (UTC) Received: from localhost ([::1]:48594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juZzb-0008Uo-9H for larch@yhetil.org; Sun, 12 Jul 2020 07:17:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juLz0-0006ZZ-Qk for emacs-orgmode@gnu.org; Sat, 11 Jul 2020 16:20:26 -0400 Received: from vimdzmsp-sfwd06.bluewin.ch ([195.186.227.133]:43786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juLyt-00035C-QN for emacs-orgmode@gnu.org; Sat, 11 Jul 2020 16:20:26 -0400 Received: from localhost ([185.11.170.37]) by vimdzmsp-sfwd06.bluewin.ch Swisscom AG with ESMTPA id uLynjCB1F4AORuLyojYY7v; Sat, 11 Jul 2020 22:20:14 +0200 X-Bluewin-Spam-Analysis: v=2.3 cv=P4BEeRIu c=1 sm=1 tr=0 a=xDOrxjsDED8Tcqshyl209w==:117 a=xDOrxjsDED8Tcqshyl209w==:17 a=IkcTkHD0fZMA:10 a=xQQMuSm_AAAA:8 a=p8M9As6GAAAA:8 a=nmqU2ZQBAAAA:8 a=WO6sY30sAAAA:8 a=j7Yk5LtxmbqPr_8FKiMA:9 a=QEXdDO2ut3YA:10 a=1HMpZ8J7RvQA:10 a=CZc88EN_g57LaXgVDqUr:22 a=XE5IgdsAJ2VqE8KaxZ8z:22 a=LIukeNU0WjUGtBxVc8jK:22 a=K12yvkwUKgqFLvpCTPlD:22 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=jd6J4Gguk5HxikPWLKER:22 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[185.11.170.37] Epoch[1594498814] X-Bluewin-AuthAs: hpgisleropen@bluewin.ch From: hpgisleropen@bluewin.ch To: emacs-orgmode@gnu.org Subject: Bug: A tag of a subject doesn't get archived if org-archive-subtree-add-inherited-tags t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)] Date: Sat, 11 Jul 2020 22:21:13 +0200 Message-ID: <875zatkdl2.fsf@hu.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4wfEMCy9NQEM979Z3AFqpq5azxdEugY447TEHQi3+jo86Y8Om0rPO3p2npDEkb0SooeCpcwqbtrgDUsfIKrmjrmkVSvHX39LDHYWoI2uIQAUdmuIObYBKz M9pyhZWOBMWmVuYPWp5n69WIP7T6/ZQC4+eoIQskhCvuE8j0pHiqOz7V Received-SPF: pass client-ip=195.186.227.133; envelope-from=hpgisleropen@bluewin.ch; helo=vimdzmsp-sfwd06.bluewin.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/11 16:20:14 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 12 Jul 2020 07:17:25 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: Zw2Ua3eZm97y a) if: org-archive-subtree-add-inherited-tags nil then: Archiving a subject with its tag (C-c $) works as expected, i.e. the subject together with it's tag is archived b) if: org-archive-subtree-add-inherited-tags t then Archiving a subject with its tag (C-c $) archives the subject with only its inherited tag but NOT its original tag Example: * parent subject :parent: ** child subject :child: Archiving result: a) * child subject :child: <-- ok b) * child subject :parent: <-- nok What I would expect: b) * child subject :parent:child:=20 ---------------------------------------------------------------------------= ----- Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-05-19 Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emac= s/26.3/lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-caldav-calendars '((:calendar-id "7233a14a-4d9b-d577-d639-95096b2c8fdb= " :files ("~/hp.org") :inbox "~/org/hp.org") (:calendar-id "d9ac6596-34bb-9422-a7bb-e33aeba14639" :files ("~/family.o= rg") :inbox "~/org/family.org")) org-after-todo-state-change-hook '(org-clock-out-if-current) org-columns-default-format "%TODO(state) %ITEM(task) %TAGS(by)" org-archive-subtree-add-inherited-tags t org-metadown-hook '(org-babel-pop-to-session-maybe) org-global-properties '(("Estimate_ALL" . "0:15 0:30 1:00 2:00 3:00 5:00 8= :00 13:00") ("STYLE_ALL" . "habit")) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9)) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-enforce-todo-dependencies t org-odt-format-headline-function 'org-odt-format-headline-default-function org-agenda-files '("~/d_SUP.1-project-management" "~/hp.org" "~/family.org= " "~/org/hp.org" "~/org/family.org") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-modules '(org-bbdb org-bibtex org-docview org-gnus org-habit org-info = org-irc org-mhe org-rmail org-w3m) org-agenda-log-mode-items '(closed state) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id org-mode-hook '((lambda nil (local-unset-key (kbd "C-c C-m"))) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-sho= w-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-bab= el-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-startup-indented t org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n= (fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-export-with-broken-links 'mark org-caldav-url "https://cloud7:5232/hp" org-babel-load-languages '((shell . t)) org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS = WIDTH)"] org-ellipsis "=E2=80=A6" org-icalendar-include-todo t org-catch-invisible-edits t org-occur-hook '(org-first-headline-recenter) outline-minor-mode-hook '(my-outline-easy-bindings) org-agenda-window-setup 'current-window org-log-into-drawer t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o= rg-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "WAIT(w)" "|" "DONE(d!)") (type "W= AIT(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@)")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-hierarchical-todo-statistics nil org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-caldav-save-directory "~/org/.org-caldav/" org-refile-allow-creating-parent-nodes 'confirm org-caldav-backup-file "~/org/.org-caldav/org-caldav-backup.org" org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("notmuch" :follow org-notmuch-open :store org-notmu= ch-store-link) ("w3m" :store org-w3m-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) ("info" :follow org-info-open :export org-info-export :store org-i= nfo-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :st= ore org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete or= g-bbdb-complete-link :store org-bbdb-store-link) ("id" :follow org-id-open) ("file+sys") ("file+emacs") ("doi" :fol= low 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:" pat= h)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))= ) ("shell" :follow org--open-shell-link)) org-icalendar-use-scheduled '(todo-start event-if-todo event-if-not-todo) org-icalendar-timezone "Europe/Zurich" org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-capture-templates '(("p" "private") ("pa" "appointment" entry (file+headline org-default-notes-file "Appoin= tments") "* %?\n%t\n%i\n%a" :unnarrowed nil :prepend t) ("pA" "calFw appointment" entry (file+headline org-default-notes-file "= Appointments") "* %?\n%(cfw:org-capture-day)\n%i\n%a" :unnarrowed nil :prepend t) ("pt" "todo" entry (file+headline org-default-notes-file "Tasks") "* TO= DO %?\n%i\n%a" :unnarrowed nil) ("pj" "journal" entry (file+olp+datetree org-default-notes-file "Journa= l") "* %?\n%i\n%a") ("w" "work") ("wt" "todo" entry (file+headline "/home/hp/todos.org" "Captures") "* TODO %?\n%i\n%a" :unnarrowed nil) ("t" "todo" entry (file+headline "/home/hp/todos.org" "Captures") "* TODO %?\n%a\n%i" :unnarrowed nil) ) org-todo-keyword-faces '(("WAIT" :foreground "turquoise3" :weight bold)) org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-emphasis-alist '(("*" bold) ("/" italic) ("_" underline) ("=3D" (:fore= ground "orange")) ("~" org-verbatim verbatim) ("+" (:strike-through t))) org-agenda-compact-blocks t org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}" ("\\= section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .= "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\se= ction*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}"= . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%= s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subse= ction*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}")= ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subse= ction*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-html-format-headline-function 'org-html-format-headline-default-functi= on org-agenda-dim-blocked-tasks nil org-confirm-babel-evaluate nil org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-due) org-agenda-custom-commands '(("N" "Notes" tags "NOTE" ((org-agenda-overrid= ing-header "Notes") (org-tags-match-list-sublevels t))) ("h" "Habits" tags-todo "STYLE=3D\"habit\"" ((org-agenda-overriding-header "Habits") (org-agenda-sorting-strategy (quote (todo-state-down effort-up category= -keep)))) ) (" " "Agenda" ((agenda "" nil) (tags "REFILE" ((org-agenda-overriding-header "Tasks to Refile") (org-t= ags-match-list-sublevels nil))) (tags-todo "-CANCELLED/!" ((org-agenda-overriding-header "Stuck Projects") (org-agenda-skip-func= tion (quote bh/skip-non-stuck-projects)) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-HOLD-CANCELLED/!" ((org-agenda-overriding-header "Projects") (org-agenda-skip-function (= quote bh/skip-non-projects)) (org-tags-match-list-sublevels (quote indented)) (org-agenda-sorting-= strategy (quote (category-keep)))) ) (tags-todo "-CANCELLED/!NEXT" ((org-agenda-overriding-header (concat "Project Next Tasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITIN= G and SCHEDULED tasks)")) ) (org-agenda-skip-function (quote bh/skip-projects-and-habits-and-sing= le-tasks)) (org-tags-match-list-sublevels t) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-sorting-strategy (quote (todo-state-down effort-up catego= ry-keep)))) ) (tags-todo "-REFILE-CANCELLED-WAITING-HOLD/!" ((org-agenda-overriding-header (concat "Project Subtasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITIN= G and SCHEDULED tasks)")) ) (org-agenda-skip-function (quote bh/skip-non-project-tasks)) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-REFILE-CANCELLED-WAITING-HOLD/!" ((org-agenda-overriding-header (concat "Standalone Tasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITIN= G and SCHEDULED tasks)")) ) (org-agenda-skip-function (quote bh/skip-project-tasks)) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-CANCELLED+WAITING|HOLD/!" ((org-agenda-overriding-header (concat "Waiting and Postponed Tasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITIN= G and SCHEDULED tasks)")) ) (org-agenda-skip-function (quote bh/skip-non-tasks)) (org-tags-match-= list-sublevels nil) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-= tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-= tasks)) ) (tags "-REFILE/" ((org-agenda-overriding-header "Tasks to Archive") (org-agenda-skip-fu= nction (quote bh/skip-non-archivable-tasks)) (org-tags-match-list-sublevels nil)) ) ) nil) ) org-directory "~" org-icalendar-alarm-time 1 org-default-notes-file "~/hp.org" )