From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4DlUCsFeV2bcUAAAe85BDQ:P1 (envelope-from ) for ; Wed, 29 May 2024 18:58:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4DlUCsFeV2bcUAAAe85BDQ (envelope-from ) for ; Wed, 29 May 2024 18:58:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OwWnwF17; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717001921; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=koMb2YPVk3zp35GUY94NU2amQqFcicPJ46ytQ5mkwx0=; b=fANr7CrebYkAn98azZ7NEZT4nc9QXUGFzkI/XJRHq/mnr69BFV8sNv59helb5F2jWKpmxs UeltqY9gamEiPlPViUI0lphm6DFS19kZtAlIJKC6Y/JrY+fiByFb9tflaTxTpnVB7m16UA xjBhlx20P3qeI+lJbPHCgvKmcvqTruqXc9RbBVqzEhvFYCMkwpPoXNRf6csCJcTD5pB1vs F3SP4cMSeomB4Fcpyj/NDVVz1kvrfSGXrJqqYsIlwZc04XjoCTHw6aZUk2qAimqEa9bZW3 fS4YG+lfCfuPRrgaMMsQpYqHM/N8dlhY3xPA1WQ8DdK3g2PJRKNGbJEAqvYGDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OwWnwF17; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717001921; a=rsa-sha256; cv=none; b=DEOGnGFxshvmwsiysyDBF725K5jayWsfuhpoDIdDzG7K7ggwcO9suNl89ZcPNQSP3r7NIs bMlHmZMC0+rU/b9ohZNsd7EGsoXKwG7XfAdH8Xouyhx5vWK0eMEwOiLcIJpTcIE+Qlx8nL H3ui3i3Gq2djX6I2Kwf01xRmcnirKWKsqLCqvfagAvDN4aHk0svHW0sg/IZL+JZdSgsADa rU5oJAdXv0GOI7tkaxk3BDaSbHjSHb49/og4TF03urLwxajt1H434wmPKTIUAnjn0/z823 KYmjme6X9rpmwdEbocqEtsQP/LaiHU3Q8Fwnack353UaKHBHxaP7xnapF0gAOw== 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 E0E4312897 for ; Wed, 29 May 2024 18:58:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCMcO-0003Tv-Ks; Wed, 29 May 2024 12:57:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCMcN-0003Tg-Ht for emacs-orgmode@gnu.org; Wed, 29 May 2024 12:57:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCMcK-0003lR-Sy for emacs-orgmode@gnu.org; Wed, 29 May 2024 12:57:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B558C240029 for ; Wed, 29 May 2024 18:57:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717001853; bh=y2d1WC2kYqvXF/J2qbt5bMHZ+aTKs9zghT0q1DLMcrE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=OwWnwF17tUocGJPpSHw5i+ljPeplBut7ureIiUBsZEybFEL4iwHOD4Cr/xTpuJdW9 zwYSQrDlNclBv+rdas33s26OBsKCU2yARcyaI4/JXnLChI+GSe9sz6/2l97w3AsAnC p80I0VdsBytKNqpS5jXEJBpTn5XyHnq15zKQ3CXVIvVhSmP2AI6J3A5rHPLy0jdhO6 fKpoxSRosgacfWPLbmMXzGAdGKp7GQ2apgjLoBPr4kNWgAAksB4aynQC/7xDOj4Ta7 OMe/2zehW3ndAqMJFeygt7XdSDJj9iqKg87fCMBGGRJ4wDwY5vOfB6kjl8uAUcKgT0 +oKu26NxE6jVA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VqFtN60Bzz6tvr; Wed, 29 May 2024 18:57:32 +0200 (CEST) From: Ihor Radchenko To: hrdl Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-agenda: incorrect display of multi-day date ranges [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)] In-Reply-To: References: Date: Wed, 29 May 2024 16:59:11 +0000 Message-ID: <87o78o7dwg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.56 X-Spam-Score: -9.56 X-Migadu-Queue-Id: E0E4312897 X-Migadu-Scanner: mx13.migadu.com X-TUID: AGaZnOuqWHVP hrdl writes: > Parts of org-agenda do not handle time ranges spanning multiple days > correctly. This is exarcabated when setting > org-agenda-default-appointment-duration , which adds an incorrect end > time to the entries corresponding to the start and end date. To > reproduce: > > (prog > (find-file "test.org") > (insert "* Entry\n<2024-05-30 Thu 14:00>--<2024-05-31 Fri 16:00>") > (save-buffer) > (setq org-agenda-default-appointment-duration 30) ;; optional > (org-agenda-file-to-front) > (org-agenda-list) > ;; Or, for ease of debugging > (with-current-buffer "test.org" > (setq date '(5 30 2024)) ;; Or 31 > (org-agenda-get-blocks)) > ) Confirmed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at