From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sebastian Miele Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <87edja1di5.fsf__25680.561601051$1694082749$gmane$org@whxvd.name> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32208"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-orgmode@gnu.org, Ihor Radchenko , 65734@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 12:32:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qeCJA-0008D7-LV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 12:32:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeCIy-0004MF-Nr; Thu, 07 Sep 2023 06:32:10 -0400 Original-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 1qeCIr-0004Id-9a for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 06:32:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeCIq-0007mX-Km for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 06:32:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeCIr-0005j4-Qu for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 06:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Miele Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 10:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65734 X-GNU-PR-Package: emacs Original-Received: via spool by 65734-submit@debbugs.gnu.org id=B65734.169408267421956 (code B ref 65734); Thu, 07 Sep 2023 10:32:01 +0000 Original-Received: (at 65734) by debbugs.gnu.org; 7 Sep 2023 10:31:14 +0000 Original-Received: from localhost ([127.0.0.1]:38712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeCI6-0005i3-BN for submit@debbugs.gnu.org; Thu, 07 Sep 2023 06:31:14 -0400 Original-Received: from mout-p-201.mailbox.org ([80.241.56.171]:41478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeCI2-0005ho-Cr for 65734@debbugs.gnu.org; Thu, 07 Sep 2023 06:31:13 -0400 Original-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== In-reply-to: <83il8mz3nf.fsf@gnu.org> X-Rspamd-Queue-Id: 4RhFrh3XzGz9syC X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269638 Archived-At: > 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.