From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gKF7CHNYTmMrHwAAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 09:40:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kMJ8CHNYTmMiCwEA9RJhRA (envelope-from ) for ; Tue, 18 Oct 2022 09:40:35 +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 A98E8F60B for ; Tue, 18 Oct 2022 09:40:34 +0200 (CEST) Received: from localhost ([::1]:40534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okhDF-0005X2-Mr for larch@yhetil.org; Tue, 18 Oct 2022 03:40:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okh2n-0005IT-3I for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 03:29:46 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okh2f-0001dc-Ud for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 03:29:44 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BC0DE24002B for ; Tue, 18 Oct 2022 09:29:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666078174; bh=2cxiUdJPYPTV7CEn02dJsI45bh17NWvmtMF4kNXD+bs=; h=From:To:Cc:Subject:Date:From; b=K7VWklQdI6fGEKq58An0Ya6z45kc367cCN0gHbzPdSa9DjfaRxZ21DZRxjA+Wfieq 5Hx2UFrw1RGvTpC2HULkK5Pf32dE1XQFyU1nMYzekVx6w+CImh4qtFQOpsRZXUejas 04eN0YUgxJaPpYV+/Ya1MVUTJYZe+iDxx5uhRcmqKEZiOcbmeHM+4g22kBym3WgNF2 0jNdZuWE1zrs7yT5XfObIEsqMLIIcMu1Wu5MFnIuwmGNEqJQqinUg81he8XbGXd8ZP gr1qluXe/dbBvXWx65wPuiDmrD/a/w/0BWQXPd+FHtyHs0AsXkvFk0p0npnenORCkf 3YRFKFkYmKdRA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ms58s1dVMz9rxL; Tue, 18 Oct 2022 09:29:32 +0200 (CEST) From: Ihor Radchenko To: Detlef Steuer Cc: Emacs Org mode mailing list Subject: Re: surprising(?) interaction between agenda grid and default-duration In-Reply-To: <20211119135325.7f3f85a9@hsu-hh.de> References: <20211119135325.7f3f85a9@hsu-hh.de> Date: Tue, 18 Oct 2022 07:30:19 +0000 Message-ID: <87edv5fv1w.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, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=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" 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=1666078834; 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=jfyAcBp/8IY3HK5GNweB5zgsctmuk/9KEZ3unGbp2Y4=; b=praeL20hDfkARxQIjMnzSGEbTcEOHDv82hWLyaN0PugfHdvpZ0o0dx6jHOTcb35hqd6NmB ifzypUdBryvsmZaUicTE5tDZcaapT864NWulPWSDLudLqS7IBVs+Ng5tEAqCVFB+m8AbDk Gf+MqKUpNZGrOX80qsB+qLNhcpDkR9aan8wYd7QyONlkGSZ8zipcRLfwVPjj+gDc7m+V21 Z8/f1JnkanzRDZUZ6xxIH7d9j5VIlyzKAbGdi4lWVMEealmI0GIt1GI3RHwShwRo4afKL8 fkAkl3xOxyaKT+/oiN2627Tgz5KGV9HjZXlM3dTXb3+IVKuJrYC53/JO/6v1Cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666078834; a=rsa-sha256; cv=none; b=HFEG7DnKu7+hqdMUTvf27b1OTjdqbrCxZeAk72CrNqxzXjCIXB0o2cDyaaq5uMGQfgEh6b faPFoKWOqtpniYcu1JmoIzrCbabPUVMyqMCWGiY7pJoEpLJGfbmvEpFGLi4nVDslr0TBnq dsN6KupbwzgEYJj/nocfIT/E9w7yjFobI854FcD/aU8bqpXaCxMZSO4Mw8B0YZrSKj6lle xrCG9Kufe3e3PgDvFh1gnu7XllvO0XdG1Ytbo9SvQArqyUZTrAUBXSHXci7n5j1QWBtAx0 eWA4tge0Ckxt/TNkcNQAYL/ADJaom6nQh1GLNrcbBouIyuEgr7F3nosLorzERA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=K7VWklQd; dmarc=pass (policy=none) header.from=posteo.net; 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: -8.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=K7VWklQd; dmarc=pass (policy=none) header.from=posteo.net; 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: A98E8F60B X-Spam-Score: -8.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: aM7gl3sRD+5a Detlef Steuer writes: > I you specify a default duration of an event, say, > > (setq org-agenda-default-appointment-duration 60) > > and specify a time grid, say > > (setq org-agenda-time-grid '((today remove-match) > (800 1000 1200 1400 1600 1800 2000) > "......" "----------------" )) > > Then setting the default duration overrides the grid appearance. > ... > 13:40-14:40 now - - - - - - - - - - - - - - - - - - - - - - - - - > 14:00-15:00 ---------------- > 16:00-17:00 ---------------- > 18:00-19:00 ---------------- > 20:00-21:00 ---------------- > > caught me by surprise. Even the 2 hour block length setting is overridden. > > If this should be considered a bug, I don't know. But maybe the manual > should mention and describe the relationship between these settings? > > As the description of org-agenda-default-appointment-duration does not > mention the grid at all, I would think the logical improvement would be > to let the grid alone and use the default duration as advertised only. Confirmed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at