From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id pU4wH5ZHx2NzSwAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 02:12:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6F03HpZHx2OMKAAAauVa8A (envelope-from ) for ; Wed, 18 Jan 2023 02:12:54 +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 276F81F6D1 for ; Wed, 18 Jan 2023 02:12:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHwzi-0002Y5-7p; Tue, 17 Jan 2023 20:12:02 -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 1pHwzf-0002We-S4 for emacs-orgmode@gnu.org; Tue, 17 Jan 2023 20:11:59 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHwze-0002Lc-8k for emacs-orgmode@gnu.org; Tue, 17 Jan 2023 20:11:59 -0500 Received: by mail-lf1-x134.google.com with SMTP id f34so49572233lfv.10 for ; Tue, 17 Jan 2023 17:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vhQn/G1qJUCfV+4LJkNWPOjIKlc4ioglYPXGNaG9UJM=; b=V5oOBaYFfpXYpucNTuIaLzaaWNs0EneaFij9iOH1YztwYAIAxTHv1WpfiypNOgKmAP YuDKI9txCZrtNtf/WdRc2AQnto7883H116ifoTPM3WGFCAVSN9V/+10K+q1y1OIKVmfd 0N67DZUxUEg7QV4DnSZt0O/Be1vPt2z7SFr+jxZe8XpMeO1QKlLO70OUf8K16oN0rjzw WWgZoTtR1Dmpuk+j4XKHbcOeN0Jq9P1NyAwyknJ+8pPcDYyVPqmYHgUFbxlx0ubtV6LF mCfe8Qs+ef+GvtcjuO9z16o/dwnvXVjmbv6yOgy1HaqQhxn0OXWy0aFc3mRNG9YhnKKc sEgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vhQn/G1qJUCfV+4LJkNWPOjIKlc4ioglYPXGNaG9UJM=; b=gI4///EEXFaaif7xP7qJJjseSkRcphpjMzvUYAe2JQEdrQqVJc2s/iVZxhxdKK7cqk c6YsGIorO1XGlj0RM02riexXtJN/aomCGc/27WqMDdJN7er5HebLWzvZ2+Rxta9+oKS+ j6vhT1mhP5cECxoyNLemy/R2T+ujHWXQeazVGne/4hfNDM/rSmjQSKm/DrDASv6ers35 R9MdlRquI5vyPIIgSLyMkiv8PdFz68DDKfGI1O5qE7Zp8TeUXkbnC6Hu+gxhMY+hbY7s 895Ul27fc5NUgQ8jaJIBy5tLg60kxKC5rtMnCTmoMlCM88KbfTFj84b6DPQpx/Q51gTx /p2g== X-Gm-Message-State: AFqh2kq/9OTVfpR/P2VIj0Vu80Obno9dFdi17KlaoVcvvQJq0LvKdzcQ ryP9aPtaOvwgn7y/B1kIkBWPROX9L4CVYF01kk9eMB6zAQPnmg== X-Google-Smtp-Source: AMrXdXuryu+TeRZQQVZcuHC00Ljxm0pz6ZjDk3Kh+g9U0n+TkGZ0oHuSylDl/Fh8auBmlyO9D6PaWvwJO3WezVhfVT0= X-Received: by 2002:ac2:44d0:0:b0:4b5:6e66:7bbc with SMTP id d16-20020ac244d0000000b004b56e667bbcmr251000lfm.487.1674004315487; Tue, 17 Jan 2023 17:11:55 -0800 (PST) MIME-Version: 1.0 Received: by 2002:aa6:c266:0:b0:23b:5e81:46ba with HTTP; Tue, 17 Jan 2023 17:11:54 -0800 (PST) In-Reply-To: <87ilh5ijdk.fsf@localhost> References: <87zgailod7.fsf@localhost> <87ilh5ijdk.fsf@localhost> From: Samuel Wales Date: Tue, 17 Jan 2023 18:11:54 -0700 Message-ID: Subject: Re: [PATCH 0/4] Structure editing when region is active To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=samologist@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674004374; 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=vhQn/G1qJUCfV+4LJkNWPOjIKlc4ioglYPXGNaG9UJM=; b=FNLXu79IVfRok5wjRKugTEaL7gCFjGYIHfabSdZiMC/pLZYWvrd05ndpnxy6i6bHKztcaM naJtZBWCykCqHQwuPwYPQO5rod22zRMAt1YveaU24vqwhGZjIKPIBUyiJqv9G0Bcq/0wVt +jmfysSjnhBLOwdlzEGFo0giSHjh3ZEppFzPbh3pzmUhvX44/kB4f16TV1sZnXonQFLGJc IhlSPW9adIEr05ZDkk0kBzWujBpZ5owzu+/BM7nwPSjncbu7mloVGsziFvG1H3m7BzYpud Unr8sQ9DKTomJgBWlx8+PTNNrrfQDoxqEmHXCdWRVimz5UO4GC/1HkaWF3I6SA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=V5oOBaYF; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674004374; a=rsa-sha256; cv=none; b=lGGm8T16jk7WZRnoudWvH8E1TYZnJ/jW+qTwUn5iX5PewBtbrhShep0GtY2wU6WGjmnf4N gXKCMr+cGZ7A4Ro3qktTFwoJPivevn/MZGeOGMYLUxFb3Qg3lBMnsIreJMn4i8qNgO5Yve 3AKDk7arqEyWAyOxWXSupRpP0RFMDPxt57EICLbRTAckCk8Ioio0n4nbmp/S2FgMQZj71y 7Ttwp8HVfBlQjTSMdnYY7bGfoKgBjT58yjHgDm2IZB2m713nc7O7xMDt8w8rKUDGHgY7QA W1VTIjLulnwUJ3cGKmBAHtS+OSezlgk0WTWTsIWVJiCVhEvSyaUYz8TwXnifXQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.29 X-Spam-Score: -6.29 X-Migadu-Queue-Id: 276F81F6D1 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=V5oOBaYF; dmarc=pass (policy=none) header.from=gmail.com; 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-TUID: id/kch7R3QKY On 1/17/23, Ihor Radchenko wrote: >> * one >> ****** two >> >> which seemed slightly relevant to the patch. > > Sorry, but could you further elaborate? What kind of integrity and what > kind of structure editing do you have in mind here? maybe my comment is too unrelated to the patch, but it just seemed worth raising in the context. to me it feels wrong to have a non-linline-task child entry whose heading is star-indented more levels than needed to denote a child entry. in my own case, it suggests corruption, because i would not deliberately create that. i have encountered it. similarly if org-odd-levels-only is non-nil and there is an even star heading. i have encountered it. confusing to track down. i was merely asking if there was anything in e.g. main or syntax documents etc. that refers to or enforces this. as for active region or transient mark, to me, they are supposed to be transient, unlike, for example, agenda restriction lock, and thus, for example, having to c-g or so to get rid of a highlighted region feels like a bug. there might be exceptions where you pretty much always want to run a command more than once with the region remaining active, perhaps such as a rectange opening type of command, but to me the patch commands do not apply there.