From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wJamAjJDMWcSbQEA62LTzQ:P1 (envelope-from ) for ; Sun, 10 Nov 2024 23:35:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wJamAjJDMWcSbQEA62LTzQ (envelope-from ) for ; Mon, 11 Nov 2024 00:35:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731281713; a=rsa-sha256; cv=none; b=PEgOl+XkpExTnqdJxKRT5kz84OoMsrtQu1bUyln6Gi81ioRaD3tobosZF5UjNTf1Ss4O7e ErpA8QST/fARECIEPX/x/HNe9kp941Go8qFCNjuT7OGVugMe4m3kFiRC/LmzOqmrCsJCwq tR2lU6jdWlmnV/nJm2InmPbnHN/q/kt2FKD3yiBqokqvbARhA3rsseHA//cl8sn8x62dGj PTM3TjWZPVnlLXPRCr/eUy+FMWLr9rpuxPKyXA6nRjRgOb7vW28Y5HMvXPsLS5CBw+pKLq oo2EX7uHWSwuxuIj83+Nh7eYEDAGh4fNyUnYP7xlTfPhlqozdvawOzF0tSyCUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731281713; 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; bh=vV3blkAjx+WDnk1KHW+AtD7AZkIfmUG6k39ikPhEI6U=; b=Y84wB8an6bc10lJQDqtmoS+MPhKgSk0c0no6VM+F/LdJ0kDT/Vio7998L2GOHiyihMHU1L qv+LPI13L2M4aT7SrkNK4P5Bbvs4ZgSE9n+poAyp9rpnkEsYw+tgXaLvc9Q/lh8+uMsO6v LcfjHjk51PyDIQeG71KIf3qDJsOQXMUeQxgjAh+nx37Cfa5cpD/4vzn1Y0yAOhQT1vUEuY STevuXkssaD8U9GphgwhucDub5pg+35hAgx+tQHB3GRkQ35CmykpknYZLnc42/wSw4ahoL QaAcN+WGTAYA8uyqOhuXJx29rjNTWMsW7UAl5co1dLvw1c0CzGp6Olv00Gnjwg== 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 80AE68D623 for ; Mon, 11 Nov 2024 00:35:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAHRo-00080D-GZ; Sun, 10 Nov 2024 18:34:24 -0500 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 1tAHRl-0007ze-UP for emacs-orgmode@gnu.org; Sun, 10 Nov 2024 18:34:21 -0500 Received: from k-7.ch ([185.31.100.96]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAHRj-00074n-Pq for emacs-orgmode@gnu.org; Sun, 10 Nov 2024 18:34:21 -0500 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 4741CE8120 for ; Mon, 11 Nov 2024 00:34:16 +0100 (CET) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Org Mode List Subject: Re: Indirect follow mode in agenda: Display, edition and how to hide drawers In-Reply-To: <878qtycdmi.fsf@k-7.ch> (=?utf-8?Q?=22S=C3=A9bastien?= Gendre"'s message of "Tue, 05 Nov 2024 09:02:13 +0100") References: <878qtycdmi.fsf@k-7.ch> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Mon, 11 Nov 2024 00:34:15 +0100 Message-ID: <87msi6acjs.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.45 X-Spam-Score: -5.45 X-Migadu-Queue-Id: 80AE68D623 X-Migadu-Scanner: mx10.migadu.com X-TUID: uDg5FDhGNT7k --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I have solve my 2 problems. For the first one: All drawers are unfolded when agenda indirect follow mode show me the selected task. The solution is simple: By default, when you display the content of an Org file, everything is unfolded, including the drawers. Based on the manual [1], this can be managed with the variable `org-startup-folded` or the buffer setting `#+STARTUP:`. By default, the variable `org-startup-folded` is set to `showeverything`. Which tell Org-mode to unfold every headings, drawers, etc. I misunderstood the default behavior of Org-mode because, when I tested the add of a property to a new heading, the newly created "properties" drawer was folded. Same with the "logbook" drawer. But if I save the buffer to a file, close it and re-open the file, the drawers are unfolded. For my usage, I decided to keep the default behavior (unfold everything). Except for the file that keep my habits. The logbook drawer of my habits are too long to be unfolded when displayed by Org-agenda indirect follow. For the second problem: When a task have to many lines, the window opened by indirect follow mode is too tall, forcing the agenda window to be too small to be usable. Thanks to Karthik Chikmagalur, who tell me that the window behavior of Org-mode have changed with a commit from may this year, I updated to Org-mode 9.7. And my problem is solved with this new version. That it. I hope my summary is not too long and could help someone else with same problem. Have a nice day. [1] https://orgmode.org/manual/Initial-visibility.html S=C3=A9bastien Gendre writes: > [[PGP Signed Part:Good signature from B586F7C77239E29E S=C3=A9bastien Gen= dre (trust ultimate) created at 2024-11-05T09:02:13+0100 using= RSA]] > Hello, > > I have enabled the indirect follow-mode when the agenda start. Now, for > each agenda item, I can see the selected item details and only it. Which > is great. > > But I have multiple questions about it. > > > When a task have drawers, they are shown open. How a can I hide > them in this indirect follow mode=C2=A0? I didn't enable the opening of > drawers in my config and if I remember they are hidden by default. > > > The display of a task, with the indirect follow mode, is done bellow the > agenda, and it's window size is adapted to the length of the task > body. But when a task have a lot of text, it's window size take most > of the place and the agenda window is too small. How can I prevent the > task window to take all the place=C2=A0? > > > When I want to edit a task and press "TAB", the point is moved to > a window that show all the task. Not into the window opened by the > indirect follow mode. Is it possible to modify this=C2=A0? > > > > Best regards > > ------- > Gendre S=C3=A9bastien > > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmcxQvcLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p7hURAA0uETxl8CSXntCcBdzHu7HwNok03SDQnhfp3WyFR5 pJtet3jb7tUBMkAufeqqs9cl/GvF7d8Z+s/D8xFf6lUBe7GPe7lqlCcaMfOcjcoN Qgxz/YPfTaGcuAkjN0jYwabKDDnkAo75v7Tv2UF0+mu9Q0C0q3CF7DjLe+6pZopw H+Y4IzN5+HeHEnnNbugV/qWqOJ5hHn5CSicTL7/CLIAGTbJm2XyN1awlyDhUER82 l2ZD+aC0MboWJ6l1Vx99xCHsoEC62/EznBoImIgdVhSU7se8/ZyZ31B9KUrngd4c pLE2YkVg+DDM83JK2nGfvBpbukEOKtEvKGIGCZnu0A9n9hK55EkwRx5HoaQu0v3Q XatPYw0mK3ZVxbEjhTfeVrcD1DXaD5Grc9kqGZ5esAfYH4NauiLpmoR2l8V7gYtO Tq2oN3xrGO4G0p6XIllx7k3CERhYOND6F3BSTykQMv8CwfeUZ7MYIXlGeo01I8jd BAhEJNZa6X87MkYL8PUxx5M8qMeo1vudF3IE24EVIEBLl3a7ZjWG7MsAlmn6ZlgJ STuddW6ArhbyJcVRKz7JuY3u94bpFwDrZ6RdCdSAYJ8hbq3kedvTJfW+qIAvl6aa DYtClOPO7PSvDubgLw6/EWpxHeMgi2WdB5cmjiAA3hrc8gGKxpNpRBYBodCx5Ngx Ldc= =GRzd -----END PGP SIGNATURE----- --=-=-=--