From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2K2qCw3822HU6AAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 10 Jan 2022 10:27:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6CM2BA3822ECRwAAG6o9tA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 10 Jan 2022 10:27:41 +0100 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 83BE884BA for <larch@yhetil.org>; Mon, 10 Jan 2022 10:27:40 +0100 (CET) Received: from localhost ([::1]:60122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1n6qxn-0007tB-MB for larch@yhetil.org; Mon, 10 Jan 2022 04:27:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <p.samim@gmail.com>) id 1n6qxF-0007sv-62 for emacs-orgmode@gnu.org; Mon, 10 Jan 2022 04:27:05 -0500 Received: from [2a00:1450:4864:20::533] (port=36642 helo=mail-ed1-x533.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <p.samim@gmail.com>) id 1n6qxD-0004MV-KB for emacs-orgmode@gnu.org; Mon, 10 Jan 2022 04:27:04 -0500 Received: by mail-ed1-x533.google.com with SMTP id 30so49317034edv.3 for <emacs-orgmode@gnu.org>; Mon, 10 Jan 2022 01:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=jVNCaYfBvem4U8Bz5EmntTyDXO0H68eTq3CU3br00hQ=; b=G5DR56r21VNXzPi/vmciZBUwIET52rRNYy+dB38xDdYHFyjB2JxgeotdlozJ6SaUOn 4/eehAPTXt15S5WKw0NW7RZ6A0fhNJkrrYMQqVlgc8HFZ5aLR0G9SqLP3zPc1u56vgPE TTSUU6vVeMqeRzrUOd7/LcJ3yyRQGp6TtrMXnIgoBKHW3nLIvBZHHTmIMKrtGWG6luz5 Qj4z5x9SW4NzOwxQXx4c89o0o+ELl4ENam0mAIGnBbLBC8Fc2CygvDvMhcWF9dB3clt9 C7c7NzFP8f5FZ307PKeatt7tzreSjg2Zf8RraVW9hm4VN/P6Uvet8lwLrEVPdfatOD0i f2Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jVNCaYfBvem4U8Bz5EmntTyDXO0H68eTq3CU3br00hQ=; b=oIc/4haXHR6cmGfKchqQQF+3aESbaAgaJoRb3NUng9T6i3OXcRqcRIrJL39zNQYSR9 ml154RWqPJaCSBTQsRSAVh6dVirgxVNxJiIiqrIYkpUgU57ArVTvgo4dapC3uWVi0mWo 4M6EXm4Zx2xQ/B9Oi3hr4HTRiHYseApEFLUpqPBa6hYs10Uajuo0HcMt3AzCV92In133 ohhEkh0wJ7LSazBxhefnFLvQE87ZE1Dkw5ktYFQL9SwSbXaRVds49Ck+g6OUeEkbS+jC KdHCVa6SIw70uHncqhFDGBrI+mf0npslYou1ynXPvgV2N3s2sKYKNZMuvw+4Qe+q3zd6 uChQ== X-Gm-Message-State: AOAM53305wynWObez8/xxkmj1kNUP6MTzWLpSqXt9PMrY6YQncJsyNif dysRZ7WylNzgxramjnWRcz1Q+mxLdjlOM9BanhWSMGoCWbgG8oYyFyU= X-Google-Smtp-Source: ABdhPJw1FsaSjXeAqlgBZoQwBxbHcHnxFRIrw8x7kozJEkB0Xx4kDQpmZAilmD4e5q9j2wkpzcJkbJTHwOz/DzcLwhY= X-Received: by 2002:a17:906:5ac8:: with SMTP id x8mr9078841ejs.345.1641806821162; Mon, 10 Jan 2022 01:27:01 -0800 (PST) MIME-Version: 1.0 From: Samim Pezeshki <p.samim@gmail.com> Date: Mon, 10 Jan 2022 12:56:49 +0330 Message-ID: <CAJAdVc06_tj58Je=tn42JqfUtkjamQBQdcvobQXeegARS_M0hQ@mail.gmail.com> Subject: [PATCH] lisp/org-agenda.el: Add header to agenda clock report table To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="0000000000005d9a5605d536f02d" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::533 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=p.samim@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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.29 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641806860; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z3cSrNXt9FVci1wGo9isvC1OxBdJYJ1wTMqrTTyxCb8=; b=eSp7FX7s5dQQc/pPo3t4NVWp5NPAE1J8Fo/EwrCnkw1z2LDD9vOAIBUMNU876ZqH3VZBWa XxuowdR3akohtuPwi1kQXV8yxrjBJRMl9OUPHBltHCCOsVKgFB7ox1utzdsm92uiACfakY vn9iV/ui/NGjCiWuaA+UV08JzSRkIIN9Jt7aSrRtgPXbaQi8sbmo4a/W6wFXQ0J6KwPPOj WTdiMvK8s0xQQpX6dyTuM+se1lJpYDFyvkDB8vwP5vYDUZ1/pPRDZSugWV2P2HyJWbWl5w wTsMvXAH4g6d7SknXNCXVQrfxbrgRitOsE/3aUfxQlrB0kKdpfp0OMHeWwEJcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641806860; a=rsa-sha256; cv=none; b=DtbZvHZ6/tUibrny54aTgB9jR9qrMEirptQ7c2s57wZRVrjyCbpyrz7ymdgp5Q8rih44cH cNxdbwqK1peUMi3CPbblax/uC9LQY/e1Dgqjxm7QDJHvRFjIL9gR7ZeK5+RmM+NUDNveut Yho9AfgN0KrPUIqHbgIJz2Rcupgf65YkCX1Nr2cI7KSNsHwNqfntkdxEEz7YgN0m4L1ASb O2bXUQJNjOb7wW2/rP/CXbpvjMsAuvECZqVcjPbN6uj9/ko/e8nGwOsNlljOREDwrllJIF 4FQct1u/0Kq3x6lgcfzy4fMRfC4XD85Z068FGH0lDsLHs2lHFUH+pvoaKpc+tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=G5DR56r2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=G5DR56r2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 83BE884BA X-Spam-Score: -1.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: cW1/7YA3ta0m --0000000000005d9a5605d536f02d Content-Type: multipart/alternative; boundary="0000000000005d9a5305d536f02b" --0000000000005d9a5305d536f02b Content-Type: text/plain; charset="UTF-8" Hi, This patch adds a header to the clock report table in the agenda, if org-agenda-clock-report-header is set. Thanks, Samim --0000000000005d9a5305d536f02b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:small;color:#003333">Hi,</div><div class=3D"gmail_defau= lt" style=3D"font-family:tahoma,sans-serif;font-size:small;color:#003333"><= br></div><div class=3D"gmail_default" style=3D"font-family:tahoma,sans-seri= f;font-size:small;color:#003333">This patch adds a header to the clock repo= rt table in the agenda, if=C2=A0</div><div class=3D"gmail_default" style=3D= "font-family:tahoma,sans-serif;font-size:small;color:#003333">org-agenda-cl= ock-report-header is set.<br></div><div class=3D"gmail_default" style=3D"fo= nt-family:tahoma,sans-serif;font-size:small;color:#003333"><br></div><div c= lass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:sma= ll;color:#003333">Thanks,</div><div class=3D"gmail_default" style=3D"font-f= amily:tahoma,sans-serif;font-size:small;color:#003333">Samim</div></div> --0000000000005d9a5305d536f02b-- --0000000000005d9a5605d536f02d Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-org-agenda.el-Add-header-to-agenda-clock-report.patch" Content-Disposition: attachment; filename="0001-lisp-org-agenda.el-Add-header-to-agenda-clock-report.patch" Content-Transfer-Encoding: base64 Content-ID: <f_ky8hd3u00> X-Attachment-Id: f_ky8hd3u00 RnJvbSAzNmJjMjk4YzE4MjAwMDNjZDJhOTM3MGJjMzZjMjFlZmU2NjdlN2I0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTYW1pbSBQZXplc2hraSA8cHNhbWltQGdtYWlsLmNvbT4KRGF0 ZTogTW9uLCAxMCBKYW4gMjAyMiAxMjozMjo1MSArMDMzMApTdWJqZWN0OiBbUEFUQ0hdIGxpc3Av b3JnLWFnZW5kYS5lbDogQWRkIGhlYWRlciB0byBhZ2VuZGEgY2xvY2sgcmVwb3J0IHRhYmxlCgoq IGxpc3Avb3JnLWFnZW5kYS5lbCAob3JnLWFnZW5kYS1saXN0KTogQWRkIGhlYWRlciB0byBhZ2Vu ZGEKY2xvY2sgcmVwb3J0IHRhYmxlLgoKVElOWUNIQU5HRQotLS0KIGRvYy9vcmctbWFudWFsLm9y ZyB8IDQgKystLQogZXRjL09SRy1ORVdTICAgICAgIHwgMSArCiBsaXNwL29yZy1hZ2VuZGEuZWwg fCA5ICsrKysrKysrKwogMyBmaWxlcyBjaGFuZ2V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