From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFLcLoAC22Bj6gAAgWs5BA (envelope-from ) for ; Tue, 29 Jun 2021 13:22:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KNz0KYAC22B6HwAAbx9fmQ (envelope-from ) for ; Tue, 29 Jun 2021 11:22:40 +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 82A881C9B3 for ; Tue, 29 Jun 2021 13:22:39 +0200 (CEST) Received: from localhost ([::1]:33032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyBp8-0001QA-4o for larch@yhetil.org; Tue, 29 Jun 2021 07:22:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyBok-0001PR-3w for emacs-orgmode@gnu.org; Tue, 29 Jun 2021 07:22:14 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:38486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyBog-0008Eu-MQ for emacs-orgmode@gnu.org; Tue, 29 Jun 2021 07:22:13 -0400 Received: by mail-pf1-x433.google.com with SMTP id c8so16915754pfp.5 for ; Tue, 29 Jun 2021 04:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=W4TSr32sQegBsgf42gZ9OEoul21BG2W8OHyyW4/UjVc=; b=CEb5nD0mRKnp06sEWt/BwtU1shk5w7A8Voyo79S54BSRdOJrj0BtYlwXa7y8KzadsP R/lRmogQmsUAgaGIVAWAZGtKUKOCUWEfM0rsLBxZcwdCaneQAuWEiFsOza7/zJUkESHK dHdSKeCmZrC9qRjzT+IUsC9Lg7zJCi+bBbUpJPqy3eujftg+x49G/b7pQtUgFb3TWK44 gElvFQOp2vV+/YV+VAyBKGAmaTm7LFlfyOUmhY2sYCC11EkQwW+PRaHPCdcVo++WK+1U xDcHKk+poRCHTbcyRMpQ4BjLUxo4T4wnYVuAzri7FG1uEqMHPvGXHIfVtpJcgzHnsJH8 aiWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=W4TSr32sQegBsgf42gZ9OEoul21BG2W8OHyyW4/UjVc=; b=ZlGXxBxlWSaXne0ld7ZitWz/UtbJO7+xf8nTFZDXX3GhzsaPVu7fkwwd2Y0AMG+x6v aHmFgdinbtX3EE2vXm5d326VR9T4heQnXCGZ//3q1RiponGgYTWx3hItR0UNMi7da5m1 zpcpQ+mVXhU/AOzwW8P7CjfvoJmsY7kLi58pKgC0lbEeJfbem1C7jmptGdecZ8YJ1P1e M3OZGtE+idq3mE94zDjY1+PFRbo/mXeP1zT6wgMQyRWvTwuc4L+wTp1QH06jahCLkgeR e3NXAmSjKOByMsAGCxo6oP4HIPgwHcn4DnomoVT4wVuDV42uJIyWt2B85bDtCx6jnIFK LyKQ== X-Gm-Message-State: AOAM530zOfPXvXmD7RlmbuTJHcTLHOuUfJiA4gb2eKyFmtZkVBbFvPAW xxQ4PX4+pyamRKV0exbZn3xnZOruWuU= X-Google-Smtp-Source: ABdhPJzgcXABEZUUvtY0NT4HNiRL6Dqpk5ZRYuMyk4YPek2eeVTjSvSijmG/snf3kQR7FQPZflaDdA== X-Received: by 2002:a63:1656:: with SMTP id 22mr462008pgw.86.1624965728795; Tue, 29 Jun 2021 04:22:08 -0700 (PDT) Received: from r1 ([190.239.232.58]) by smtp.gmail.com with ESMTPSA id r92sm3055785pja.6.2021.06.29.04.22.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 04:22:08 -0700 (PDT) From: Rodrigo Morales To: emacs-orgmode@gnu.org Subject: How to compute timespan in Agenda view? Date: Tue, 29 Jun 2021 06:22:03 -0500 Message-ID: <87zgv8q5k4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-pf1-x433.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 autolearn=ham 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=1624965759; 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=W4TSr32sQegBsgf42gZ9OEoul21BG2W8OHyyW4/UjVc=; b=ZOiebAFMgGWJh9VOV9oLca6N7QMu6nz0xDM1LlC0OUTU+2itGCI6krkmhtye1PBpPOLUXJ bL4c4oLfXwGqkHdc29ZhaiPd0U2p9nFV0ooBmwRPU1NSR3Xmyucp4pgQEaFiYIb/PCX5SN 0eqI3ghpHXYXFwarYT+vIpyRxAemGgx967PaEKn/F1HakQLbIfDi9slZYCAfSzsOmMl7Y4 wqtlO8V9VBQxJOhu/8X2Lm65aCnRv6+5/joOaH35PjA6ORZHBU9wGUXzyKbj/Lu4gD409v AJaEmtZnZ4ya9o9lN732fVBUaLKIyBy1jelc1SnLBNJuRoPqrxDIwWo2Zk3BGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624965759; a=rsa-sha256; cv=none; b=tqRZn7a8fRttz+BQLeUg2NUIjhph3YVI/7ZUqOsdIeOtUjbXA+5uKXxoorhHwOzG5k5rgo eXQNfxV85xY+ehhL+BO1th2UKwdIQtZ3gPcYUHkqJ2Ey1hv4dZWt90/vuqTUxKzKwa5Iy/ NZZrMsGcWd7Wnd/rHd0pLRT2tX4EO+QtlRTXG+YkDPQz31JTmPbZMoJi3+bmxIHCGMn7EE 456EqGbhFjLO2t27FeemfQ3AHgP5erbkZh6tmC/UuAModMUxHf5IEBnGVISn9darAov7X/ J6X7f7pGcXKKEcp/aa6zE5dYw95984ZzCjrz+m66eWF4kDkDJdTrnF+cSIm2Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=CEb5nD0m; dmarc=pass (policy=none) header.from=gmail.com; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=CEb5nD0m; dmarc=pass (policy=none) header.from=gmail.com; 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: 82A881C9B3 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: VByOK+JAGvlS Let's say I move my cursor in the agenda view. Is there any built-in function for getting the timespan between the current date and the date at point? If there is no built-in function for accomplishing this. Could you point to some functions or variables that might help me to craft my own function?