From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uF2vJpck22DuLQEAgWs5BA (envelope-from ) for ; Tue, 29 Jun 2021 15:48:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OKxxIpck22C7KAAA1q6Kng (envelope-from ) for ; Tue, 29 Jun 2021 13:48:07 +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 E55C820EEE for ; Tue, 29 Jun 2021 15:48:06 +0200 (CEST) Received: from localhost ([::1]:40728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyE5t-0001oa-Ga for larch@yhetil.org; Tue, 29 Jun 2021 09:48:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyDyK-0004Pn-9H for emacs-orgmode@gnu.org; Tue, 29 Jun 2021 09:40:16 -0400 Received: from mailbackend.panix.com ([166.84.1.89]:47613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyDyH-0004R2-3D for emacs-orgmode@gnu.org; Tue, 29 Jun 2021 09:40:16 -0400 Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 4GDlwB5Rgkz45kQ; Tue, 29 Jun 2021 09:40:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1624974010; bh=0VC4yKW/sKSQreAvJZH7ctEAGulP8m9L57Yq+uME1Es=; h=Date:From:To:Subject:In-Reply-To:References; b=Sjf2cJeI/3s3gm5T3h8kJQOIDMDePjxcd68QxECuY14uu3/uJkYjLzJ3fTjsjMpcA 1Etj4ZBNFqhHY7yDUJhMt84Oy16GZTkqrZwacbln/XCIDsxBN6p+alQN6gDOwXdigA ONbffqeYzvT7NrJLyzC7TKcJxDJrONjTFnJFHNFU= Received: by panix1.panix.com (Postfix, from userid 20712) id 4GDlwB4W6yzcbc; Tue, 29 Jun 2021 09:40:10 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by panix1.panix.com (Postfix) with ESMTP id 4GDlwB427LzcbP; Tue, 29 Jun 2021 09:40:10 -0400 (EDT) Date: Tue, 29 Jun 2021 09:40:10 -0400 From: Jude DaShiell To: Rodrigo Morales , emacs-orgmode@gnu.org Subject: Re: How to compute timespan in Agenda view? In-Reply-To: <87zgv8q5k4.fsf@gmail.com> Message-ID: References: <87zgv8q5k4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Received-SPF: pass client-ip=166.84.1.89; envelope-from=jdashiel@panix.com; helo=mailbackend.panix.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=1624974487; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ks4R2XBJZy4pQwVKOq77qDpwRMzVsJezt9h25TDCnwo=; b=Mh9l8Z+kI9Df08JhElE9zQdDUNlFVJEs8Uzgj88Jf4LwtPDuCSzEKqC7O/96F+eTCavJBT AdVOWa3umJ+QM1RiRHffNJCi2RVjYthPhdyn+fn4oq1XdOgu8JJPkFlPZzygbKhyBN87GD 15hgFEMEv/L6y5qKUuNLEM/I2EGALkER6cr/8gR5ibhNLMG3OTisKU7eQnKj3Ci8ZhWJSd DYst0FlYoCVHgFEC8v3x+BNKoMHGSF4ViUF3aR8MoVL9GQ41pMvcLiwYGomC21SDjlvLwc LE47ag4IQpC0Sd6NhZlBp9PJdmOE+0BmJdsEvEdFPTniQYzUAPwD9giKc8VcCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624974487; a=rsa-sha256; cv=none; b=F9/3JZ0bTds6bz6hAyWvzn8eg7auEN0bmDm2Qrgwzir/m6TyXpY+qAhVYz06tm3V6wHfZn mtu2u6jhFh4cAdW4QU8Wfd7VDKTMKZzqwkSX/g6JdUuh3juZhcvEf246Suq/lCh3CDhtvK DgTdWlVOS6Z1jV3WcFG9S8hJ0NAreSel0Ocn1XUlkfw9JIUN9pPucKSyXLMYf3fayLGnLw oHQTgkLVPNUUFgLLuiPQkBlUNbeEthxKPRZqZMfEjyNvm2zEEoEvZOAnPYQ25VNN5wpeaB 62JztDy9OGnULEyI0UL4vKKm7S7rlzQwIcFHCGK9ZOdcSmHBHMKFR4mpPKo0og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=panix.com header.s=panix header.b=Sjf2cJeI; 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: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=panix.com header.s=panix header.b=Sjf2cJeI; dmarc=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: E55C820EEE X-Spam-Score: -0.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: bMYKR22Q43ZW That would be useful even in tables. If memory serves there's a duration function but it's limited to time spans within 24 hours. On Tue, 29 Jun 2021, Rodrigo Morales wrote: > > 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? > >