From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AOL2K4cFPmCPSgAA0tVLHw (envelope-from ) for ; Tue, 02 Mar 2021 09:29:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SJfaJ4cFPmAwdAAAB5/wlQ (envelope-from ) for ; Tue, 02 Mar 2021 09:29:43 +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 7CCAC19883 for ; Tue, 2 Mar 2021 10:29:43 +0100 (CET) Received: from localhost ([::1]:57034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lH1LZ-000345-HT for larch@yhetil.org; Tue, 02 Mar 2021 04:29:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lH1L4-00033Y-Jx for emacs-orgmode@gnu.org; Tue, 02 Mar 2021 04:29:10 -0500 Received: from hafgarpur.hafro.is ([130.208.64.48]:43346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lH1L1-0006Bf-TH for emacs-orgmode@gnu.org; Tue, 02 Mar 2021 04:29:10 -0500 X-Virus-Scanned: amavisd-new at hafro.is Received: from hafgangur (hafgangur.hafro.is [130.208.64.162]) by hafgarpur.hafro.is (8.14.4/8.14.4/hafro-2.57) with ESMTP id 1229T3nF027418; Tue, 2 Mar 2021 09:29:04 GMT References: <877dmr119y.fsf@posteo.net> <87y2f7yngl.fsf@posteo.net> <871rcynm8a.fsf@kyleam.com> User-agent: mu4e 1.4.6; emacs 27.1 From: "Julian M. Burgos" To: Kyle Meyer Subject: Re: [tip for EXWM users] An alternative method for isolate trees In-reply-to: <871rcynm8a.fsf@kyleam.com> Date: Tue, 02 Mar 2021 09:29:03 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=130.208.64.48; envelope-from=julian.burgos@hafogvatn.is; helo=hafgarpur.hafro.is 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_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 X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 7CCAC19883 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: UT32j40+wmcE Hi Kyle, You are right. When running emacs without my personal config things work as= described in the manual. I should have verified that first. My best, Julian Kyle Meyer writes: > 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. -- Julian Mariano Burgos, PhD Hafranns=C3=B3knastofnun, ranns=C3=B3kna- og r=C3=A1=C3=B0gjafarstofnun haf= s og vatna/ Marine and Freshwater Research Institute Botnsj=C3=A1varsvi=C3=B0s / Demersal Division Fornub=C3=BA=C3=B0ir 5, IS-220 Hafnarfj=C3=B6r=C3=B0ur, Iceland www.hafogvatn.is S=C3=ADmi/Telephone : +354-5752037 Netfang/Email: julian.burgos@hafogvatn.is