From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6GRABIoPfGdwoAAAqHPOHw:P1 (envelope-from ) for ; Mon, 06 Jan 2025 17:14:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6GRABIoPfGdwoAAAqHPOHw (envelope-from ) for ; Mon, 06 Jan 2025 18:14:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cas.cat header.s=2023 header.b=vDDixIYO; 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=quarantine) header.from=cas.cat ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736183689; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UiBdYOe4KT+9s3o4b9g7sZJSxhL/ocSNeWqwvWE0UOY=; b=VPbPKmyZ/pW1LXrf5EPvtAbOuKsOCJ3O5fWa90B3Ie0DsUy3nRtKvlK7UFErCiySf47e/8 0UPhpSPihdGnlAH4jEOsVSoByVQ1HVuvDgl+ek0EoMaJ4UEg2TLIlmPWtWRysgUrqLAoYD 3llOU3qvoNMBv+xix4FOzv9PWYyEXi2szWBhn5gzcLZKTORY0kYo4eSHcpccmeKXMbDhni QozHar5XLwblqR3uVXU2EnFKwRQ17ngt3Zwv45TE3CDz+JjJ9DaLibBAkgkSUMtxHPu6IW hf+b9vOdpHm52+bDMrLkjmPeoQlngAzckq5GHsRq/Xy9bNaV65t/OmysPPjuNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=cas.cat header.s=2023 header.b=vDDixIYO; 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=quarantine) header.from=cas.cat ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736183689; a=rsa-sha256; cv=none; b=Fzs5yv3GqbYb2Pwj+jo0DPX+T9v8h/0jKJ6DBkRnzMPx8nokRBRyVZzwi15IO7+FGNLKMk SQWqasU2XCyTbCU4H5X6YPsP+nrEu4yZKV+2H5cVvcEx6L4ontkm/804yaOUBrMIb/w/PB YgfxzV53j2Scl11BBzfWZlhLgYzJ2gzxCTVpj64bs7bCKs41x73//WiibwGlylOM1HaPRD lYwrLIEfoEp8eM4PjuDEyOZIGqw3QCU7ZwrUInvPgPVFlAhknNBSf6lfIf+FAGsIK6AqUw jy59R6ztxO76GZ7fCgmu2OZmClvIelufJMuOOjDP1Tp/mDCrEyqF1HJ1xla9Ag== 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 A97E86E6F for ; Mon, 06 Jan 2025 18:14:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUqfg-0004AW-3Y; Mon, 06 Jan 2025 12:13:44 -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 1tUqfc-0004AB-Pv for emacs-orgmode@gnu.org; Mon, 06 Jan 2025 12:13:41 -0500 Received: from cas.cat ([45.150.187.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUqfa-0002VJ-Jg for emacs-orgmode@gnu.org; Mon, 06 Jan 2025 12:13:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cas.cat; s=2023; t=1736183615; bh=PT0XAiv+6P9RJeoGUvkopHqZMvBxowLKJYJyomhpHWQ=; h=Date:To:From:Subject:From; b=vDDixIYOuNAwxFvU0zcls404O8eRSubADzz0weSPPxP9wGAaONycXU5AToI/jew4K gGrewVxI6t0TsM3bM0my6y536g4rny7ZoN7PKMU/8H3NpyRs/qdZzIkbCVS9e6euIz bdlFb5EygRkwuCsJE6rVyrKfyBl4xASi0G7fiEsaJjQI0DEaEwvfC3dyr+Vsynn2fW aESrCeTyLL/kVUxgXL7sN+svsvSE0CNk5RC9QmihZkxETeSlb8iEuGV4Aj1UDpK7C4 bnPhncQdRGcYdnALVdrvZZg1+I2jrDlRS1NhSI9RiCCeFQ51ERGonaz0jgZ3drvx2P apjJ6aAqs8NHA== Message-ID: Date: Mon, 6 Jan 2025 18:13:35 +0100 MIME-Version: 1.0 Content-Language: en-US To: emacs-orgmode@gnu.org From: pinmacs Subject: C-c C-x M-y for (funcall 'org-paste-subtree '(16)) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.150.187.15; envelope-from=pinmacs@cas.cat; helo=cas.cat X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, GAPPY_SUBJECT=0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A97E86E6F X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.48 X-Spam-Score: -0.48 X-TUID: eDa+XJ45iipb Days ago I discovered that exists org-paste-subtree, but the functionality that I like is when you pass it C-u two times I discovered that this shortcut is available, and sometimes I want to paste subtrees in the same level as the previous (C-c C-x C-y), and sometimes I want to inject them as subtree I feel this shortcut is nice for that, and I want to share if you consider to add it to default orgmode, that keybinding is available (add-hook 'org-mode-hook           (lambda ()             (local-set-key (kbd "C-c C-x M-y") (lambda () (interactive) (funcall 'org-paste-subtree '(16))))))