From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qGwFLG0yoWXfpAAAkFu2QA (envelope-from ) for ; Fri, 12 Jan 2024 13:37:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wIVFJG0yoWUVcAAAe85BDQ (envelope-from ) for ; Fri, 12 Jan 2024 13:37:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WqMJJBOR; 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=1705063021; 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=8H3vpK53noZRjV8Ozk+rWk7PAJB29AFvM9SJXrhxN2I=; b=SJdKQ/AqRN9+bGI9s/tY72ZLmFcMM2pPwuX8JU1uL+kivnOPE8VRjeTSVbIjEk1KN9qAQB e5M34bCIgmzhDQNalc49X26MIB8y+tmUBaTDTjjAtRnO8bQc7JqAYkza1iLpyhO9GuOFCI kdwiM4TEd21MLxsODpTeWR7tKcmipbDHPSaLeS1IB/fGLCt4DHdnKGGy2KcGc4v4nSOmB4 DgPrr4FkUxp+JgmUuSfZw4UxBJIFyUngCFYUdvyzgFz9gYNqkr1UNVu4jAwJu4Wz6s7r1g YIzcfD2CUrGMFm1/LkHEo7xag84OwEeTbnSh0N2W6/tZrk5xt6kAyhgh/eYWCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WqMJJBOR; 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-Seal: i=1; s=key1; d=yhetil.org; t=1705063021; a=rsa-sha256; cv=none; b=Ho9VF1i0eyEjeSufkslNLYbkyM5MYJv50htfP7P3B+SWGslQGhVhNE0B+d2nqqYvxTlZap rCW02Dejs4gZbnoxk6LMnFxV7vbFlIjIJkpiiGlgm0+z9llGmtksiOnllOXxpGNfR/VOxs a4uyDbjKSXlAj4w6s10jTO01rjRFOu1glfE2v1FyhiK4v1YkljLHbt3+6plig8yzEAmLQU nczMc3z/jl36qC3Toz5i/uA/86dB4ok9xo2VNyWLIO+XBXqqw3rSVw1XOvRtaZ1CCJFdRh kR7lpnwO2Nq7cshO2aeK7O9ZWVAxnn+6TeaBCjU4Cx80Wrt7YQ1nmt8qL4q1ug== 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 7B7C03C3FD for ; Fri, 12 Jan 2024 13:37:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOGlh-0005dY-TH; Fri, 12 Jan 2024 07:36:13 -0500 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 1rOGlf-0005b4-Lh for emacs-orgmode@gnu.org; Fri, 12 Jan 2024 07:36:11 -0500 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 1rOGld-0004oF-BK for emacs-orgmode@gnu.org; Fri, 12 Jan 2024 07:36:11 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0825B240027 for ; Fri, 12 Jan 2024 13:36:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705062968; bh=T0CcII6YbCnVR71zAxJGZWlINoPab67zux3bz9RU4dI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=WqMJJBORM7QeQ9fV/9bXFsNvaRgYasUSKQOJkHpVJQBLvw+qsBfHTUaTUmDrc7vtC 5S/jVtuUToAyANuJj+RnLhcv9mehudIr8fVndD9glmrFQBnY4XEpAJJCEJuT5tqDU6 p+6ACtvnqGTbTpsez5cAPvJg4fHgl/FpkXlVsXmKiHoF0a0PXAo9Bw+NXcw3NuvuYL LYbh2UicG0ASgS6ttmre/ACpb2qxxTOtegmC09HMTwjm2/Gdu9T6I/1NqNLyy2dPhd VM7+LiO4ninEbc4J46wl36XMqFpSStFtwPeN5nYO0mJg/xdeTUD54GyO89LTPw433w Q/D9QZdEi1+Rw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TBLcQ1yHSz9rxD; Fri, 12 Jan 2024 13:36:05 +0100 (CET) From: Ihor Radchenko To: Eli Zaretskii Cc: monnier@iro.umontreal.ca, emacs-orgmode@gnu.org, 65734@debbugs.gnu.org, manikulin@gmail.com, iota@whxvd.name 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/)] In-Reply-To: <83zfxaivfv.fsf@gnu.org> References: <87il8pao4l.fsf@whxvd.name> <87tts8vrpb.fsf@localhost> <83cyyw4of7.fsf@gnu.org> <875y4ovct9.fsf@localhost> <875y04yq9s.fsf@localhost> <875y02y0da.fsf@localhost> <87frz6w2zt.fsf@localhost> <83cyu9nyea.fsf@gnu.org> <87sf35pcds.fsf@localhost> <83y1cxmgws.fsf@gnu.org> <87ttnjj2dp.fsf@localhost> <83bk9rlusw.fsf@gnu.org> <87h6jjj17y.fsf@localhost> <838r4vlt0n.fsf@gnu.org> <87bk9rivzo.fsf@localhost> <8334v3lltf.fsf@gnu.org> <87le8uhh9a.fsf@localhost> <83zfxaivfv.fsf@gnu.org> Date: Fri, 12 Jan 2024 12:39:18 +0000 Message-ID: <87v87ypvyh.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -8.53 X-Spam-Score: -8.53 X-Migadu-Queue-Id: 7B7C03C3FD X-TUID: yXOf0Bn0DSLN Eli Zaretskii writes: >> I think that I see what you mean. What we can do to achieve this is >> changing `kill-line-query-function' into abnormal hook >> `kill-line-query-functions'. Then, `kill-line'/`kill-whole-line' will >> use (run-hook-with-args-until-success 'kill-line-query-functions) to >> decide whether to show a query. >> >> Does it make sense? > > It might, yes. But do we have to _replace_ the hook? cannot we have > both? I.e. if the new one is defined, call it, otherwise call the old > one. That would be more backward-compatible, I think. May you please elaborate what you mean by "old one"? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at