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 ms0.migadu.com with LMTPS id 4IZQDFIfE2FMIAAAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 02:52:34 +0200 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 gO6JB1IfE2FsaQAAbx9fmQ (envelope-from ) for ; Wed, 11 Aug 2021 00:52:34 +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 5055411002 for ; Wed, 11 Aug 2021 02:52:33 +0200 (CEST) Received: from localhost ([::1]:41524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDcTv-0006GR-Ci for larch@yhetil.org; Tue, 10 Aug 2021 20:52:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDcSn-0005Fd-UD for emacs-orgmode@gnu.org; Tue, 10 Aug 2021 20:51:21 -0400 Received: from ciao.gmane.io ([116.202.254.214]:35178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDcSm-0005am-8p for emacs-orgmode@gnu.org; Tue, 10 Aug 2021 20:51:21 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mDcSi-0001KM-II for emacs-orgmode@gnu.org; Wed, 11 Aug 2021 02:51:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: Bug: org-clock-report tag matching seems to be broken [9.1.9 (release_9.1.9-65-g5e4542 @ c:/Users/user/emacs-26.3-x86_64/share/emacs/26.3/lisp/org/)] Date: Tue, 10 Aug 2021 20:51:08 -0400 Message-ID: <875ywcdcsj.fsf@alphaville.usersys.redhat.com> References: <1f512066029b46c7941f1f92bd128a14@tms-bonn.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:P9n13DftLzy/97RK98xYGQfkYsI= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628643153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=tiSkQjudnLVY1I8RFNYdqJQUmuGC6xpNLDLJLjw7JNc=; b=f4ABB/If6q6QvbreiZ4lwzby2u2erOVkk/xxMUjMazCCIv4ZJqb8ZEBy1mrjkQgCWEGrpj efnOpTwMEufcDIdSO9EGup/KoIHVxoKiTEFFL+x1i0Guq1Bs0HLBeU7Al+FBh9oDyqe9o8 nvIWLlUGSFPqnyYaBAWkGQiAGaUziiAOwbLTQKE4Ic7RXhjBCYuln+bb+RboeQ8mDvOTaH c8u+BTcWSo7cdvHv1NZkVfch1NeX0iKyX9Aarm/59qMexIO4KKs6rxlOivU1eWO8w050xr GeLzC3IRN5vZXEqtnL9Ofsrko5AgBls0KN1Pso8jPtKwwOkAIFvViaD/J4E2tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628643153; a=rsa-sha256; cv=none; b=hGiRQKUqzP/pgPVUAl8zSGjpjGvioQ1Ub0sMwtwz0E/fvrM5IuICrkbW7kRO+cCJXvmd4c l/wcSlBZa1CaSc5cfRJPCOA0knNkQGw/912vrIgYej8P/zwNLasVSEJNsnVxy9mEIESgUY oinbwOrk1FNLYebuXUaqDw98pfMC1RU7cju9g0oivN+LMm7GYUHHgglmwZhgZklSJvq3R7 H2dwofAUesuxuRgB13yZe/L5jpHGZrrP3HPBaj3CELryef05RDYP8HeNYHNblQ1bUVxmnw smfwKaawmzDJ1+oqmBg4Qc6/R9Zry0OI7PzfHW34FmwThcMOAlpsfqgBPU++Dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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-Migadu-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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-Migadu-Queue-Id: 5055411002 X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: uQ+52k0pULA5 "Lewalder, Sebastian" via "General discussions about Org-mode." writes: > I recently updated my packages and after the update the clock tables are > > not working anymore. I reran an report from june and here too the > > matching didn't work anymore. > > #+BEGIN: clocktable :scope file :maxlevel 4 :match "traj" IIUC, the problem is the presence of both `maxlevel' and `match' specifiers: the code does not handle that case correctly. You might want to try a patch that I submitted some time ago to fix that: https://orgmode.org/list/87h7h0w5nz.fsf@alphaville.usersys.redhat.com/ I believe this is the second time that this problem has been reported to the mailing list since then (plus there was a question about the same problem on Emacs SE), so if you can review it and/or try it out, that might help to get it reviewed and merged. If anybody else is willing to review it as well, I'd appreciate it. Thanks! -- Nick > > #+CAPTION: Clock summary at [2021-08-06 Fr 08:48] > > | Headline | Time | | | | > > |---------------------------+--------+------+------+------| > > | *Total time* | *2:33* | | | | > > |---------------------------+--------+------+------+------| > > | 2021 | 2:33 | | | | > > | \_ 2021-06 Juni | | 2:33 | | | > > | \_ 2021-06-01 Dienstag | | | 2:33 | | > > | \_ Trajectory calc | | | | 0:41 | > > | \_ Concept work | | | | 1:52 | > > #+END: > > * 2021 > > ** 2021-06 Juni > > *** 2021-06-01 Dienstag > > **** Trajectory calc :traj: > > :LOGBOOK: > > CLOCK: [2021-06-01 Di 11:40]--[2021-06-01 Di 12:21] => 0:41 > > :END: > > **** Concept work :concept: > > :LOGBOOK: > > CLOCK: [2021-06-01 Di 13:10]--[2021-06-01 Di 13:24] => 0:14 > > CLOCK: [2021-06-01 Di 12:21]--[2021-06-01 Di 12:41] => 0:20 > > CLOCK: [2021-06-01 Di 10:22]--[2021-06-01 Di 11:40] => 1:18 > > :END: > > Emacs : GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) > > of 2019-08-29 > > Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/Users/user/emacs-26.3-x86_64/share/emacs/26.3/lisp/org/) > > current state: > > ============== > > (setq > > org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) > > org-after-todo-state-change-hook '(org-clock-out-if-current) > > org-metadown-hook '(org-babel-pop-to-session-maybe) > > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > > org-agenda-files '("~/org") > > org-modules '(org-habit) > > org-mode-hook '(er/add-org-mode-expansions > > #[0 "\300\301\302\303\304$\207" > > [add-hook change-major-mode-hook org-show-block-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 > > #[nil "\300\301!\207" [run-hooks prelude-org-mode-hook] 2]) > > org-archive-hook '(org-attach-archive-delete-maybe) > > org-confirm-elisp-link-function 'yes-or-no-p > > org-agenda-before-write-hook '(org-agenda-add-entry-text) > > org-metaup-hook '(org-babel-load-in-session-maybe) > > org-babel-pre-tangle-hook '(save-buffer) > > org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) > > org-log-done 'time > > org-habit-show-habits-only-for-today nil > > org-occur-hook '(org-first-headline-recenter) > > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines > > org-optimize-window-after-visibility-change) > > org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) > > org-confirm-shell-link-function 'yes-or-no-p > > org-link-parameters '(("id" :follow org-id-open) ("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)) > > ) > -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler