From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 YFYAErmSKmdmOgEA62LTzQ:P1 (envelope-from ) for ; Tue, 05 Nov 2024 21:48:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YFYAErmSKmdmOgEA62LTzQ (envelope-from ) for ; Tue, 05 Nov 2024 22:48:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=K5xnPFfD; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730843321; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eq6ZO2lzZfC2rIR16k+v2qVK9tWEHdBJk+RRP9jvJko=; b=B6WSKXDa9EIfkSwB/XEIqcY2glYpujpZ41KOpIq4LtJ3w6f31qJSEn7+VNI/pY0q+CjIgU Y1/HjsySPMpLFUUzvRdIrgpaF862hehIBDIlz+wGUMR9ha/EPvcPizI+XIn6kWaMCwh15h gyRr678sRUN0CTpjEA7A9dpdD46D90NPsIu65RQvdhW4C1F7Al/KNDr60xFSTG88cfQyui G47QG/KdrbunVd8tjj9zhWGMr9dukZ6Oa2zzsJ+/7TxkeWlJYBszw8cJuixYW2BMTSb0hs Gj4QcDUTxn0oMHfPTYAPigA8eg5hVdfPDmPXzTCJU6DkhyFY4/z1+pPJDwASsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730843321; a=rsa-sha256; cv=none; b=eF5vwm4z+F/6QXWfaIGT17OzkAUNI9ARJ6exJsbvuM/YLI8C6V+hW5JzrWk/dvq94Gsca4 QhmPjLikFAfgLYT1zsnRM1qIrtp7CUWUqSxL88J97LJ7O0g4zLn+ySXGY1wMfRbi7unOQm 5+4i+KHymweSHFrUyJQ6IjMz+yYD2oJWTxYnRV2rTAgBeYjsHrvSfYWdiU5yQhfCYTqeNX 8suWGUppmdQM1dCYLe4y3NqpJjSFRDdMnO1/5pIENWQ05wAlKnOlROG4kWZjoNuz0hplkO fspDgnzv9IbSvSrIpkSX+xVF+E9R9TDgysiBinR564Ry5ysyxKxWEU3yNUBCSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=K5xnPFfD; 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=pass (policy=none) header.from=gmail.com 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 2B91185E3B for ; Tue, 05 Nov 2024 22:48:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8Qtf-0007VY-Ue; Tue, 05 Nov 2024 16:15:33 -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 1t8QtZ-0007T2-WD for emacs-orgmode@gnu.org; Tue, 05 Nov 2024 16:15:27 -0500 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8QtX-0007s2-0g for emacs-orgmode@gnu.org; Tue, 05 Nov 2024 16:15:25 -0500 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-20ce65c8e13so68017425ad.1 for ; Tue, 05 Nov 2024 13:15:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730841318; x=1731446118; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eq6ZO2lzZfC2rIR16k+v2qVK9tWEHdBJk+RRP9jvJko=; b=K5xnPFfD+sglKhgc8/GwjmNsINPfXEffV6C59DeFsxLoFkA9gcK6LWrVSPHUcJdMqU 4JhtnIBmsenAkX9eDN5NMue2DOGMujjz7eQdXAmtpaI6715Eb7HyFdRtPYrsB6/KfD67 9TLFhRC1KmMRWov/M0g+53miASygq0U5XxOxcvcl/uAho0FK50lK0c6g29L0RjdJaCo2 weysWPzWqfEvnBEbb1r8h5KQY/F91bPJe5ZDXHNIjvFu/GYpiF8qBtO5KyR9NVDiBBeV BonJySqjpv390Azmi4xP87JYOjcXs7AVGWyPiBmcjY0mtA4lCREI0SziauGPVoRvTiqb 4LFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730841318; x=1731446118; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=eq6ZO2lzZfC2rIR16k+v2qVK9tWEHdBJk+RRP9jvJko=; b=JuimcQIh9FkEPuC/aQEyW+d3TED8KFyRRIH9xSTGzlA5rcjt2ZTRUeMymWsBDs539V aIZoqXFn5HTlAz79X5M9grAGFKHIBYDsEJTcLSpc9SANJKHsU0v+BUxvE4FAwwXyXGAM qMBMaCyhm5wDkI6yLsjq+d0D3xOuWZHQPgMvXMUmb+rLptXj7lNT7/nsl+5A0KdFc9rB fKAhV2BXqZmxhwby60oTkDkuJbud0w+i6NaNmMAdT9+rSLiFzgQo8O2FI8rrzViQw2Zb 7b8D/RZrBCWQQ7WuE/U+sNuDOGVBO1ODQ38TGe+lUabssybtnLtH074OFwYuZIlfe6FS KKtg== X-Forwarded-Encrypted: i=1; AJvYcCVEv3+BViWkhN36vT02auQqXMgQvEJBKAHv/SZjP9p9lrfANHU9g/btoR4GWomZmonkI78hnMNJPPH7ixPk@gnu.org X-Gm-Message-State: AOJu0YwwbCVhnFGSgDtx5XUss5mCSXdzVEYfCLkD/xlNq9+2zfWy66JJ B74T6Lx+j4sVN2+1inu/9a9nPvk9sXxOeZW4AKExVcw4lZNkKoMLbdKHBuJ2 X-Google-Smtp-Source: AGHT+IHFzr9ih6BL+/Qxu+WBHh/wR/zHBP22y6VTpsNEVX5J6QhrsCJ3jJIRQtVYsOjavb65ofJStA== X-Received: by 2002:a17:902:ce89:b0:20b:c287:202d with SMTP id d9443c01a7336-21103ca9e64mr300666505ad.55.1730841318305; Tue, 05 Nov 2024 13:15:18 -0800 (PST) Received: from localhost ([2600:8802:5726:2500:491a:91de:3e45:53d7]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2110570865fsm82896835ad.107.2024.11.05.13.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 13:15:17 -0800 (PST) From: Karthik Chikmagalur To: Kristoffer Balintona , =?utf-8?Q?S=C3=A9basti?= =?utf-8?Q?en?= Gendre , Org Mode List Subject: Re: Indirect follow mode in agenda: Display, edition and how to hide drawers In-Reply-To: References: <878qtycdmi.fsf@k-7.ch> Date: Tue, 05 Nov 2024 13:15:17 -0800 Message-ID: <87cyj9o00q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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.70 X-Spam-Score: -4.70 X-Migadu-Queue-Id: 2B91185E3B X-Migadu-Scanner: mx13.migadu.com X-TUID: fvfqyuWP4HNj >> 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. >> > > 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)))) >> 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? >> > > 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 Org mode that does not have this commit. Karthik