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 OO/bC4eDbGFDkwAAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 22:11:51 +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 uMldB4eDbGGFZQAAbx9fmQ (envelope-from ) for ; Sun, 17 Oct 2021 20:11:51 +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 C73A49784 for ; Sun, 17 Oct 2021 22:11:50 +0200 (CEST) Received: from localhost ([::1]:44246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcCVZ-00048C-79 for larch@yhetil.org; Sun, 17 Oct 2021 16:11:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcCUn-000481-0w for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 16:11:01 -0400 Received: from ciao.gmane.io ([116.202.254.214]:35000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcCUl-0002G2-2x for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 16:11:00 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mcCUg-0005ay-V7 for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 22:10:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: problem with columnview and the match option Date: Sun, 17 Oct 2021 22:10:49 +0200 Message-ID: <87a6j7e7jq.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:cFwdU7OHNxLO6sEbRzZK2/H0CNw= Mail-Copies-To: never 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: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=1634501510; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=DsKYwJQrt/xVvtCLAxAe0xO/cly0Nf3KxnpSbn/N4i4=; b=o5ddtMccVmoldv/ruMY/6XCbQt88kEoCeQc086R6h8cyEBTKYsjbB75eTFqhZIciBxjEQD LnPL4AiEU9Tdwf/MZqh7jIepNRUSvb94oX4KLNtiGfvhPHaTzFeQFKR4qeX0pP1jvWgWSo iwfOeLOy8yFRzyGgnfHA8210Vi6TA6ELAlzs0DJ/7hi5X56JmCDH+W6OuCggXT65SLDgqU HFWpJbRvLfh+9VHoR7sxgWZDSToPiGR3ORA2K28CppO++lTVo09CvbwTNBlH3m0BItyLDn jy+iTnlxORi+4jI2nzSGoApzVnOMANyfaf1d/7ojTWzbU4FkppMgHRO8rnGdDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634501510; a=rsa-sha256; cv=none; b=pA2996CoWTUULgJ6P1141aBTBNr855EZBkuI5TL/vYOxb+Z7DATI9acwXBwLO1sl+6ZVRh 6rJ9jKydnDfHvhwQX+AZHGylkHEH5OHY5EYjDD01NtCQDPtrhAq5VXLO4wMlu9eB5YBt1t 3CzrqtTWkVZHOuGE3XWkPTzLf/3JSuSJIHBBJ5uLbQZEm4/IyypPijxYW6d6Z4UY5v14ng VF9W18KfZMZBupAjotcYxNXDLqHt7R4KsxmB/BseU8KLCgYiuZaWFGRZK3W0SLMcbXTW1l qY0D0lUtcIYXnE+uuZZHJDzh4IDIHpSIVDIZBAzWvEV2Jbh3mYyLfmQZnfk0yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (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: -2.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (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: C73A49784 X-Spam-Score: -2.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6me+yze2bNzI Hi Please look at this example #+begin_src lisp * Sheets :noexport: :PROPERTIES: :COLUMNS: %10SSheet(Sheet Nr) %10Ex(Exercise Nr) %17Date(Date) %7STATUS(Status){X/} :ID2: Sheet1 :END: ** DONE G1 :H1:G1: :PROPERTIES: :ID: G1 :User1: John :email1: john@gmail.com :Start: <2021-02-16 mar> :End: <2021-05-24 lun> :STATUS: [ ] :ST1: [ ] :Sheet: H1 :Ex: E1 :END: ** DONE G2 :H1:G2: :PROPERTIES: :ID: G2 :Usuario1: Jane :email1: jane@gmail.com :Start: <2020-07-26 Sun> :End: <2020-11-22 dom> :STATUS: [X] :ST1: [X] :Sheet: H1 :Ex: E3 :END: ** TODO G3 :G3:H2: :PROPERTIES: :Id: G3 :Usuario1: Fritz :Start: <2020-07-26 Sun> :End: <2020-11-22 dom> :ST2: [X] :STATUS: [X] :Sheet: H2 :Ex: E2 :END: - State "TODO" from "WAIT" [2021-10-17 dom 08:30] - State "WAIT" from "DONE" [2021-10-16 sáb 21:55] ** All groups #+BEGIN: columnview :hlines 2 :match "H1" :maxlevel 2 :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" | Status | Group | Exercise | Sheet | Status | |--------+-------+----------+-------+--------| | | | | | [1/2] | |--------+-------+----------+-------+--------| | DONE | G1 | E1 | H1 | [ ] | |--------+-------+----------+-------+--------| | DONE | G2 | E3 | H1 | [X] | |--------+-------+----------+-------+--------| | TODO | G3 | E2 | H2 | | #+END I don't understand why the line | TODO | G3 | E2 | H2 | | appears in the table, it does not fit condition I deleted the maxlevel condition #+BEGIN: columnview :hlines 2 :match "H1" :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" | Status | Group | Exercise | Sheet | Status | |--------+-------+----------+-------+--------| | DONE | G1 | E1 | H1 | [ ] | |--------+-------+----------+-------+--------| | DONE | G2 | E3 | H1 | [X] | #+END But now the row | | | | | [1/2] | Is missing. I am confused, I thought maybe exclude-tags could help #+BEGIN: columnview :hlines 2 :exclude-tags (H2) :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" | Status | Group | Exercise | Sheet | Status | |--------+-------+----------+-------+--------| | | | | | [1/2] | |--------+-------+----------+-------+--------| | DONE | G1 | E1 | H1 | [ ] | |--------+-------+----------+-------+--------| | DONE | G2 | E3 | H1 | [X] | |--------+-------+----------+-------+--------| | TODO | G3 | E2 | H2 | | #+END But not really, help would be appreciated. #+end_src