From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sEsjBP4E3mQxrQAASxT56A (envelope-from ) for ; Thu, 17 Aug 2023 13:31:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yDo6BP4E3mT3twAA9RJhRA (envelope-from ) for ; Thu, 17 Aug 2023 13:31:10 +0200 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 80BE0440A7 for ; Thu, 17 Aug 2023 13:31:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gBDqz2dY; 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=1692271870; 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=TZmc97zeBw40Urofa2THqwW3ExsutaxLZg6e0TfAIqg=; b=RVlbR9NfMUOEgkjqNl6XcPzsnskoDUm6CBfLHVCMqhAcWHoILy0apaV2lxaPDqLgKbyjdn YwihSnyq2qKpPih6iRgiOz58b/dKlyEihL6sRQIkyc1pzSoAkTGLvBCG+Jd2QxdzYUtbyN 7U+Bn5FTRuEaC9ihBvnrsx4EXecueNU2mnOImkS2NLszHA4pbTrXZj8ycDTqn7IYVxjG1l vZl2ch96ErhMRKy6+EsWIhI43unRy0i6bidDwcHr7KMcHZpkMVFih5JEQudcFu72n7zHMU KYuUFJms5oFRvj/feWbhMUaJuXusMlzasoCfN7onyKnQ/TQuMkI8ZwXjUzzSXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692271870; a=rsa-sha256; cv=none; b=mqZ5ICsQgzjiPwrXSkAVscvaJAoOwnxp5a6EgUMPrgjgnVxfaaBT8Jgcak2xBmrBlob+nz Ed4Nr7leWNMQLzOBpGLp2DCPVnSgD+yHm9c+8US1gHFqIWWFycEAijiBcBKiLiVsNKNdx6 CQN/qtyAK3OfLYcRI94h9Wm3Zm7GAnfQ94gETsD25q3MI4nZNT7sIRZUxsRkr78TiPpGob E5fCLG7Rsw4+naINo1EdcmVweBRQSjFL8X2BdagTDjkmbGbWnKfNNqKHI41sjBtFDBAzoL JLPSxyyG0WmGOegC+Jo3mOS0WPzG+4t1Ol89HbXafWtQIt9xjKTZk0XeyVl/ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gBDqz2dY; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWbCs-00010N-Su; Thu, 17 Aug 2023 07:30:26 -0400 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 1qWbCl-0000zk-E7 for emacs-orgmode@gnu.org; Thu, 17 Aug 2023 07:30:23 -0400 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 1qWbCh-0004LY-KK for emacs-orgmode@gnu.org; Thu, 17 Aug 2023 07:30:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 796DC240029 for ; Thu, 17 Aug 2023 13:30:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692271812; bh=mLsxz4WC4RX3qmh+JMCw6P48CEsORIDFJzZ09FHZ3Bs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=gBDqz2dYR2YZokF4RgFueiFRXtCbbqAzd6gb/5OYLKR57d9Wgf0xshCH0znTXS2hI o84uIKay0vkKhXQKOcqvL535Xz2LgRU7JIaENOgVdibFlvsXZBtdkkDfG7FtGOaJli 88jA+3hrEKDZzDrw+b3bicxHnxSXKW/6ZDWT+aFv2cwz4b05ZZ4Z1eGD626rpnLQUT 2PfpfwNLZnbRRwviBN0XmSu6OmeY2x85dWefIWzQBh+Z33Ekmh8WFRbagQ09WKnIHH A6c0qswhMqmKBZf1YSSP+Yd4+lt0UiQEiYBXc6/67j1H0gvPzQhe2y2UXovwt35udw +HCbZSFwH7wUA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RRN8g6hBfz9rxP; Thu, 17 Aug 2023 13:30:11 +0200 (CEST) From: Ihor Radchenko To: Michael Dauer Cc: emacs-orgmode@gnu.org Subject: Re: BUG: org-cut-special on inlinetask kill until point-max In-Reply-To: References: <877cpvqkcb.fsf@localhost> <871qg3qj8q.fsf@localhost> <87jztvou08.fsf@localhost> Date: Thu, 17 Aug 2023 11:30:40 +0000 Message-ID: <87fs4hrjmn.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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 X-Migadu-Spam-Score: -7.47 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 80BE0440A7 X-Spam-Score: -7.47 X-TUID: M88TJAJOSGjs Michael Dauer writes: > I probably mis-interpreted the code. Because then I would also fail for > normal headings. Just thinking about the symptoms I think the issue Is that > (org-end-of-subtree) works with type 'headline. And inlinetask is a > different type, right? Yes. Inlinetask is not considered a subtree of its own. Just like other foldable elements (lists/drawers/blocks) are not considered subtrees. > IMO org-mode should consistently treat inlinetasks including the END line > as a branch. Then org-cut-special would do something useful on them, i.e. > cutting the inlinetask includinging its contents and the END line. It would not be consistent. We already do not treat, for example, lists special in `org-cut-special'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at