From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qBoNJnlO92SQowAA9RJhRA:P1 (envelope-from ) for ; Tue, 05 Sep 2023 17:51:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qBoNJnlO92SQowAA9RJhRA (envelope-from ) for ; Tue, 05 Sep 2023 17:51:21 +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 44D17478D1 for ; Tue, 5 Sep 2023 17:51:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=QOKEMBYt; 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=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693929081; 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=N0kLEyybNzBoOT6f1HizXRMXMyNUMVNxXw84DfS9O70=; b=phV9zfZvzsHH9k/LoV4gbH+yagHOLeQGoCOdn13Uw23kkIbK6eFsyf4MbIalq1VdK8h7JE mpf9gg0yqkLTDdK2W3TauucHTpcMZAUjeRdTp9oELTDoOZ5D2r1TTsBVp0pYxzlAGkhwkJ N5qg21dtEq/nrC181xcB2zpZUiNAZ63hOC9CmLPkFumhBOuoc2OLi0x08TH2y/afOD2ke6 9FE96EJGe5Uii173vbcJrbwO0RTdJa0OFVljN8OLicV7TWu+0E69MbhxHN4SD9x0I845aX mfmmPeYVTj0mHBIIu5GMhwsx9ALwxZ3G1M2An1eWqFSwt6wSV0AgBjLKpKOUiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693929081; a=rsa-sha256; cv=none; b=UYw/dN37hmIrflS5PnatHzPWPrcX2QhSFuBmjWq9G1ZZYnxXyIOoTMEFDIrrmavAPwO5J+ JA53He+ORfJZPtJqvSKEWwZR3nahWcYjxbX25qdAvN0y+NJIb6lYVr/vs9/l7E0xq11uhx /mq3OfjLDq/4NvIAyKdk3BOImyfnayr0r8uugpvXd3Qc70mZux8ax2O2afVAH9uiC4k7Sf TMlPpHC8LS8YG5HERHsX94Ts34W0EtAmr01VRg722aeAShTB0ojwPEpdfovmuV9k2hM4Nn 77Egt3P2QrEQ0s/rsVe1IBj3ceIbTxsXGJ9dUwrSgq7RDlwU3JyFqPVBIisamw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=QOKEMBYt; 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=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdYK8-0000jC-BB; Tue, 05 Sep 2023 11:50:40 -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 1qdYK6-0000j3-Qa for emacs-orgmode@gnu.org; Tue, 05 Sep 2023 11:50:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdYK6-0007ts-4F; Tue, 05 Sep 2023 11:50:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=N0kLEyybNzBoOT6f1HizXRMXMyNUMVNxXw84DfS9O70=; b=QOKEMBYtYludeFCJjXt4 aZA844BqXVtHWbv2SAp9HOagcgkLw7GdYdw0i65ycjqQ3FdSzwo8zNAzq4EwALB/vO6ZjURG5Fcru vpi6ddEYX2nMknIknNJ0unhiRVjEtCvldsB2ZxnpLhDeFlTZFoLxjg2KYnTtResJ5hYkayeiIKy8n JB6jQtNylPIxvMisxPVNb/HrH4UaEDtGSY0KV5HATE7Ba9tu7BdudJqGEQ87rp5Dza+BBxpG3atQD Hap0JW4x35/ZrAsuJhkQ8k46hjnoLYX+SVkkng7eVyH1oGkFsLrW7nwxLYZX29DmJQgb6UGWTZiPW iVZGMlhRs3ftHA==; Date: Tue, 05 Sep 2023 18:50:21 +0300 Message-Id: <83bkeg4o1u.fsf@gnu.org> From: Eli Zaretskii To: Sebastian Miele Cc: yantar92@posteo.net, 65734@debbugs.gnu.org, emacs-orgmode@gnu.org In-Reply-To: <875y4oaban.fsf@whxvd.name> (message from Sebastian Miele on Tue, 05 Sep 2023 17:25:38 +0200) Subject: Re: bug#65734: [BUG] kill-whole-line on folded subtrees [9.6.8 (release_9.6.8-3-g21171d @ /home/w/usr/emacs/0/29/0/lisp/org/)] References: <87il8pao4l.fsf@whxvd.name> <87tts8vrpb.fsf@localhost> <83h6o84yz1.fsf@gnu.org> <875y4oaban.fsf@whxvd.name> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -10.97 X-Spam-Score: -10.97 X-Migadu-Queue-Id: 44D17478D1 X-TUID: RGOmel6jKO35 > From: Sebastian Miele > Cc: Ihor Radchenko , 65734@debbugs.gnu.org, > emacs-orgmode@gnu.org > Date: Tue, 05 Sep 2023 17:25:38 +0200 > > > From: Eli Zaretskii > > Date: Tue, 2023-09-05 14:54 +0300 > > > > […] > > > > So we could decide that this command needs to become smarter when the > > visual line includes invisible text. That is, improve the command > > without making any Org-specific changes anywhere. Patches to that > > effect are welcome. > > The following would do it. I think I tested it rather thoroughly. > During testing I found another bug that is addressed by the let-binding > of kill-read-only-ok during the first kill-region below. Thanks. Sadly, we don't have any tests for this function in our test suite, so verifying this non-trivial change will not be easy...