From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +GbqAeQoLmdsKwAAqHPOHw:P1 (envelope-from ) for ; Fri, 08 Nov 2024 15:06:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +GbqAeQoLmdsKwAAqHPOHw (envelope-from ) for ; Fri, 08 Nov 2024 16:06:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731078371; 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; bh=/mqpDaCEzymRLGXgKzIGrvKv4PeEbxUbZehxdnVpxa0=; b=FXLsSogBObCQjGKWEY504RgAiE9oLfFrpBEUpjfr7iKFxUVdpXQIj9KwS/gx3kozpwTEWv 5jkJ2BB7KZW1XWg6K0g5zR+IUgycgIn/gZp8kUSHigWXkJHSPYC4mRUI4k2CVSBwJ7qsDZ wcVeFaaemwzGBbpDhousgGlUdqDhquvrjAG1IJeOZh2E3KrdUi4WIPZX9YqdFnxyKCULvj 35vm0Zgp0YQaJVOFqS/luMBBchQE7Nnb5oQOYCbwTm7jkaxxvB4DhZUcCGFHGkJVnMAV7x birATNYKiPdWmWWZ18bq0E0+WTA8C+QWjdUhpjAnFNCQkK64hlXn3M0fDk58fg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731078371; a=rsa-sha256; cv=none; b=POvVe+L8N/lKxNNHkgHFpF57mGwTb9t6vM29uh1EOBahCKaAg3lxHCyJikQ4WDMw1T4Cgx MtRSjZnJ9x2kuqWIYQPj1kObikmCuXeYQ8Z6biCyLrQaOHm3eNgKOpuMddxbqZm1Jr4l2X zmR+Ie66pvrIMbTi2fyMyy6evKZvE6n2+nGEqvWQgUV1q+r2ri8zQMvSXRQodS7Tj/lOYo iABNL7UzHod3+bKKXJYTe/TTdnl4k3pVtiUUw4vD7D1fIdO1ixQBD3fzjH7nP06JWCXaUa Ks6thzypPzpWKizJ7bLaq9zpB3eXQxVWsqFQc1dWa2TuR0u0MSHgWTcIHrwOlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none 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 ACC4851A6 for ; Fri, 08 Nov 2024 16:06:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9QYL-0000Kb-1Z; Fri, 08 Nov 2024 10:05:37 -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 1t9QYJ-0000KO-44 for emacs-orgmode@gnu.org; Fri, 08 Nov 2024 10:05:35 -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 1t9QYG-0008BS-Rv for emacs-orgmode@gnu.org; Fri, 08 Nov 2024 10:05:34 -0500 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 365814F7B; Fri, 8 Nov 2024 16:05:25 +0100 (CET) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Karthik Chikmagalur Cc: Kristoffer Balintona , Org Mode List Subject: Re: Indirect follow mode in agenda: Display, edition and how to hide drawers In-Reply-To: <87cyj9o00q.fsf@gmail.com> (Karthik Chikmagalur's message of "Tue, 05 Nov 2024 13:15:17 -0800") References: <878qtycdmi.fsf@k-7.ch> <87cyj9o00q.fsf@gmail.com> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Fri, 08 Nov 2024 16:05:24 +0100 Message-ID: <87o72pbwaz.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.75 X-Spam-Score: -4.75 X-Migadu-Queue-Id: ACC4851A6 X-Migadu-Scanner: mx13.migadu.com X-TUID: fvxvdPPvxdSO --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Thank you for your reply. Mines are bellow. Karthik Chikmagalur writes: >> If I understand you correctly, you want the drawers shown by >> org-agenda-follow-mode to be hidden rather than shown as you move across >> agenda items, yet? If so, I'm not sure if there is an option to by >> default have drawers hidden (I suppose you can alter the minor mode >> yourself...), but calling SPC with C-u shows items but hides their >> drawers. > > I use this piece of advice to get the desired folding behavior in > `org-agenda-follow-mode': > > (advice-add 'org-agenda-do-tree-to-indirect-buffer :after > (defun my/org-agenda-collapse-indirect-buffer-tree (arg) > (with-current-buffer org-last-indirect-buffer > (org-ctrl-c-tab) (org-fold-show-entry 'hide-drawers)))) It's an interesting way to do it. When I create a new Org file, create a heading and add a logbook entry, the logbook drawer is collapsed. But when org-agenda display a habit task, with indirect follow mode, it expend the logbook drawer as well as the properties drawer. I still search why this different behavior. >> This is not the default behavior, I don't think. Have you made >> customizations to display-buffer-alist? > > This used to be the default behavior, and it couldn't be customized as > it didn't obey display-buffer-alist. The window would always open below > the current one. In May this year it was changed (in commit > db5478108c063d012432eba50e4ebb71a278c060) to follow > display-buffer-alist. Chances are S=C3=A9bastien is using a version of O= rg > mode that does not have this commit. Is this new behavior on Org 9.7=C2=A0? I use 9.6. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmcuKLQLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p6+Vw/+M8W9S7GG0na0KlVKbUq6iwZBjVVWdebtfaQDPmn4 PTdHKFnTUlVlJiUiop5WDW1rYgvDOKL6sL10cvWXXk3S1QbPmBQmkGA9t5VfxBmT DjwAWRdIPF0pvdCXOQus+3FI+rOG8bMd4owHi28bO7MFSlpimuhcPtwul0kTF1ED VbxlgcR2QVLop41z5fwk4E64rTnF4zcB1k77g56LAa2qOFNWSSb/BJw0NPrZVXGy NxpC60tIrr0yneR1bFFCkkX0pTEsh2geF/PE2NLSTqqtteSyNhCTq8Vl9FOiTFi3 EgmTiQThf1aOtLM4+J7dVEh1izYZnyo4xBXSnU2tban7ZV/BM5onXyxZa0v56b6G vPzZuGHRaVWnIO/bVnJ/nRtTQQMbJ1jswgTW2J4yepQ5t2EHskdkcKWoSkU2sJ6u 7H9cDT8OVs1KX6t4APNlX2x0cvN/rxmSQtPXir5uNA93B+Y1vI/H8pEYV9nHzn/1 XW3HXzy9WPGjg4vyNoLrAAV7GWTvfrpWvZY2IUJxi1UfXPUr2hbKt9O9a5kJ+OPv sn5H1qE93cvxh9P/QQr8TJYOvp6ktR4owXdL4IDGz82Ny+wlqejrZv0p5WkEBAYt Yfgi0+TGBg4WDUlMM6+x2cRWUq5lZeAT/dTkBEXifiJizKd9quLv8nCrZIch7mmK tpo= =JauJ -----END PGP SIGNATURE----- --=-=-=--