From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 uFDdN59LMWct4QAAe85BDQ:P1 (envelope-from ) for ; Mon, 11 Nov 2024 00:11:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uFDdN59LMWct4QAAe85BDQ (envelope-from ) for ; Mon, 11 Nov 2024 01:11:12 +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=1731283871; a=rsa-sha256; cv=none; b=VDDrwY4DrAk7NcWu3Em3HQYON9OZMXvuiTOHmr3ZvD5QhetdD7cepCSiATiNhQTrjpERZs W3xviTC0MzMQKEUy+dzeIPBUGrG9Lkj0lDZbr0FjhrkO7dBdbo6puhjwEJS1gXyoIp5yYY wH4UqbFtFBoHqYmrLpFnWihCydLvIJPNnXEDXJfLexgFbaITaDGejFmDlijP+71LJPTvYE vBKnC0hL79CU6HZ8xYtiGUMCzs0/Bh/tCbW1DszVVqPNNMkPW2CERtQOyxBgRWA5TRUQ68 FJ4Jpn7+Cx2EyTUky1yzHn28KippbpDxkeloHpcRe4AMI9QG6vygvwF6RWWN7Q== 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=1731283871; 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=RNeOSkahItvBfNFi0oD/FUGQmNl1JXgusuGqVGaQ8Go=; b=FQE6JEC2Yf9VUaY/OyzOb9slSWxciyxfV/PUVFzaUWB2qfHoy1eyXBJBF4dIAuiO/R1+5B qW3mE0Aft4KFrWIOZ8BzHQtycy3tAKwzoinuVcy2QaJzL0Ee13wqPSpzi+86VN4k2wXJ5J Sug3NLGoZhVQ4hFcKfHbIF2+0Nhy7FvLRnALdqO2Eqkd7/O8LYCqycx1Xodb27jLVi028u a4VMxCx+RQatF/1Svd/SxVIylErdS7fcBkzBtsMd/Jsv9qVYxWLEv0c0Ctcf3V0e7Ca39q uug+ge1pJQQncXs+yn5mPRfhfDQAWk3ImWgXDySM0eq+oVDa3TA/dB4lsj+sfQ== 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 52EF18DD74 for ; Mon, 11 Nov 2024 01:11:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAI0Q-0004kq-QP; Sun, 10 Nov 2024 19:10:10 -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 1tAI0O-0004js-9t for emacs-orgmode@gnu.org; Sun, 10 Nov 2024 19:10:08 -0500 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAI0M-0001n0-5e for emacs-orgmode@gnu.org; Sun, 10 Nov 2024 19:10:08 -0500 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 1E3E9E8120 for ; Mon, 11 Nov 2024 01:10:00 +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: <87msi6acjs.fsf@k-7.ch> (=?utf-8?Q?=22S=C3=A9bastien?= Gendre"'s message of "Mon, 11 Nov 2024 00:34:15 +0100") References: <878qtycdmi.fsf@k-7.ch> <87msi6acjs.fsf@k-7.ch> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Mon, 11 Nov 2024 01:09:46 +0100 Message-ID: <87r07ieilx.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: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no 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: 52EF18DD74 X-Migadu-Scanner: mx10.migadu.com X-TUID: IJzVTZUmbJrm --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rectification: Adding a "#+STARTUP: overview" on top of my habits org-mode file did not change anything with org-agenda follow indirect buffer. Yes, if I manually open my habits org-mode file everything is folded. And if I unfold a task, its drawers are still folded. Which is correct. But when the same task is shown on an indirect buffer by org-agenda follow mode, every drawers are unfolded. S=C3=A9bastien Gendre writes: > [[PGP Signed Part:Good signature from B586F7C77239E29E S=C3=A9bastien Gen= dre (trust ultimate) created at 2024-11-11T00:34:15+0100 using= RSA]] > 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 >> Gendre (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]] > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmcxS0oLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p5sKQ//VENWM33TOIXGjDFzkk8ir2FSS7gHRS3fcMmxVfmx 5/QKAfhWt7wLF8Ud8WsmIcoo5T7cGDIg4O1OC80oPu5EKMIF/tssi32Z8d8hwLgs qW/I1GP7tl7s4Yk7BB/g9kLjEwxymV1l+TLaYXj4EAsDu6cAA7jBYyLjaHklzWsr VIvhRgey+gURuenawhehDU/7Srm2K55u/FAQ9GvnzCQ5YLRmk4vM3uxjxuFhkW59 ZpKaGPotQDgZMKUnfM6TfSkVst7cHBUIdjtqqDyUMMTCL2ams0nOgkq5JaymEWjB G7TO6TsbcRj8wL6iwvXOgS/6cnzG5TwGWMtlzuwBH6wL8w3+/XDVtxouHVI7Vgx2 fstNincKZJviMFQ9IM+JFUtfhDmMcfo7clU5nY8ey39oV/+oJCsF9eX4ruM4IUCa uECxGXLoFfLT8uTqhr3RKWUt4IgyiuDcdga4Ug+kJv2LGMxXgoQHoREQrbi2N/Sw mHUHyU5+GrHgivVXGaxi8NCI7fGTFCgL2oO1x5vBD4vCQrl7DehygkW0JtnkjoJO qDp85eTyuthX/3W+nBXJVafaULWIDeu3K3lVW/r9RuPBiamxRQgv0+7PQWd1F3Uy /9jCnBaTLaU6ldNK6DUX3QgM+m5KvuhLhTTU+QNnVnkLK3lsVcMiX3goUSoEMK5/ 0GM= =Mv3T -----END PGP SIGNATURE----- --=-=-=--