From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aMV6KnhN8GZAUQEA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 17:01:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aMV6KnhN8GZAUQEA62LTzQ (envelope-from ) for ; Sun, 22 Sep 2024 19:01:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PxyP9GuW; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727024504; 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:dkim-signature; bh=tZ4I84TmRU3DiYJjiHIr5oTdnRc62MFAr5R/tUSFv70=; b=p3rDHsohFpdOia4rzzpdoOrLYU8g9vPqPx73FCwGd8AbKORMpWcLvp+Xf3EPZQN7sLA5ay /aEaIdMVIfWPDUqsacEG7+tX+ykHZtMK8tOyTKRiBG6kmWjEvlg3YUhv3jzX/ulPBKM3Nx xNaFG+s+TKSOHlWebPnnzY+X72xEThpPadlxYPBqLCKJTaUpeo9cXlEiUDZmE0DbbeDcnF lkrw1FvyJFmBTO/bqhFGBXBTWi8LaOJidyRtHkF1gAHfYgyuuz94RysUFiH7KPKHpi/Vms nzHcBjAKHNdkT1txfsDjfSURRIdbGzO4iufC9UjKgxPRB6YxaxoXWzCjPnE10A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727024504; a=rsa-sha256; cv=none; b=Tl2ac2FSeSjO2SuVRxyshWUFJIk769mkagvEACd12xSs0ZQlnjsKyZ/IuZASwLWy5WC6XO mNqvut4fcYXAhlJhCYQrPK1Y8/fXxAf/RXjDRJwkj43lDEcrSA3WuxJ/lnOLa73hBWuolo /zN6Mf4zk29olrTMUUIP+St34s3Mdo3K42hkAltY5XbGBpAu9taNKb9H9twucxsKfcHjbq R1kUA0dlcuJYy6AtBBxywsyQ+jxBNLJRAYNYZR2cQjlQMv/9eChhGucUwgZY0tSYEgL68v T+fs285NPn2kidaO4S7Tf3jsvIJaDquo9WdRPdQ2rm+WMlpqTV8aZtaGwruHXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PxyP9GuW; 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=posteo.net 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 8ADC282E89 for ; Sun, 22 Sep 2024 19:01:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssPxE-000251-Ql; Sun, 22 Sep 2024 13:01:01 -0400 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 1ssPx5-00024N-FD for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 13:00:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ssPx3-0004oB-8P for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 13:00:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 44927240101 for ; Sun, 22 Sep 2024 19:00:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1727024447; bh=QTPxtuu9PuUnFT+nKutx2qQ9l1pbvpQkFMiRgigyShU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=PxyP9GuW5bLyk9QlSOTZIoAhq28jSFrmiwFdo7KlaKRGeGjZjOfM0qt8Iv3hh6IyG OMN2lLVVZ5Fs0K6upZrE2KY84hbLacw+Nxp73KjTKaOCAfV+Bn0+UwOt3ok0F8tVvA +GDc7RNzuVNhk7GL07xTMvZs+X5rKzY52Lshe8ZHB2k1gblLonR0QbrW0bdZfioKAY 1K9RnGezu32Qy9y7vEJXZbnAFKppC5WMoV0WkWEhz4v1ENnPihnoxyT1+e5xF1XuNz 0fVikwUuEhSHMKOuVZ59NzO/SL668QFAvWtE/1H7ejhkM0w0DmvoW6OQC3j5nEga5g Jxk48DKgO0V8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XBXSZ4Bpnz9rxM; Sun, 22 Sep 2024 19:00:46 +0200 (CEST) From: Ihor Radchenko To: Amol Vaidya Cc: emacs-orgmode@gnu.org Subject: Re: Org-Capture Window Behavior In-Reply-To: References: <87wmjbmmge.fsf@localhost> <87ed5ijeuw.fsf@localhost> <875xqortcj.fsf@localhost> Date: Sun, 22 Sep 2024 17:02:22 +0000 Message-ID: <87ldzjpqox.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.76 X-Migadu-Queue-Id: 8ADC282E89 X-Spam-Score: -9.76 X-TUID: 1jPUVFd/R6ZT Amol Vaidya writes: > Thank you for your clarification. Just a minor point: my concern is that > org-capture is not adhering to general display-buffer settings rather than > specifically display-buffer-alist. In my case display-buffer-alist is nil > when I run emacs -q, but according to section 29.13.1 of the Elisp manual, > if display-buffer-alist is nil, then display-buffer should consult the > display-buffer-base-action user option to decide where to display a buffer. I see. I think that you misunderstood what `display-buffer-base-action' is for. It is only used when the Emacs package that is displaying the buffer does not specify how to display it (in other words, calling `display-buffer' without specifying ACTION argument) That's not what Org capture do. Org capture does tell Emacs how to display the buffer. Only when the user explicitly overrides Org capture display settings (via `display-buffer-alist' or `display-buffer-overriding-action'), the default behavior is changed. If you look into the docstring of `display-buffer', you will see that there are a number of user settings with different priorities: display-buffer builds a list of action functions and an action alist by combining any action functions and alists specified by display-buffer-overriding-action, display-buffer-alist, the ACTION argument, display-buffer-base-action, and display-buffer-fallback-action (in order). Then it calls each function in the combined function list in turn, passing the buffer as the first argument and the combined action alist as the second argument, until one of the functions returns non-nil. There is no bug in Org capture that we provide ACTION argument to hint Emacs using what we believe is a better default compared to generic buffer popups. For you, as a user, the right way to configure how Org capture window is displayed is customizing `display-buffer-alist'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at