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 SImQEVMRnmUIDwAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 04:38:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AKTqDFMRnmU0FQAA62LTzQ (envelope-from ) for ; Wed, 10 Jan 2024 04:38:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Dw75CIwZ; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704857939; 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=zZc/rd3jx04yRJygxHBlgppOUBiXVzhF+7nHsByGXHA=; b=Tn4GjOhgeJwJe0cFidCmQ3sEr0nuzvsg8BcNF6NNvs3zE6qdFnMglgP9Sp02rG9y5K+KUE Abd0kYBebPuasjdD8l8+BTS4f8QUPtd4U/2k6dMkO0iSfinxpImHA08qo4L+X2iN+YmWhG IsiKpFkXzh+s9erKk4G12pNXQwu+X36pHQcz48qK2XG81Ez6DoKzcAC0UU0CSLNTKIfOgt cyxlZLa2ORXu/LO+pZtqlf7+YmGf2d7/wgteGSlLCea2jPsFjsKWcWVubHDjF3Vt7LW/aM Q5a6x5zcQMfysoUViKdimPIz8SvkBG1qbuCFCSiKc4wKmT/qqXtYMWOnFeok7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704857939; a=rsa-sha256; cv=none; b=ejgg6g+UTsUVSNGgFLLeTzVckZKoX/P+WZpnsr/DmMSHkBPowGQfPsdt025WtBjnU+aog9 Ic/wT+wwvpqMFtA2eR2IiZ6pLMAIzGFmgKKgnJJo97X46LakzV/IY71RHQX0l4Ni6NPe3D ifCYqiO55cX/eLr4x/WABHHUsP3yHDSfo8xIA+sqEVEAtnQDBYFa3dB0uKMG5FGkwYlL4I +VKAqZn0FCqZOIVh94lX3/3VWTryK4J/C+K3FBNPvU4IVUGlRNjLsn4vrZHqWassrgb3E7 vgcRCXNYXVPsKVl58PRa3qGZl6/+YGF6spA4wsbt7W/a8E+D27NhfeGHei1ieg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Dw75CIwZ; 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=gmail.com 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 0E6B543B88 for ; Wed, 10 Jan 2024 04:38:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNPPl-0005SK-QT; Tue, 09 Jan 2024 22:38:02 -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 1rNPPg-0005KC-Us for emacs-orgmode@gnu.org; Tue, 09 Jan 2024 22:37:56 -0500 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNPPa-0002RA-Oo for emacs-orgmode@gnu.org; Tue, 09 Jan 2024 22:37:56 -0500 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-50e7e6239e1so886661e87.0 for ; Tue, 09 Jan 2024 19:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704857869; x=1705462669; darn=gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zZc/rd3jx04yRJygxHBlgppOUBiXVzhF+7nHsByGXHA=; b=Dw75CIwZvl95nbuf8ewyqvcoBylPCxKz1hp55I2vZ7p9ltQXZLyTE8WKh+bX7c9JuH tTKqvJWfgKPg8gxiptp5mi/iKorfVc+7VInjE/Z6Zvti0M685YBzOhjQg7qY2j6c7G5k dd0FE6EyaO2f3bNPRgHhUP3PkRD+hLxMWxlWDSRskFFzepQcCyGgrCz3IlG4mmqrM9lS aToMx6IpuWGhPbUgKZpCOOmC37R1VsNZ6AGoIst2MNBMMPE+x/sFw94qw1AzcC6CxPc/ bBZPDpbUb/Zyh+r/OLyzGzvcl+/lLVTPBSSOFPpmaB1/s/BF99Ov7oiGjSjTw/6qWARv NydQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704857869; x=1705462669; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zZc/rd3jx04yRJygxHBlgppOUBiXVzhF+7nHsByGXHA=; b=bYXbBhO+AvVmQsWvHWxxdLmhkTzqyyZqbum4VN/mISbLfB+I9fM/MqM6EG8Z5LOlp1 csAkp1L4GeoNsUoZekCNzzk0qtlS73rhBwKAsSPcGhXKCa3f8ve+eiQMVnaQffvN4HGq OSqAzDh/7nP7AJPDHlziZqp5DW9+gbjihLjLiaa1wBmUXDqhlEOkIRgG2Wvs4u5cDSIR 6P0+UiSBOWEq6PvYwrJhPhZvTNMBqYwPLplXZWFa08UZjFixA/8dw5m1EhHBNcLFaA+X ouZ8Op264l61wK/bjXGWezKEoHkNrCx7TlgmLMXcmuuY8o4aRYyrIFEBAIu7WV0dbpZ3 5MRA== X-Gm-Message-State: AOJu0YzhvRlFh0YInBMWLs4sQ2eGvd+urQbsRG6Tx7rV9S4sYUu28F5I 7LsRiAywF9/5tJG95beTsbJgB1H7iST4SXZ9x9x9zNHHTVyEGMnd X-Google-Smtp-Source: AGHT+IGKo+t+TaZkpkSV4ZGca283fWr7EnaCmSflWJl4D2YSsRnrkqTyAW1a1AMZ66mL2uCDLs/UfU1ezJ5M6D8ds3I= X-Received: by 2002:a05:6512:b1d:b0:50e:b380:61a8 with SMTP id w29-20020a0565120b1d00b0050eb38061a8mr357342lfu.4.1704857868537; Tue, 09 Jan 2024 19:37:48 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a9a:55c1:0:b0:281:1d47:8d03 with HTTP; Tue, 9 Jan 2024 19:37:47 -0800 (PST) In-Reply-To: <87r0iqw4df.fsf@localhost> References: <87r0iqw4df.fsf@localhost> From: Samuel Wales Date: Tue, 9 Jan 2024 20:37:47 -0700 Message-ID: Subject: Re: [fr] org-copy-subtree or so with no header To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=samologist@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -5.15 X-Spam-Score: -5.15 X-Migadu-Queue-Id: 0E6B543B88 X-Migadu-Scanner: mx11.migadu.com X-TUID: jWKg4ZAP86OT hi ihor, more below. On 1/9/24, Ihor Radchenko wrote: > Samuel Wales writes: > >> i set c speed command to copy subtree. i'd like to set C to copy >> subtree without top header. idk how to expand subtree temporarily. >> >> i thought it MIGHT be a useful fr. > > May you illustrate your request with an example? sure, thanks for interest. * top top ^*** my example header text this is an entry it's also a subtree it is an example of an almost trivial subtree, i.e. text but no child entries. with point at ^, i press c, which copies the whole example entry including the header/heading. great speed command. it is configured by assigning org-copy-subtree to the speed command. what i want is, the exact same thing, which i will assign to C, except that the line that point is on is not part of hte copy. essentially an org-copy-subtree--no-heading command. [more complexity, perhaps unnecessary: if there are child entries, again the result is exactly like org-copy-subtree except without the line/header/heading point is on.] === [there is more that could in principle be discussed as an /analogous/ topic, perhaps for the picky sake of keeping orthogonality across org features in mind, but i don't have it in me to cover. to adumbrate: 1] allowing choosing exporting a subtree with or without the top header similar to the above and 2] allowing /forcing/ exporting subtrees, again with or without exporting the top header just as in [1], even when the todo kw on the header in conjunction with org-export-with-tasks has inhibited exporting the subtree. i have for many years waned both feaures also. but i might not be able to provide further clarification or particpate in the discussion for unrelated reasons. it is just an extraneous comment for those who get what i am talking about, if any.]