From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WFT+Haqm+WRHoQAA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 12:32:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WFT+Haqm+WRHoQAA9RJhRA (envelope-from ) for ; Thu, 07 Sep 2023 12:32: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 068AE40D88 for ; Thu, 7 Sep 2023 12:32:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=whxvd.name header.s=MBO0001 header.b=jXXn0dZQ; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694082730; 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=OnZ4eYl0gvnhrygdcU3W4OVmFE57Pn4AlGYRPaVn+Vc=; b=TktpEzyPr6YMu4dtX2B/xIgx8jIhEmD6AWxBWGM6DiPebvd4N3qZeEO6RoMYuOba3QkxAV 3PqYh42cf/nFGXjDA5EixdS8Xq6DFr3574qR6lUZ4t96H/2WK2r/dzZv6edgtIXQEnlMCa fn60nJkn7N/is02boETqbOHe76hGrH6BQUgzJkfT/ICLsLRaRAWPycNPZZLiPJIoRR4IHA vX34aod7FqW+OeebVmJS0/6BPO2toJrDU3UCASfXJTJxa7pkRvJ1BMikqzGAGrk3pfEb98 /UAfZvC49VsqdNqtbl1Pq/FSLktZ7cGulnizY7PP1q4qj9HskazYsQ4QNT+Wbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=whxvd.name header.s=MBO0001 header.b=jXXn0dZQ; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694082730; a=rsa-sha256; cv=none; b=nnyfeyyHWZAcQ5BKrWSBx9xxiA6Lkn+g3bjdeYYj1lsXsyvHqns9mLWrxRAF3J24oW3D2e mrpo0/Mmsx4pHSCQD7HgkAYJjzxJZRPEcxdPe/IrOM9RhKH00VH1o/EvMqgmkZqaYmovT+ Fs+NF5XW/ovu8IxX/cUMHze/YKlWBIdYQICFr7oWl3LLyg98wWdNI76hL8s9qfF9AqUYwR W9L978ym9E2h19XMfdR3NwcsF2j6qt0JqgVX8fsg3V6twl5aoYI3VBttKi11Zpvsenh/WN 4/3L7xL8+sL08lW9RqHLzI2Jpg6RW0AE19brVNXi/oqtblWuY0t1AlF6nZXmdQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeCIE-0003oL-EB; Thu, 07 Sep 2023 06:31:27 -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 1qeCI5-0003jj-BM for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 06:31:15 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qeCI2-0005QX-Ii; Thu, 07 Sep 2023 06:31:13 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4RhFrh3XzGz9syC; Thu, 7 Sep 2023 12:31:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whxvd.name; s=MBO0001; t=1694082660; h=from:from: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; bh=OnZ4eYl0gvnhrygdcU3W4OVmFE57Pn4AlGYRPaVn+Vc=; b=jXXn0dZQcQGP6PIp67PK1NFCu0s9t2Cu8fiI0LbE9UFSsuooY2vwFoScsnMFRaF65shewC 27edGviewIEb4GjZonSOIeIqgUmwUCiHVd8fo4oGvmc28q7GiAsLmVJ3noyE7qPOR25nmM 3N0IpTAv4GQ7uegxKBwYkeVboTCfWQCBhdyWPD/splLzGw7RTWmPQiSaQS+RgzQC+v+aKV DsNzX4IA+g0552agKlU3dLwukj0WRfhsC5eR+KFCXD6mzL6BCCRq8u75q+4splk702Lgyz lziAEJSlOtv2fp0AEIFMqGuH6YtEkYO4sILyBz1wP2iuT2csyjGRDDlOIK1RTA== References: <87il8pao4l.fsf@whxvd.name> <87tts8vrpb.fsf@localhost> <83h6o84yz1.fsf@gnu.org> <87ledju2j7.fsf@localhost> <837cp3333w.fsf@gnu.org> <87pm2upajy.fsf@localhost> <83il8mz3nf.fsf@gnu.org> From: Sebastian Miele To: Eli Zaretskii Cc: Ihor Radchenko , 65734@debbugs.gnu.org, emacs-orgmode@gnu.org 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/)] Date: Thu, 07 Sep 2023 12:27:28 +0200 In-reply-to: <83il8mz3nf.fsf@gnu.org> Message-ID: <87edja1di5.fsf@whxvd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4RhFrh3XzGz9syC Received-SPF: pass client-ip=2001:67c:2050:0:465::201; envelope-from=iota@whxvd.name; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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 X-Migadu-Queue-Id: 068AE40D88 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.44 X-Spam-Score: -6.44 X-TUID: YqTUcOadVwG/ > From: Eli Zaretskii > Date: Thu, 2023-09-07 13:19 +0300 > >> From: Ihor Radchenko >> Cc: iota@whxvd.name, 65734@debbugs.gnu.org, emacs-orgmode@gnu.org >> Date: Thu, 07 Sep 2023 10:00:49 +0000 >>=20 >> Eli Zaretskii writes: >>=20 >> > Then perhaps just a special value for buffer-invisibility-spec, or >> > some other simple variation of a property Org already uses? >>=20 >> We may have a misunderstanding here. >> In "* Heading text :tag1:tag2:", everything is visible yet Org needs to >> protect ":tag1:tag2: from being killed by `kill-line', but not from >> `kill-whole-line'. Moreover, the behaviour also depends on the point >> position - if point is inside ":tag1:tag2:", we fall back to the default >> behaviour. And the whole "special" behaviour can also be switched off by >> flipping `org-special-ctrl-k'. >>=20 >> Invisibility has nothing to do with this need. > > Isn't it true that invisibility is what causes the user expectations > in this case to begin with? Then saying that "invisibility has > nothing to do with this" is not really accurate, is it? I am not 100=C2=A0% sure what exactly the misunderstanding is. My first guess would be: You assume that the tags are invisible, too. But that is not the case. Because of that the special handling of tags by `org-kill-line' has nothing to do with visibility.