From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MLObMebQPWB5AQAA0tVLHw (envelope-from ) for ; Tue, 02 Mar 2021 05:45:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kNbuLObQPWBJFgAAbx9fmQ (envelope-from ) for ; Tue, 02 Mar 2021 05:45:10 +0000 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 970EF15AB8 for ; Tue, 2 Mar 2021 06:45:08 +0100 (CET) Received: from localhost ([::1]:37876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGxqF-0007Sx-5N for larch@yhetil.org; Tue, 02 Mar 2021 00:45:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGxpc-0007QJ-RR for emacs-orgmode@gnu.org; Tue, 02 Mar 2021 00:44:28 -0500 Received: from out2.migadu.com ([188.165.223.204]:62598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGxpZ-0003Ad-Pu for emacs-orgmode@gnu.org; Tue, 02 Mar 2021 00:44:28 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1614663863; h=from:from: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; bh=WfAsUPEIWTZzF3QPDj+aHgYYmLqRGbymwbG+yPs9yuM=; b=WiDRUHl0nsIfzAToj4hrh+uotaBOq2xmLm+SE2gL9KDdM4WGgxmKK7RA7tQLKEvYn7r93q crLjZT1u1mxxE8C2OFsmYEQZT+6LLkvO0DWGDcbQtylQZoUZSUc7GY2bqEwbso85MH9vw+ rwQP2tPPeS88aJPzdSEcW7JN0DctTjJzmhfjQy0iPWBdykNjQiFRjTeiIR/8hkxMm91YQ9 4YwmfC1byKY2rImC1vQE5QUtRE75srUtIf2gJysVdE9GGWFtFygZGUhDbauK+DerHTn2Ro +Cs0q9B3N9gh9mHgIH9qXA5D6GINTLoeyStl1BYlX+QO9kY5H/pLZa9ESPyKjQ== From: Kyle Meyer To: "Julian M. Burgos" Subject: Re: [tip for EXWM users] An alternative method for isolate trees In-Reply-To: References: <877dmr119y.fsf@posteo.net> <87y2f7yngl.fsf@posteo.net> Date: Tue, 02 Mar 2021 00:44:21 -0500 Message-ID: <871rcynm8a.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=188.165.223.204; envelope-from=kyle@kyleam.com; helo=out2.migadu.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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614663910; 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=WfAsUPEIWTZzF3QPDj+aHgYYmLqRGbymwbG+yPs9yuM=; b=s4V+JWD+TtH1YH427yVvLciWQF9W9sxeGDDkGLVLDTIc6KqMsuYwl5y4C6PI0WUb1z0UbB DWaE4ZqcwSvW4kA95Z4QAYaNRcKpBJNf1JLjO8nsu7e+mnJ4x6+60FUokknN1SAAnGJG0p 6QWVcfVDf2fjvs9CTRjIQ6A9I963neFoaBY4fpcjssij8BSEjf0iYva+X1lrSGTBKEPsah 08atU+QF3l3+nga9cCgY01xWYr6GZbqeI9gdj1E5ZHRDBowwjfiATkGsCYO+4EJ5Ib/m/w IkiLmN0TOvi+lprpFxSWgwxB/FANfuRoe0obCEbmWnzjbFLZtD8vct586W/8iA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614663910; a=rsa-sha256; cv=none; b=kRWYxokXRV94zfLNmW2k39kOpJpc0jwcaE0N6mc/MsIihkjlA2S2nToMu28vBGJy//caJq cF2Kuv0Zj4wV9qqGWDxvHX3bKc5XU/aOVZE3yNMbo3RLK8R2DIXiKs5Rt1+D9FwB53vDlS Ki/RJ+PEkjpTsTJkz8HJ1HPSNIvdnSOd5Z2gkA00HfNBG2D6K2/d3B/sVDI93TEhdpveUB 2fZihV71wgZx0/Nuokd/3tRHlnsccY5xTU4L5Gwi25BwjZVwMRh26i2sXWC9+dfbQVNeG3 nEAHao/UlP81Jxht6U8OK/weCWt9MrJFcA1XUK6f1Lg7ivD89yRWrnCq5WWiJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=WiDRUHl0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=WiDRUHl0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 970EF15AB8 X-Spam-Score: -1.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: IX90FgWWxtet Julian M. Burgos writes: > I have not noticed that org-tree-to-indirect-buffer > reuses the indirect buffer when you call it for a second time. > According to the manual, "with a C-u prefix, do not remove the > previously used indirect buffer", but that does not seem to work. > When you do Cu-Cc-Cx-b from a buffer that already has an indirect > buffer you get a "cannot modify an area being edited in a dedicated > buffer". If you try it from a different buffer, the prefix is ignored > and the indirect buffer is assigned to the tree from the last buffer. Hmm, could you provide a reproducer for the problem? Here's what I tried with the current master (afd75d05a), Emacs 27.1, and no custom configuration. --8<---------------cut here---------------start------------->8--- * a a content * b b content --8<---------------cut here---------------end--------------->8--- - on "a", C-c C-x b ;; org-tree-to-indirect-buffer Displays -a-1 buffer. - move to "b", C-u C-c C-x b Displays -b-1 buffer, a-1 buffer still exists.