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 ms0.migadu.com with LMTPS id FeryKPHz9WFKLAAAgWs5BA (envelope-from ) for ; Sun, 30 Jan 2022 03:12:01 +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 UDm2JPHz9WFJDQEAauVa8A (envelope-from ) for ; Sun, 30 Jan 2022 03:12:01 +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 430453539F for ; Sun, 30 Jan 2022 03:12:01 +0100 (CET) Received: from localhost ([::1]:56644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDzhA-0007se-Bz for larch@yhetil.org; Sat, 29 Jan 2022 21:12:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDzgB-0007sQ-QG for emacs-orgmode@gnu.org; Sat, 29 Jan 2022 21:10:59 -0500 Received: from [2a00:1450:4864:20::22a] (port=42991 helo=mail-lj1-x22a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDzg8-0000YF-F4; Sat, 29 Jan 2022 21:10:58 -0500 Received: by mail-lj1-x22a.google.com with SMTP id a25so14525005lji.9; Sat, 29 Jan 2022 18:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=+DTCjZnpJDdc08Anx1Z5yg/5urREFT3X4bpwqxt7HOo=; b=qcEsdj5kscCkV4tl+T8sa5BFK/EkTmmo0MATq6RJ3AkF1uf/kW/k+6jCzaWt34kQ+Z gn87zbWZk5KduqVTwcm58cKR+511Yf3Rswpy/FsNpDd9qI7NBgDFhbgUdyPK53vseHrs J1DY3FGgUGbXdKy+UHiWO//kDstV1QWaUJAlcdLYoSdov9gsLsAaDvRFjTsy5w8Wy86f ts0GWB/6T8d6K+31TsOo6eJR/pzc+O2zbERNr6mk7s7zbsuzuuqDNfP13U1gbcRLFMdU t6DJRXpKp4hoPQBXfRTk69FwVrn/EraELjt5GFUaBy2t1eLMy5xUg4KZwMTPpegDh4OO 4Jlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=+DTCjZnpJDdc08Anx1Z5yg/5urREFT3X4bpwqxt7HOo=; b=nkyamZZ5C9kTw/dOCx/gLb6jiBtao+3XCXZP/o+Wo3YtYk309CpslcJMEgiEZjx8p3 F1fExbNDM6m4N7PqV6fGWnrOr3oevRkUVKO63bmDw97vcFoJ+OcbsOvLhSVUuk9nj7w0 t0ucCQv2xonBaIg6P4AHhjBgVds3wK92krjVppJNZeOt0v4063mDM3z1TEVpALff5rGF HjPvlAti5bLTtBzAwNvD0qSTgywozUZrMEhpcEjONE3oa6SmQU4UUi9iqDIjVZadetva ILQqN3SKMY+1OKojU9Ai9vfBp+LZ38ykaGGzeVqbRNIrlj5T8LyP/3w4aZVA7tSC5N51 1hzg== X-Gm-Message-State: AOAM530euQdPTSuBNRPh6pqzlHDLFBP9BPYfpZFYUdkGXqc3kf5S+ws5 qdjv5hVkJ6AkYss7s1m1NBg= X-Google-Smtp-Source: ABdhPJwVLtHbkLBUwgAIDe3/nnZN+ZPvS1OKpVrUmBHtMzEbVv/yxr9SaoiXiGm+clWpsrQzKkQQNQ== X-Received: by 2002:a05:651c:1798:: with SMTP id bn24mr9767753ljb.20.1643508639304; Sat, 29 Jan 2022 18:10:39 -0800 (PST) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id f15sm2273155lfg.230.2022.01.29.18.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 18:10:38 -0800 (PST) From: Ihor Radchenko To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec Subject: Re: New folding backend & outline (was: [PATCH 22/35] ORG-NEWS: Add list of changes) In-Reply-To: <87ee4quvuz.fsf_-_@gmail.com> References: <87y2cvloay.fsf@gnu.org> <269fd38e5f2831140423188ec0e687f195723f0f.1643454546.git.yantar92@gmail.com> <87ee4quvuz.fsf_-_@gmail.com> Date: Sun, 30 Jan 2022 10:15:27 +0800 Message-ID: <874k5mvuio.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=yantar92@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Karl Voit , Bastien , emacs-orgmode@gnu.org, Nicolas Goaziou , Christian Heinrich , Kyle Meyer Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643508721; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+DTCjZnpJDdc08Anx1Z5yg/5urREFT3X4bpwqxt7HOo=; b=Loa+sQzt/7AgdwsqM7B/9168BNQHeydnMSrhXPUybgwV4E6yHGKmnK5jOEGiemorO2pJWv jHFE6n6trT2qWcNj8H3LPwndvV0U4u1xiqFkZkhHrZ8H19b2zkjodIFSwMmn8fTkOPpMmy 9Bf49+FVfWtRieBSm0OUNrUF/Lni31aPOC+tA0i/lGoSqUU1KRSdlM5otoRxGAiMF+Elic AlQjHUjYQil4ZvKdCIGQGuO4ioXCNvBBUFaBEPx9pBb+H3WPqShCTvvidySdHeRsxVnu30 t/QRrsqazFk6OU/v8u5om6DLWwD4fOS862CTGbTeiqS7FViTjGBoMswP+/6RnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643508721; a=rsa-sha256; cv=none; b=PWB2yeKWLyEDTQjibZIzwMv3HjT0uqkRhTF/9Ya+s4HvorVkAXb3rip2XQRSJjFGUXxHnu sxq0VDS/z7YD7UFvPZoqIsZtGoJ5f06RFpX5gv2D219Yx4bxJb1c1H+kRZEvkogfoT7EeC tLGxGlqRamLgwTm9wbmvXMoDzv3imMBFNf3K4bmLs73kEcoOzwczfCI8gdn/8rNRkn0oN7 TMfblnqberJPfcWHJ0s8TlX1G4nHyLK9ZJCo0onW8IgrQFdIvjBNdjh2UCDAaxtx0gqS2C w26HzpLznY35bSNWgAiGWkFbtZdZ5YDIF9DHzgThuqKZzkeOXGwDTwN5rooO2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qcEsdj5k; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -0.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qcEsdj5k; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 430453539F X-Spam-Score: -0.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: RKZCAOiXawUj K=C3=A9vin Le Gouguec writes: > From the perspective of a heavy outline-minor-mode user, who dreams of > Org "backporting" its great outlining features to outline.el, that's a > bit disheartening, since IIUC this will cause Org and outline.el to > drift further apart? We already had some subtle (yet important) deviations between Org mode and outline.el, which made using outline-* functions in Org buffers unreliable at times. This patch just makes the already existing trend more prominent. > I realize this question might sound outlandish, but I'll ask it anyway: > would it be feasible (and relevant) to add this new folding backend to > outline.el, so that (1) /both/ Org and outline(-minor)-mode benefit from > it, (2) outline.el functions keep working in Org? > > (Assuming outline.el could be turned into a :core GNU ELPA package, and > Org would tolerate adding this dependency) Sure. I kept this idea in mind when developing the branch. org-fold-core.el is written in such a way that it can be used by an arbitrary major or minor mode: ;; This file contains library to control temporary invisibility ;; (folding and unfolding) of text in buffers. ;; The file implements the following functionality: ;; ;; - Folding/unfolding regions of text ;; - Searching and examining boundaries of folded text ;; - Interactive searching in folded text (via isearch) ;; - Handling edits in folded text ;; - Killing/yanking (copying/pasting) of the folded text ;; - Fontification of the folded text If desired, outline.el can be rather trivially converted to use org-fold-core. > I hope this doesn't come across as negative criticism; the amount of > work that went into this branch is astounding, and as an Org user I'm > indebted to the developers for the energy that goes into maintaining it. > > Lest I let this message end on that sour note: great work, and thanks > for the energy you put into Org! Thanks! Best, Ihor