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 kJ8kKZ1h8GZOKwEAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 18:27:41 +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 kJ8kKZ1h8GZOKwEAe85BDQ (envelope-from ) for ; Sun, 22 Sep 2024 20:27:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=TxxgWSpA; 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=1727029661; 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=kMFRNzDDISHU+cWk76GFs/6TTbaB1xaE10pHztw7ZNs=; b=QhR41LjYNSBPPX8+xPG/iOLUQab+flGwX9sytKRsgRYpm//tdJaFaii+m1iOdgox9O8sew J/WDfjziuE7XTQk0zZMefyfd/cGzI8OMGXEiDiExsdlA84gtTDoYW/13rMCEDPBwGDaEXk wn+odtxcI/DjMWP5uBl/cxZJugQRTpvEuA5kWk/CDKjiWlNlQltmD4K+fb17VxDU7961AY 2yc7hK93BlItsrqpydvQGxzYjcshXK0LLWpbQ468OrZDB4H3yME4iG7dVSlu54peIQkce+ V8ENuqc2aUTyiFcSHaEZ6ktQIdF3O5V/6RSBCw2KizfV+3j1bGLstbEk3wVBFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=TxxgWSpA; 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-Seal: i=1; s=key1; d=yhetil.org; t=1727029661; a=rsa-sha256; cv=none; b=PgeefUT9v8yat2FqOmV8DVm6VjYjQjiU+BTbmyZvccweFi4c1deP7PQLp+9J8mqFuO3J50 XbCybOtPVQzkC3qCeDEhQxjtmH/X4DdKoiaMUJ/bi1AplG1UVa75kPQIeZk8nhPzbnNO7z suZFxMssaZdfxcCb01u2pnhFGCp+8QtU6YBIxXNz66kn98f0a8xdDDYBKIlsggbqqraUA0 H7fMqpuADRIBclT682RhVjsc2hd/z0kVdMi95Y9a+essboXzRMUoAHbnBfIK3HS0hZMVhc FpHjQtnGBFHWs7W+cjYtfa1Md525J1M0K/J4eSTy8Z39ro5KlNNfZFqxxJ5cPA== 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 7651372E6A for ; Sun, 22 Sep 2024 20:27:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssRIW-0003PP-2h; Sun, 22 Sep 2024 14:27:04 -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 1ssRIU-0003PE-A2 for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 14:27:02 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ssRIS-0003om-BM for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 14:27:02 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-71798661a52so2699810b3a.0 for ; Sun, 22 Sep 2024 11:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727029619; x=1727634419; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kMFRNzDDISHU+cWk76GFs/6TTbaB1xaE10pHztw7ZNs=; b=TxxgWSpAM4wFHRXqZ4I1v+9/nZxZw8Qhlonzdk5U8jllXdIy5yTP7OOK+2GaACYBkJ JAABiXev/CcbXsmYJldEBQukRAUlS1soE5oz8iBTGoSVU5iE77hSTujcyabV7B5U/n2o IZpvA2HG4Lihq5kLGUMdiMigJdI45u6bYPnXTjeYFeCbjmL3zHlqNyByJFAmdySniMVc vXGFC4JZQ51e8utOC9bZAooqeUhAFno9yNGtwk0I5ptCckjV7kLzqX47tYwoPOAy3vDc meypuMCNCX1+Bc2HwYLHuNIUYMVKt4r3Yb+NLOcfv1W2Ly7Utr2KDvukVQ5hfv4CAmgY DwVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727029619; x=1727634419; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kMFRNzDDISHU+cWk76GFs/6TTbaB1xaE10pHztw7ZNs=; b=VLCX2EvixdQFUU5/AAFT6UrXPPkHcE8z4pZ3og69szw0Yc4BIuZZb4ElTkLvU5lGMe BINjMeWBGaXPEzXSbKAxtVDseWLqnnnC2Fr/XuEGUmGsD9Jqs+RjHGknMc7qSFy0v/JB pPZWYm+PWPnr+jlNJQMfT8ztLQEP2BdESzyWDdYyvJXygq69B7yPKs1byeJihhxADXFl Kj0AwfXS1jJoSMN49jQvUqN2In+RyhkXqPXAe8sfugFkJxe8rZtpbl10RNVtD9MsP8OF XVUyrOvG0BBUOF5RShocKq7+z4O4M2a7lI1lusmPNsJ/MuYHqgRG7z3i3xUAbqUjPmZq EVUg== X-Gm-Message-State: AOJu0YzRGb9hnd8eCt39OAcRDbWFUMIRYYzroRk6dc2yAzPsVh7V33HB 3y6lUbfHNkOqKgk5ZHER0x4B2XRrMjgPH8Uf8fUybfoPYYn5p1DlQqo8D8b9qTlq3ADVY9cIBJ6 GWSAqpDgrSGh3RAukMEPmssAglX24TA== X-Google-Smtp-Source: AGHT+IFd7SvVxTzLJVr1hXFhJSJ+PhDZvYs1AhMYWPdkRAk9MjUmhLZL2Q+I/Yd6ZXWuaR4gc0WCueVkbwuTKAamJ/4= X-Received: by 2002:a05:6a00:91c2:b0:718:db3b:435 with SMTP id d2e1a72fcca58-7198e299d6fmr18530733b3a.8.1727029618617; Sun, 22 Sep 2024 11:26:58 -0700 (PDT) MIME-Version: 1.0 References: <87wmjbmmge.fsf@localhost> <87ed5ijeuw.fsf@localhost> <875xqortcj.fsf@localhost> <87ldzjpqox.fsf@localhost> <877cb3polr.fsf@localhost> In-Reply-To: <877cb3polr.fsf@localhost> From: Amol Vaidya Date: Sun, 22 Sep 2024 13:26:47 -0500 Message-ID: Subject: Re: Org-Capture Window Behavior To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000ef3a240622b96a44" Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=amolvaidya06@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: -5.61 X-Spam-Score: -5.61 X-Migadu-Queue-Id: 7651372E6A X-Migadu-Scanner: mx10.migadu.com X-TUID: c7qvGrR5oHHd --000000000000ef3a240622b96a44 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What a silly error on my part. Thank you for your time. Apologies about it being something so simple that I did not see. On Sun, Sep 22, 2024 at 12:45=E2=80=AFPM Ihor Radchenko wrote: > Amol Vaidya writes: > > > I'm curious, then, why would what I've done in Test 2 nor corral it? > > > > (add-to-list 'display-buffer-alist '("\\*CAPTURE*" > > (display-buffer-same-window))) > > Oops. I missed that part. > > It does not work for very simple reason - "\\*CAPTURE*" regexp does not > match buffer name of the capture buffer. > > Try > (add-to-list 'display-buffer-alist '("CAPTURE" display-buffer-same-window= )) > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000ef3a240622b96a44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
What a silly error on my=C2=A0part.

Thank you for your time. Apologies about it being something so simp= le that I did not see.

On Sun, Sep 22, 2024 at 12:45=E2=80=AFPM Ihor= Radchenko <yantar92@posteo.net> wrote:
Am= ol Vaidya <a= molvaidya06@gmail.com> writes:

> I'm curious, then, why would what I've done in Test 2 nor corr= al it?
>
> (add-to-list 'display-buffer-alist '("\\*CAPTURE*" > (display-buffer-same-window)))

Oops. I missed that part.

It does not work for very simple reason - "\\*CAPTURE*" regexp do= es not
match buffer name of the capture buffer.

Try
(add-to-list 'display-buffer-alist '("CAPTURE" display-bu= ffer-same-window))

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000ef3a240622b96a44--