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 ms11 with LMTPS id gOuRJXKU018TXQAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 15:46:58 +0000 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 wDFlIXKU01+BAgAA1q6Kng (envelope-from ) for ; Fri, 11 Dec 2020 15:46:58 +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 1667A9404E1 for ; Fri, 11 Dec 2020 15:46:58 +0000 (UTC) Received: from localhost ([::1]:37336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knkdF-0001MY-15 for larch@yhetil.org; Fri, 11 Dec 2020 10:46:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knkbv-0001At-Iw for emacs-orgmode@gnu.org; Fri, 11 Dec 2020 10:45:36 -0500 Received: from mout.gmx.net ([212.227.15.18]:35129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knkbq-0004YU-JO for emacs-orgmode@gnu.org; Fri, 11 Dec 2020 10:45:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607701528; bh=pQcOPne3ltJsBTcXXwX8uXVZQvuiyZ6IxGnoGleMrG8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=B2bPN1TvTwiwBPeHvfikmLOreaU1DODSTH9WcZWaExYuJuEJcPdgu8a5dBIPCMwHU UhugOKbzvR+Ry098p7R3UGUbZ21IOROrU+xXzrugllBfHHvpsW9VkHtQpQBGjD/NpC Kvn3ZFob0Z0dAU5hPLf91KLTVEcFJkDfLacjzr8U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Fri, 11 Dec 2020 16:45:28 +0100 MIME-Version: 1.0 Message-ID: From: steve-humphreys@gmx.com To: Marco Wahl Subject: Re: Using org-agenda-time-grid with lists Content-Type: text/plain; charset=UTF-8 Date: Fri, 11 Dec 2020 16:45:28 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87blf0tl9p.fsf@gmail.com> References: <87blf0tl9p.fsf@gmail.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:53nUUkOQWlaw2eZwD30R+Wk0Db4uivYSSUlTbkGhfYfY6GdzEBjanWLXumtGIBmrIXdNW qv5WF9IKvFTR7Z3wu57S87oGBd5qA1THG4hSFTPPYmPQLIa7EirjdGRb8wVJjCQu/rrrg8nfP0Ax fAqsfPeXnz9cs3xxjpa42lW1OaLbCbdu9DqOieb6MLe+9r3FlAABJAGaXltS+O1FozrxIV6Bw9Ix ULmlaTX2rIR+g9Xoq9lfS/wK8DypVCytXd7m0LpctBnX6ghUEeAJtVi1z82qe3fqJUVUU+UR9uB+ E8= X-UI-Out-Filterresults: notjunk:1;V03:K0:j7SNIh9k9Rg=:CSiT+Z2JYqv7fXBaGNa2Cb ZgIKt/seZGHyaQLKlpI9MXbblzKh9J+7/OnKyg+Z7QEbmS6JeMb2bAwZrKpjRIXXTB2jPI2DN VNEc9T4JhpiRm8MysYyN4GYqkwzMqOgAMoVYG5Mg3bVoq1XpsgHN60ABtj79CGfRQighowYYJ IqSJ8KuI0U+rYUrb4JkgqdHzyj42ncxuUaHhJ9uKIA/b4ZaDfYuEzU5dXBOQiY3keESwNE+fF edXtxLshoOGvsPfqe3H2Zvyid17AMeIeR0N69aHXNrL1nTrE8E4h2OQ7cCHlLiZJt3VaWIUIW 5KxWe6uyXk5QBze+vjcrI2aHTABMbs40HudmyV3S3NeFX8eHgu4SgC6JMG1w0dcFvLQlMiVjd //DqRO6e4wPeVrC2iJbfGqIE7Y1Nc2y0eienG2Fe8roiLE7ubZeDqdjgPpVdtXJSkoaYZimZe xcdDpR3nXq4Uae6VQ84uK6TCBglhRFGryL+Ue3T871DinMvqOk4WWL75tBtkbezsqQE183/jC YXDinRMngt+o7LmvqoXq+yLwoF9XRuwN9KSiHx+rycV2P2GmkbtqgPLZ/8y7impkhF3w8laDu 4gzk85tlFho0E= Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.15.18; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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: , Cc: Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=B2bPN1Tv; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.com (policy=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: 1667A9404E1 X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: EMq+/QqdorrU > Sent: Friday, December 11, 2020 at 4:28 PM > From: "Marco Wahl" > To: steve-humphreys@gmx.com > Cc: "Org-Mode mailing list" > Subject: Re: Using org-agenda-time-grid with lists > > steve-humphreys@gmx.com writes: > > > I am trying to insert finer timings in org-agenda with the following c= ode. > > Haw can one pass a list in a list? > > > > (setq tm '(number-sequence 800 2000 30)) > > (setq org-agenda-time-grid '((daily today require-timed) > > tm "......" "----------------")) > > > > > > But this works well > > > > (setq org-agenda-time-grid '((daily today require-timed) > > (800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 2000) > > "......" "----------------")) > > What about > > (setq tm '(number-sequence 800 2000 30)) > > vs. > > (setq tm (number-sequence 800 2000 30)) > > ? Thank you Marco. I have made two versions for calling org-agenda-time-grid, but the first d= oes not comply with what the last call does. Yet the parameters are identical. (setq grid-displ '(today daily require-timed)) (setq tm '(number-sequence 800 2000 100)) (message "tm: %s" tm) (setq org-agenda-time-grid '('grid-displ 'tm "......" "----------------")) (setq org-agenda-time-grid '((today daily require-timed) (800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 2000) "......" "----------------")) Incidentally, how can one print a list in messages buffer? > HTH, > -- > Marco > >