From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko 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 10:03:22 +0000 Message-ID: <87msxypafp.fsf__27212.8502185055$1694081020$gmane$org@localhost> References: <87il8pao4l.fsf@whxvd.name> <87tts8vrpb.fsf@localhost> <83h6o84yz1.fsf@gnu.org> <87ledju2j7.fsf@localhost> <87o7if72b2.fsf@whxvd.name> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11252"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-orgmode@gnu.org, Eli Zaretskii , 65734@debbugs.gnu.org To: Sebastian Miele Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 12:03:32 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 1qeBrH-0002eb-Nq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 12:03:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeBr5-0005Ml-C1; Thu, 07 Sep 2023 06:03:20 -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 1qeBqm-0005GQ-VO for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 06:03:03 -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 1qeBqm-0002gK-NI for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 06:03:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeBqo-0004qE-8l for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 06:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 10:03:02 +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.169408096318583 (code B ref 65734); Thu, 07 Sep 2023 10:03:02 +0000 Original-Received: (at 65734) by debbugs.gnu.org; 7 Sep 2023 10:02:43 +0000 Original-Received: from localhost ([127.0.0.1]:38666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeBqV-0004pe-2V for submit@debbugs.gnu.org; Thu, 07 Sep 2023 06:02:43 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:52027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeBqR-0004pN-Ro for 65734@debbugs.gnu.org; Thu, 07 Sep 2023 06:02:41 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9B572240029 for <65734@debbugs.gnu.org>; Thu, 7 Sep 2023 12:02:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694080952; bh=5c4riDdXtJ/eWnH1Zw2iVhDHUW8iG3+2X0iAPq6EGDI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=l4zDsWOs6dT/Z7qajUYg6g22RUX8J38gnxbg9bDAaPjFqtJ02q/lqjGLv9NwfqFj6 bkqnWOVZwth7M3mNifsu1+iszCkM6VwDB7IQqtV+cbwYOTiomvn2hS13wn/dU8mjLI pvSTitEvQkkAhpy4p22cN4dfA/XcxZlSVhpIzWO50axgs6/bB/GR5sQLwSZxOwSpsB gS8SZ8TiAbP6JM3Su/kzN8VqiGUmTdBjmv/CRwh9oVSsJGB1gKORgv+PFj9k4hy2pO SsmUq/rBMjUDfuOENmcTbjP7gXcfYsvDIzZH62G3Xv3+WEZYUHB2a+Z2TO9aRUb5PN UHKQVzpZinj5A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RhFCr1Mgzz6tsb; Thu, 7 Sep 2023 12:02:32 +0200 (CEST) In-Reply-To: <87o7if72b2.fsf@whxvd.name> 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:269635 Archived-At: Sebastian Miele writes: >> I think there is misunderstanding. `combine-after-change-calls' will not >> affect the two-step modification of the kill ring, if we put it around >> `kill-whole-line'. Or do I miss something? > > I tried to wrap the problematic portion of `kill-whole-line' into > `combine-after-change-calls'. It seems to have no effect. The > after-change function `org-fold-core--fix-folded-region' still gets > called twice, not fixing the bug. I did not dig deeper, because the > stuff that makes `combine-after-change-calls' work at least partially > goes in C and seems to be scattered over several places. Oops. Of course, I meant `combine-change-calls'. `combine-after-change-calls' does not always have effect. In particular, Org sets `before-change-functions' effectively disabling the macro you tried. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at