From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QIokOc4NoGX4PAAAkFu2QA (envelope-from ) for ; Thu, 11 Jan 2024 16:48:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YEhaNM4NoGU8EQAA62LTzQ (envelope-from ) for ; Thu, 11 Jan 2024 16:48:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ad1RPUov; 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=1704988110; 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=bnafCdzpcxY2+IclnPBc+9I5zJ0szaHEQ3lDjc0g26k=; b=tDjdn6Uh+3pTt6odBf+QEaTSUWlffktbveMHXEJt8nrYUlzeDL8F3yqnDkv5S8uel/IkET YIgVfgiDpXy0ezRKOa4GrMd8yEIuO5CYiOmGW3ttBmI9xmEj3pvoUK5zxY1/lh1sVDFGs4 zyFEvmYsECDG7+r4NJM0jQcTvPavIkq/VETZ9ObbYwWDOVhpQc+OnfmzbWaT3duGtELtKd bcGbOnQRm7eb2CZDQZKW87OvK4u/YOVizJGQgoqbF0mc1PwpcO0jSXmN7l2Qw4oTeo3qZ/ k5s3Wb+aeNCpNb8miyDkDaNtTSwQqLl8ksYuOHq05GwvqdYz2WTDpUho56FkqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ad1RPUov; 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=1704988110; a=rsa-sha256; cv=none; b=jaasUJEbvySZK9BIUmh8jjbEGwFv+wK8fcIFLPWnttcTITuKYnmHhjLih1libdx2MwCG3W 6PGmRug7aDpBuzMolK7pF34J3z7+jp9dcFZaJqR6MLqAuLQjQTWYDX/zDAGZYzH6/YWee/ TKgc8N2CEr9LMtwaNyzINKbpV3FZkmpO0ZeZaFIuKLESEBSXgly+aMYDEyAUDYE/Pp1qiB LjQ7ZgJzo/M+Fz5rT/wsk0LR3qcAS8wdOW4i7R1aXGTOIzhKUBVdgLF7tiZjoj5zax8qdd sOlOT/BKCRKJVHvxoB4N/g7JqD2Gr9qp4ZPR4qdiWZg/oZkVU18KA+pMFHyaNQ== 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 9F88B815F for ; Thu, 11 Jan 2024 16:48:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNxHS-00033a-95; Thu, 11 Jan 2024 10:47:47 -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 1rNxGw-0002kI-4A for emacs-orgmode@gnu.org; Thu, 11 Jan 2024 10:47:15 -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 1rNxGq-0000UB-1V for emacs-orgmode@gnu.org; Thu, 11 Jan 2024 10:47:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CD64B240028 for ; Thu, 11 Jan 2024 16:46:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704988019; bh=Da18y0jBxJrQFJCP0u874DTKFK48AiwG6tFUd2tHo8Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=Ad1RPUovjDL428+1Q/sjSj/VULV/sWuVbaOfJFhr+a4+fyY8r4bC99+sebHlxAQi7 8v/ItV028U9HFR+ZncwU6IVNWP9XIS3/kE/mN1HccveZb4RaeBRTV6Y5C9bPd17Pyc ZWl+ZXcO97B/iWQJ6Oeg0aDm2+TkVUde0AcDI89KReiolLOmmrhjVFO/8W1uy/+nbS jeuQ/31XRAV7ZBhZZ64Mc4ystSBiZVenIwJNxSvWWLxpZheyXV0btJ6TeDw1TpcG+2 11SdS7vNH0HMChp6fvs/QU8WXQE5Yc2mL736uPrKD17t49NXskMbIP5S9ltsKeIMvn lYZPdZiOaYuLw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T9pv66k2cz9rxF; Thu, 11 Jan 2024 16:46:58 +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: <83y1cxmgws.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> Date: Thu, 11 Jan 2024 15:50:10 +0000 Message-ID: <87ttnjj2dp.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: mx10.migadu.com X-Migadu-Spam-Score: -7.05 X-Spam-Score: -7.05 X-Migadu-Queue-Id: 9F88B815F X-TUID: 8Fa09F+oIOtc Eli Zaretskii writes: >> Then, we discussed that Emacs commands to not always provide enough >> toggles. So, I am asking to add one in this thread. > > I don't think I understand what kind of toggle are we talking about. What I would like to request is a way to handle the following situation: * Heading<... few hundreds of lines of invisible text> If the user calls `kill-whole-line', a large part of the buffer will get deleted. We had complains from the users about accidentally deleting a lot of text in Org files in such situations. So, I'd like some way to configure `kill-whole-line'/`kill-line' to warn user about killing hidden text when we detect that we are deleting a folded heading. Something like: (y-or-n-p "Kill hidden subtree along with headline? ") I believe that it might be useful in other situations as well. Like in outline-mode or outline-minor-mode. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at