From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wOdOBHGd1WKcZwAAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 19:50:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qGM7BHGd1WL3KQEAauVa8A (envelope-from ) for ; Mon, 18 Jul 2022 19:50:41 +0200 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 9F2CE3FBF1 for ; Mon, 18 Jul 2022 19:50:40 +0200 (CEST) Received: from localhost ([::1]:49570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDUtD-0001xy-1z for larch@yhetil.org; Mon, 18 Jul 2022 13:50:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDRwc-0005TZ-Tl for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 10:41:59 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:40797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDRwb-0001gN-FA; Mon, 18 Jul 2022 10:41:58 -0400 Received: by mail-pl1-x631.google.com with SMTP id b2so9208136plx.7; Mon, 18 Jul 2022 07:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:message-id:date:cc:to; bh=WJDT1OwKJqL8Cq3410kUT6RSBVDFJbXy11B1/7jqmUI=; b=K6zPXpMx6hmegkVwBZwrq3a28aPju7SL+gUr4dzC+f77hIPDLUJXJgj1r8nZwumI/X LLAGnoePt3Bb/Af7kQ5osri6Ctn6YTpl9yEjDUu3r4EQtb6ZMokZv8A7fUmRQFL1yDwi JrujXoXNou8nUaTN+mymY4mSk5z2tnQAvxEesrh6epH29uCTHdWhFfAP8rGRC/NZx4PQ e340x9o2PAviqzHfg75V2JAqya6czbab0n5zplAiQHSN9E6JVu9ksHyEZfakD79Fye0p KYkTGkr+sCt/E9dRJrEkyC73LojpsTMnKyYTwXj3anAXQv4vYVogD8dXlqjBFr9oCHnk BImQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:message-id:date:cc:to; bh=WJDT1OwKJqL8Cq3410kUT6RSBVDFJbXy11B1/7jqmUI=; b=5BdXpFg8hT6ZwuOdOsreosi96Oh1/GaoURoh5oLddXirJtREEAT0WOwN1kOOUZAufH gqlJs6DrHpYUE+7kz7niVYobtKBkmn/07H2VkmFhFYAE6NjA2445gsPkgyF3491ffbyy dMskuj7bPadPFbtpysfUjFtWfz2CHUIMhV1by1vysHMXBi5NEn+ScWVt5DaKVb5k4rzG rtwLQa4qzNuhEYE9Sia21Ivn14rvSJl6NJR6uGnRYPDS0NQS7HFtWyngjJz8Z5OmvE3I 4nGcz87Ge8pi+DNsphby3vbJvT1VYmrHjkjs2YjVNPmBfC9EKw+xu0pAzV7arUcGLkey /NJA== X-Gm-Message-State: AJIora/heKuxRDJiRLrqqMwiJpZheqN5tg3ShZD8Lps53zqVjlbSWMyi 2me31zdpwhbHfukBS3yqw+eHOox9QlGQ6CQO X-Google-Smtp-Source: AGRyM1tlC+gxnpwU22ffGvAmaWIPoVvEQbAi3xqN2uYtd0OwLGh8kNMi36E37DCmUrfNyoMwaf1Jlg== X-Received: by 2002:a17:90a:dc01:b0:1ef:e3bd:a473 with SMTP id i1-20020a17090adc0100b001efe3bda473mr38443903pjv.129.1658155314285; Mon, 18 Jul 2022 07:41:54 -0700 (PDT) Received: from smtpclient.apple ([240b:10:2080:d400:547a:2c75:e3b8:dbde]) by smtp.gmail.com with ESMTPSA id 184-20020a6206c1000000b0052553215444sm9343545pfg.101.2022.07.18.07.41.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2022 07:41:53 -0700 (PDT) From: Mamoru Miura Content-Type: multipart/mixed; boundary="Apple-Mail=_DC75641F-3C94-4B32-A438-E4AC813A4EE0" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: Bug: Appointments duration and effort sums in agenda column view [9.3.7 (release_9.3.7-700-ga1e5be @ ~/.emacs.d/straight/build/org/)] Message-Id: <9F4AA657-D34B-4B85-A80D-1DD4B3017DB2@gmail.com> Date: Mon, 18 Jul 2022 23:41:50 +0900 Cc: emacs-orgmode@gnu.org, s.vlasov@uvt.nl To: bzg@gnu.org X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=mamo0110@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FAKE_REPLY_B=1.566, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 18 Jul 2022 13:33:39 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658166640; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WJDT1OwKJqL8Cq3410kUT6RSBVDFJbXy11B1/7jqmUI=; b=g6MOLBv8ICeSK9gbpiQA1ljVCRreKxnx4HqxgK0NblXDvG+CxzsPpYGFzKv5QdqdUGqOtu 9xt22Rhyl2/rPwshQfPf58drjBmK/S4IEZdnAe6lYmRE6MZk8euSaiJeZp7UYYO/zQr0I9 jUpwC1x7pLm1Gq19crMjWlAJtRy8jsqc31EwzhwYCq+gRbbLwbQzM+gapgmcdIKFNgb0Mc z2lVPg5PnWtweglWwKNQHIYdeu9a0durb64AMuBgLpgUKkgjQd8Xfcn9tv5R8fKio22JE9 U9lnNgGw+2pftgGwYSjFVispiFXx8a2U2nX2HU/0GMHHGdR+LdyonvRRCMoORw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658166640; a=rsa-sha256; cv=none; b=ZM1d1kOB+1o+UJ/hWKJQ4FtsNWUsYq5uO093WR1Xs3ZM8WFo1Rp5lEjnWhYgR/D0pVYDoN haTgHnZgFNo+PLsCviTFgpQUX9Dp3yQsJqMzRP0gmUIeZ+bvi3UUa6bRmNGO6/HNPWjuFi V30SAj64iRjPU8hQF8YovhS89HvfhORFW3DlxUrCwjgVtS90dUYTSty4hY6wxPd03sWYGM NGFmJx+Yg8ysZ/T2x3r0Q/EVqRK/v55ATBAUKRWlIzGd/g0V+RAxOy0zo04Rz9TWQdCIOg iom+G5clNvKRF8HEucV+AbC9N9CIutUPqpaIZKp6Xr7g9aV0vkXOODxoln2bjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K6zPXpMx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K6zPXpMx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9F2CE3FBF1 X-Spam-Score: -2.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z+ebWDIrwrTd --Apple-Mail=_DC75641F-3C94-4B32-A438-E4AC813A4EE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear org community, I have also faced the problem and have made a patch to fix it. This = patch would not be the best solution since I'm unfamiliar with Emacs Lisp and the = detailed implementation of org-mode. I'd appreciate that if you would review and = merge the patch attached to this mail. Kind regards, Mamoru --Apple-Mail=_DC75641F-3C94-4B32-A438-E4AC813A4EE0 Content-Disposition: attachment; filename=0001-lisp-org-colview.el-Fix-missing-addition-of-appointm.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-lisp-org-colview.el-Fix-missing-addition-of-appointm.patch" Content-Transfer-Encoding: quoted-printable =46rom=20314877d3e4ec994a025f267a12ebc4d16b5a2aa5=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Mamoru=20Miura=20=0ADate:=20= Mon,=2018=20Jul=202022=2018:52:40=20+0900=0ASubject:=20[PATCH]=20= lisp/org-colview.el:=20Fix=20missing=20addition=20of=20appointments=20to=0A= =20effort=0A=0A*=20lisp/org-colview.el=20(org-columns--collect-values):=20= re-compute=0Aappointments'=20duration=20because=20this=20funtion=20can=20= not=20get=20text=20property=0A`'duration'.=0A=0ATINYCHANGE=0A---=0A=20= lisp/org-colview.el=20|=207=20+++----=0A=201=20file=20changed,=203=20= insertions(+),=204=20deletions(-)=0A=0Adiff=20--git=20= a/lisp/org-colview.el=20b/lisp/org-colview.el=0Aindex=20= 13643101b..35acc9deb=20100644=0A---=20a/lisp/org-colview.el=0A+++=20= b/lisp/org-colview.el=0A@@=20-288,10=20+288,9=20@@=20possible=20to=20= override=20it=20with=20optional=20argument=20COMPILED-FMT."=0A=20=09=09=09= =20=20=20=20=20;;=20to=20use=20appointment=20duration.=0A=20=09=09=09=20=20= =20=20=20org-agenda-columns-add-appointments-to-effort-sum=0A=20=09=09=09= =20=20=20=20=20(string=3D=20p=20(upcase=20org-effort-property))=0A-=09=09= =09=20=20=20=20=20(get-text-property=20(point)=20'duration)=0A-=09=09=09=20= =20=20=20=20(propertize=20(org-duration-from-minutes=0A-=09=09=09=09=09=20= =20(get-text-property=20(point)=20'duration))=0A-=09=09=09=09=09=20'face=20= 'org-warning))=0A+=09=09=09=20=20=20=20=20(when-let*=20((formatted-item=20= (org-agenda-format-item=20nil=20(org-get-entry)=20nil=20nil=20nil=20t))=0A= +=09=09=09=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (duration-string=20(get-text-property=200=20'duration=20= formatted-item)))=0A+=09=09=09=20=20=20=20=20=20=20(propertize=20= (org-duration-from-minutes=20duration-string=20'face=20'org-warning)))=0A= =20=09=09=09"")))=0A=20=09=20=20=20=20;;=20A=20non-nil=20COMPILED-FMT=20= means=20we're=20calling=20from=20Org=0A=20=09=20=20=20=20;;=20Agenda=20= mode,=20where=20we=20do=20not=20want=20leading=20stars=20for=0A--=20=0A= 2.37.0=0A=0A= --Apple-Mail=_DC75641F-3C94-4B32-A438-E4AC813A4EE0--