From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id k1NxA8lWv2TKBgAASxT56A (envelope-from ) for ; Tue, 25 Jul 2023 06:59:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qPuBAslWv2RqQAEAauVa8A (envelope-from ) for ; Tue, 25 Jul 2023 06:59:53 +0200 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 6DC7152F58 for ; Tue, 25 Jul 2023 06:59:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690261192; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=snwxCrfDbgpYofh2Zd1qRAjnC2nuRwcR9nQ5QOxET/g=; b=NJIoofoZMODwRb79K+yKIXG6GQfrQZhwu/KvcKVjUFziNb35K6FrS4HD0XVpaDPL00uOii 1HQOPKCRFF+lBVUs+IMqYQzug2MPxyt7qJ+aWN5VUK6G/pHzVOHClliL0Ygu0GYp4YVwRL TZr3ny9Hid7CpFSkWIz+BU0LR1f8P7LAAQ2BbE8TocGCPzKejYM4cEaiSbqc3lUew3A8ez 7hJ/q1n6zXEDCjxzNr98wUGdF+yYQlY0N7mZVXN4TK1gKn18w6AlF2ARFyMBEaqMHRzjff r/WFznxaNom/VpTtHqYWj0iCQPE/Mc6ubYAVb2h36AvqIow1gMb6FdLqyg2FXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690261192; a=rsa-sha256; cv=none; b=nM91J5Bwk/x81xv6guantB7GNYQsA+vYy9ddQVvF2SP3JKAI6dmEyemB95fZK5kmFlvRKm +FVGDSUWQ+7vhvhqfDFeD6kSkK4rqSUlrYrVjzbVeMpy8RVZynKxzoDOy8zINu0yU6NQNP kEwkKvZsgA9d0Fv3Lyl/YTmkZLCXkbutQJoXz79JxJWCU+ZqLd0epf6snJKZrPl6Re567J 8bmAyowQdWdpg/1mn7YNRIbbQ1IBJM7Xs/GUpC/qNZqNvppq3IdMTMr7s/+p2FZRd48jxr 1xwW5Pf2LQj+hBpJYjWXdhZ80t2FeNGts/6ilHpoNu6qEtdBCOROh4be+Az5pg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOA8R-00046j-Ku; Tue, 25 Jul 2023 00:58:59 -0400 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 1qOA8P-00046Z-RD for emacs-orgmode@gnu.org; Tue, 25 Jul 2023 00:58:57 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOA8N-0001v9-Nh for emacs-orgmode@gnu.org; Tue, 25 Jul 2023 00:58:57 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4C93022715A7 for ; Tue, 25 Jul 2023 06:58:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x4fAN_Lq7ANA for ; Tue, 25 Jul 2023 06:58:50 +0200 (CEST) Received: from localhost (178235147088.dynamic-3-poz-k-0-1-0.vectranet.pl [178.235.147.88]) by mail.mojserwer.eu (Postfix) with ESMTPSA id B481C16788C6 for ; Tue, 25 Jul 2023 06:58:49 +0200 (CEST) User-agent: mu4e 1.1.0; emacs 30.0.50 From: Marcin Borkowski To: Org-Mode mailing list Subject: How to get the contents of an Org subtree? Date: Tue, 25 Jul 2023 06:58:46 +0200 Message-ID: <87r0owsi2h.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=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-Spam-Score: -2.27 X-Migadu-Queue-Id: 6DC7152F58 X-Migadu-Spam-Score: -2.27 X-Migadu-Scanner: mx0.migadu.com X-TUID: Ym9WXX1vs/Cs Hi all, I want to get the contents ("text") of a subtree. Without the heading, without the drawers - just the text. For example, for this: --8<---------------cut here---------------start------------->8--- ** Title :PROPERTIES: :CUSTOM_ID: whatever :END: This is the text. --8<---------------cut here---------------end--------------->8--- I need the string "This is the text.". How to do that? -- Marcin Borkowski http://mbork.pl