From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sOaOGxXpmWMloAAAbAwnHQ (envelope-from ) for ; Wed, 14 Dec 2022 16:17:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8KNLGxXpmWPlmQAAauVa8A (envelope-from ) for ; Wed, 14 Dec 2022 16:17:41 +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 1FBE816782 for ; Wed, 14 Dec 2022 16:17:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5TTN-0001SZ-MH; Wed, 14 Dec 2022 10:15:05 -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 1p5TTL-0001Rq-Vf for emacs-orgmode@gnu.org; Wed, 14 Dec 2022 10:15:04 -0500 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 1p5TTJ-0000pg-Go for emacs-orgmode@gnu.org; Wed, 14 Dec 2022 10:15:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3AC32240103 for ; Wed, 14 Dec 2022 16:14:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671030899; bh=x0vh9wt7IKjdz3Oq+zPJkNSsQ8lmMDakq7bzr0EDjvI=; h=From:To:Cc:Subject:Date:From; b=iPBq3d0yYYeeNnxsjxQviEatIpmtHS9U3GO5uMDqIWr1FSOHjyWYYx+xw/uWONsOP Q1g55KqN30LFvxdnB6TGmv41O9QD2cAqXTMqUbpx0yCNHdnvLjl4XmKR5TmCLKOnKB ZWxZQRtzZPbqq1YBcuXHmT8KY8HmvT4ddNeqYPbgd8XucKPSfpoBW/WjSxs7BpCuoW ac7ERoH78NyZS0IN84Xi73BWUUQNEJaJA/Wg+lwxHVV66mqVvPR/nZ1HRZ+AJgQ5UM 546Upte0qf58XbKx+CNE7z+iR4Ks3bx8us9D1sp5IQhnsmVYmv0Zkq0Ad14O9saf1D xD4h1Dv7PYPSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NXJnY3YmRz9rxF; Wed, 14 Dec 2022 16:14:57 +0100 (CET) From: Ihor Radchenko To: Sterling Hooten Cc: emacs-orgmode@gnu.org Subject: Re: Completely hide properties drawer in 9.6 In-Reply-To: <3B566A00-1AAB-4CFC-96C2-C25D05AD5855@gmail.com> References: <4CC6A1F4-0B08-44E0-AE4D-60CA11636663@gmail.com> <87k02uqrbw.fsf@localhost> <3B566A00-1AAB-4CFC-96C2-C25D05AD5855@gmail.com> Date: Wed, 14 Dec 2022 15:14:56 +0000 Message-ID: <87bko6t3tb.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_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671031061; 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=xA7ql2ZW9yA6vg31eMuFcr4KVhW4n9BbuMYeWH/6kuE=; b=g54HuPTtBZV67U+Io10qunHXOV/lzGhUQkhheyBLrnYDdu0X6qs50okmkK/h86qSNVrWzX rEWlQb9BSV9exm8rO83Bw87HQaeKv+/L6jB6vn7iXeX1rs61BmT2FhbgrTgn4MVmImdSzN UDQTOAcAzzeWHHUHy3gRF5mAw9rpmOBZb0yI/Y8vYGMD1khW1nXcgn2GQMcxB3cqm6te40 YeD82t7FClPobnXS2JEBbpUG5qOvaMyQaq+Tv+g0Sj3Nw1XNHHQqAstucHTe/8gH35BPC4 kQBrbAK2PiYUa7mWIT1H+Xe41nqheMr4oMasZQsdYMjHCsQi3x9mx0Dnq15QcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iPBq3d0y; 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-Seal: i=1; s=key1; d=yhetil.org; t=1671031061; a=rsa-sha256; cv=none; b=uU+iFv0G8gECMgm6ABYBH9zjJcComXfEv1woM8LJGBBpJ4zyQ+u/OyyHAxP/D8SiFdCNK/ 3ZdqZmV+FkLdMNTnmzUMmlIzHLLDap9rH/B6xh45f5eVwxYg0PPaCyMkj7HY1SxRjrXtoi zSc36WiyT2bzDKvHcBpP7UAPBHGjcDN6qDlt6Ky7B6aGqXRFN571lbcW9cGTAlIbnOtPRE Zig6nFQyxZiqZk0hak5svMi51eBursVnRGVdW526L042elHF5BbmHltzObDk9Yo9p5HEDF YYAQu/W1NYW0MLYhXiEDE7Ory2XiISz70WfvT2k9H6+kHS6uvqOun7d6RFj6Cw== X-Migadu-Spam-Score: -5.87 X-Spam-Score: -5.87 X-Migadu-Queue-Id: 1FBE816782 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iPBq3d0y; 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: rRzTyJ4iEtAB Sterling Hooten writes: >> On 2022-12-14, at 06:15, Ihor Radchenko wrote: >> >> I do have this implemented in local branch. Just did not push it >> upstream as it was rejected. > > Could you share that here so I could test it? https://github.com/yantar92/org/tree/feature/org-font-lock-element >> This is handled by org-fold-core.el library. >> Note that you can use the library to introduce new fold types. >> Editing inside folds is optimized. All other concerns are also handled >> within org-fold-core. > > I will read through this and try it out. I tried my best to explain the design in the top comment. You may also look into `org-fold-initialize'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at