From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YMu/IzvSuWMOLwAAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 21:12:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cCZkIzvSuWP3EgEAauVa8A (envelope-from ) for ; Sat, 07 Jan 2023 21:12:43 +0100 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 2EEC25385 for ; Sat, 7 Jan 2023 21:12:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEFXw-0003eD-Mp; Sat, 07 Jan 2023 15:12:04 -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 1pEFXu-0003e5-QE for emacs-orgmode@gnu.org; Sat, 07 Jan 2023 15:12:02 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEFXt-0006gf-6H for emacs-orgmode@gnu.org; Sat, 07 Jan 2023 15:12:02 -0500 Received: from localhost ([::ffff:197.239.14.179]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055DCC.0000000063B9D213.00003B9A; Sat, 07 Jan 2023 13:12:03 -0700 Date: Sat, 7 Jan 2023 23:11:20 +0300 From: Jean Louis To: Ihor Radchenko Cc: Tomas Zellerin , emacs-orgmode@gnu.org Subject: Re: [BUG] Org agenda misbehaves in a side window [9.5 (9.5-g0a86ad @ /home/zellerin/.emacs.d/elpa/org-9.5/)] Message-ID: Mail-Followup-To: Ihor Radchenko , Tomas Zellerin , emacs-orgmode@gnu.org References: <87mt6xrtc0.fsf@zellerin.cz> <87fscniuhf.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87fscniuhf.fsf@localhost> User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com 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, 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673122363; a=rsa-sha256; cv=none; b=mJYTFpPX83tm54jYKpt/s3XzbnCDEJoVKzcGs/aqes7/qe3iueSThcUFLjORwLOyvBjcvs t+xNL2c60EktX6VCCZ36YZU+7S6BnfTtz49dE3KrRhNGJ2o6Bpgp6QhEjDhZglNGTZLdzt ZJOHOJ3e/H7uImLFO9L+ROY24ClQaorq/m+IvxJ6bQhZOjiNzowP9loElhH4BP1NDpkZho h3ciRNKe/Tlfv6OoOtdYPXyruEs51e/Stk8ovZEXZKHLxZQ5nZPOJIbVE/0uwaBfA+zSJ1 xGOfoJ1PjRMt4i+WnCt8z2KmFhf8tu1qBnBALTS+jklSGLZIK/RX3Jp0wBU/Gg== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673122363; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=OBN+48pOpuZZuUNZeCOaGPKQL4EUc1VIyRq2vQY+pgc=; b=qBqxTWt4iWYomLLNLNL22zFVdMQ3D6pJrtLiDExmOE1AuCds3jm9hYfsvoqMGHdSbdN6fM uVS18PjNGlkMJFRZqme/5ZXmbPwKC2T+ROm0SSCQnZPCtnCNsP5H84p+H3srEa8EkKySkW D6F20DJC4y93dtqKeD5iyQzqhXpijVWq3EehcIeDRG716Xo3JCryvy1PQSnVCVgOsY1Fq0 2vX8pDhA0S7ueu+OS9xoId/jD3CGlr4GsjxTjFr3G8eowBhvDYk70XD3oecezqcRnHdsnC ILOSt05QbglHXSOGa0Z7FWt0tVkTw99jYalS1P1nika0h/BaABRaWu9u5lwYOw== X-Spam-Score: -3.96 X-Migadu-Queue-Id: 2EEC25385 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 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.96 X-TUID: 7Z/4RG0Lem/d * Ihor Radchenko [2023-01-06 17:56]: > Tomas Zellerin writes: > > > When Agenda buffer is in a side window, several actions fail with > > "Cannot make side window the only window". > > > > Example: > > > > emacs -Q > > in *scratch*, (setq display-buffer-alist '(("\\*Org Agenda\\*" > > display-buffer-in-side-window))) > > M-x org-agenda t to display Todo agenda > > in org-agenda buffer, another M-x org-agenda is observed fails with error above, > > expected is display the menu to select agenda command > > Confirmed. > > > Other failing commands are for example changes of todo state in agenda > > buffer. > > > > The reason seems that org-agenda-get-restriction-and-command calls > > delete-other-window; however, this is not something user observes and > > expects as effect of those commands. > > Sure, but what can we do in order to both fix this and also not break > the existing behaviour? You can do this: GNU Emacs package: rcd-org-agenda-dashboard.el -- RCD Org Agenda Dashboard: https://gnu.support/gnu-emacs/packages/GNU-Emacs-package-rcd-org-agenda-dashboard-el-RCD-Org-Agenda-Dashboard-76669.html Follow same principles for Org Agenda, liberate it into derived mode where people use it just as any other Emacs buffer. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/