From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AE+/GS+cvmNaQAEAbAwnHQ (envelope-from ) for ; Wed, 11 Jan 2023 12:23:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UAetGS+cvmM8KgEA9RJhRA (envelope-from ) for ; Wed, 11 Jan 2023 12:23:27 +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 213B1134D9 for ; Wed, 11 Jan 2023 12:23:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFZC5-0003S6-K4; Wed, 11 Jan 2023 06:22:57 -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 1pFZC4-0003QX-PI for emacs-orgmode@gnu.org; Wed, 11 Jan 2023 06:22:56 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFZC1-0005sT-Os for emacs-orgmode@gnu.org; Wed, 11 Jan 2023 06:22:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 357DE240026 for ; Wed, 11 Jan 2023 12:22:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673436171; bh=/uX3ySVUumLIFjWpdx3VWRo0ImO2Rd8m8og+UWgtsL8=; h=From:To:Cc:Subject:Date:From; b=J3sGPWe/+LrHsqAQiWs22FYBFKXiNafsQEIQckq6ZZd6T1obq6ryPoia8ZcmvUAMk VHWG98r3u7YL9eDode6kREELYLtyIvkmUe90WRkssM07jkV303Ki6yb8c2vfapjn9w C2laUF+IZGBz3jTDe21nPyDc2D2TleVJZ7F5pWauGvcS+P/w06TE+L9jD7uz8bMLcY 2T1AYutgJrgK2tgbTyw7Btk3RABKHkUVXw3SfR7hAV9OaXAUanzL+evn87veQ+jdwf KaBVXxacehGzBWf1gjL/3TVwCl6dBZXcFQ6W0GWADS9Rzvoc04HHHIZmfRo9dEempX L6VptCTXZ9n+Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NsQJl5vcmz6tmq; Wed, 11 Jan 2023 12:22:47 +0100 (CET) From: Ihor Radchenko To: Michael Dauer Cc: emacs-orgmode@gnu.org Subject: Re: (org-element-parse-buffer) and (org-with-wide-buffer) In-Reply-To: References: <87o7r5fkws.fsf@localhost> Date: Wed, 11 Jan 2023 11:23:19 +0000 Message-ID: <87bkn5fh7c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673436207; a=rsa-sha256; cv=none; b=SZOPqs+KWNX23iFYGfnqBx9GfM5zU7pid65zJSWHwx35Cyj5yg8xtt+ZQOKGrsA8xfiZtP u2ZHQjw5GuCwQRM18N1m9795q+iCJVV/l1OLlP334s6Rh5RDhU6WLKoKWUN530BEkFDBOu 1pDtknXTmIBswIPwI7CkqPihcgvzhK9/6UzBI33jdPFV0qjVMhSQC7SBXkSdvcVdnX/BqP CHDZUuLLWQjG23Pm5yhFyKWcaA0dfMMV41Y6dwz1KAlnFIQSrOnDcCeh1AVYOnTliIci6p 8Fnp6L9tgJjaCy2sIozRsHSlXcQealhiXdPi0r4Rlo+9pszMxxDVpmZZDBQBPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="J3sGPWe/"; 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=1673436207; 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=3Dd/t3zNo/41G4u/eMeoKSuEPLUqgNhr4vm63jIdGDw=; b=T+9gCGXLYoZKULYebxltmEKYxb1NLATTiLm5h1fUj66BjsKI+bUNaZ6layHpCHJrGURtwi HUhQj6tDfa++D4YZBz/XE0UhCVWyz8l+D8bUxZkaJJMHfjyyOa3fXDUVbeVabo7tiGI146 cBO08k8biQzPc7AQy7nG+EDRTXxdXAStf0QW9AHYyL4MCdGIsDTQFJsC57oE/dvBCu1IYa iOTgIZ36SPIgUdN6YOWA2nTkhT+drsLHI9546YoEbdxq+AuB04S6BUt4yVht4WmWMrQJab ONi3icWruLO0t1ADDtjFZiS+wWx4Zv9MkbOLS4oRbcCWEUmy1CbOagDLWhcpfA== X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: 213B1134D9 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="J3sGPWe/"; 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 X-TUID: qRLlc0snSSHu Michael Dauer writes: > But within (org-with-wide-buffer) the collapsed branches should be visible. You have `org-narrow-to-subtree' inside `org-with-wide-buffer': 1. `org-with-wide-buffer' widens the buffer 2. `org-narrow-to-subtree' narrows it to subtree 3. `org-element-parse-buffer' gets executed on the narrowed buffer -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at