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 IBBFEsFOV19cBgAA0tVLHw (envelope-from ) for ; Tue, 08 Sep 2020 09:28:33 +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 IOMlDsFOV19DLQAAbx9fmQ (envelope-from ) for ; Tue, 08 Sep 2020 09:28:33 +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 D4EF994060B for ; Tue, 8 Sep 2020 09:28:32 +0000 (UTC) Received: from localhost ([::1]:42362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFZvS-0001qw-Vv for larch@yhetil.org; Tue, 08 Sep 2020 05:28:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFZv8-0001qn-9b for emacs-orgmode@gnu.org; Tue, 08 Sep 2020 05:28:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35492) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFZv7-0001SD-TW; Tue, 08 Sep 2020 05:28:09 -0400 Received: from [185.24.184.132] (port=20999 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kFZv6-00077I-U1; Tue, 08 Sep 2020 05:28:09 -0400 Received: by guerry (Postfix, from userid 1000) id F146F1A600C0; Tue, 8 Sep 2020 11:28:06 +0200 (CEST) From: Bastien To: D Subject: Re: [PATCH] Re: Re: Re: org-forward-heading-same-level and the invisible-ok argument Organization: GNU References: <87a6yi42ie.fsf@localhost> <61342cad-ed4c-59ef-d2fe-685de58df5de@posteo.net> <87tuwo2tr3.fsf@localhost> <67d953fc-3396-8038-4302-6e1ad4cde72c@posteo.net> <87tuwm7uo3.fsf@localhost> <8e63089c-ba3e-788a-f80f-c05b14d3228d@posteo.net> <87364611hw.fsf@localhost> <7365d467-2a31-85b4-4f0b-8c8871c4e180@posteo.net> <87eenfl8ey.fsf@bzg.fr> <7fc400e9-07bb-dafa-951f-56c98b170901@posteo.net> <87h7saqiod.fsf@gnu.org> <87bliiyufz.fsf@localhost> <51b41109-997c-db37-c0ed-44e8d0154cee@posteo.net> Date: Tue, 08 Sep 2020 11:28:06 +0200 In-Reply-To: <51b41109-997c-db37-c0ed-44e8d0154cee@posteo.net> (D.'s message of "Mon, 7 Sep 2020 20:31:39 +0200") Message-ID: <87k0x4obx5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: emacs-orgmode@gnu.org, Ihor Radchenko Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.01 X-TUID: ILzjF131nVPu Hi D, D writes: >> Then, can as well use `mapcar', or even simply manual loop over line >> positions. > > How about this? I applied a small variant of it as a700fadd7, thanks. (See also the comment I added with f17d301e1, which basically means that such changes are made as exceptions.) -- Bastien