From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +N47BiJRcGZDEAEA62LTzQ:P1 (envelope-from ) for ; Mon, 17 Jun 2024 15:07:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +N47BiJRcGZDEAEA62LTzQ (envelope-from ) for ; Mon, 17 Jun 2024 17:07:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SkzsttMR; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718636833; a=rsa-sha256; cv=none; b=AAx9j3DM74oOMxztPaxS0iRA/0A9BeksSeakc+7j6U3gd4XNcOA38sB4Pp8HFOA/qFTBDn YkmuKL4qeQeg90abP6tzf3uTuqGoz1WqTgbfiPvz1ErbnnuWB6gxInTFUrcUzaFr2SNWpd o+BJ5KHljjfITQpR6tbfmM+8UxL4v1DCzzpROVqmlib3pateRUSKCLkPr/cwKJXQlE3mYq n+JijpKJNVSL8/afAckpPYhWlHI9caxkbI37KG6QOE3u006KoBYswvmyZ4dcubXqgnlGO5 V4qCPpm0pEk7FzfXX4gu9pdRRgk73LC852wJ8qmerea4MHScKLOg3P1A50WV/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SkzsttMR; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718636833; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=n+mcr4oJoepZKiEZpp6K5YBqOC5rx38M0ka79gf4iEQ=; b=kASEa88NOwYqmu6R5zztcyijUcToMtu2VlKSIkhSWRsyqqxL28GJb3Y9WfBCSZ+9bpMGgq gF5+35wIpwice7gNHfrBrrf1Kq6/XIOTiDvtZppzhfIFZZd5h2CHRoSX4FPKcXYTjqc+0V NTkg6qOaF/d6WSfzBsziS0fDR3GGzrkOGY4Y7/73R3cp+MehY5DpO0jGc8ETQO5QxhqzNe TfBfiomzhhuoRuCnAMaoEGne+qUF3uv9t08qq7jUI5CbNvVr6AsmlhKO9h059Mmf8k0SkP nsHwKK5+LNF3nORFtY88BK+Fvg0ILgjoZuCni/YT2AkneLlAsyH8Cs6GvqyNqA== 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 D72691477F for ; Mon, 17 Jun 2024 17:07:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJDwM-00019v-A0; Mon, 17 Jun 2024 11:06:38 -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 1sJDwK-00015k-4r for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 11:06:36 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJDwH-0003IQ-Pi for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 11:06:35 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-579fa270e53so6773298a12.3 for ; Mon, 17 Jun 2024 08:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718636790; x=1719241590; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=n+mcr4oJoepZKiEZpp6K5YBqOC5rx38M0ka79gf4iEQ=; b=SkzsttMRFa3F3dIPWLt7IFEHqk22boslF3YdHhGLXsvvMb1CTcYf7I1elB+lkk3yLA C12/iCYgxkz17wyEyiintJTcM0FFItH1BmVyax1PsZrZmIwdieAQYxJXWKmQ/+Jzc4BQ StwZO8YuKaKrjAFtrLbAG71jLqkNNnv7DDp6yHISjMj23WZU8BB4oekvqRlcJFqmsnAk vgOTde7Nix5mkqIjVEkXoVf0bcNISWBwokLKS2cSXZprqJbSf6R9aQtH74uscoyTkStH IgLUo0gSggO6K9pVBJlXqZYCBqKqdSQTnn+PTZrOZrPqjrhUUWor7IGpiYsEeAI6S6GP zqRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718636790; x=1719241590; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n+mcr4oJoepZKiEZpp6K5YBqOC5rx38M0ka79gf4iEQ=; b=jsozOnKfumFP6fzZ9CVPNnfpuUFJlXBff+9bLeCv8x3MU2ZIGywYjc9MVVTc2MqmTF Ux8YMPcbMc8jrxznfn7YLQuadifooMfjlU1qHXB4pOO4av2VfQIgn1xpsKjuzWn6VoY4 N3XSydvB01BsnwvAX626DR574kZaVtSr1jnwaKXVoCHmoZxyRjOG46tuRpIWGsA5nhMy +cUzakeiNldwJQ244dq5YULorIaA4mHa4olsel4qPVa7TnD9w1TRIe4SYq2xidGlWTDQ kqQ/5KHrKMAvMgwVMu3WA09yARtzm3T4Ps9SJu15Q6VCzf/FEKFW89d5x+S5w/w2OKN3 3F9g== X-Gm-Message-State: AOJu0Yzo9Vkld7KCWfEvE75ksuf96cxnomyp46hHYA1w5iUXeViOzmUy H4hHBBhd7yAIt5fU3ByY2y80qQIlYFq1aYAlVG2QcKNJFKHwtgRvgWYPdJueYdPNw/uX6Q3te1m 9FgV4ayQALLDXMNpnfXkLx8faEZC7cQ== X-Google-Smtp-Source: AGHT+IFv3gtQmm+PO+9RJSZjaQhx2BQgdHebigTgxTr1hQKnCE0TdnhsB+s1lnKMvYg6AhzSLn1LkGtmMu1ZM/lS7w8= X-Received: by 2002:a17:907:a701:b0:a6f:6df4:b4cc with SMTP id a640c23a62f3a-a6f6df4c99bmr867894866b.67.1718636790174; Mon, 17 Jun 2024 08:06:30 -0700 (PDT) MIME-Version: 1.0 References: <87zfrjsko5.fsf@ucl.ac.uk> In-Reply-To: <87zfrjsko5.fsf@ucl.ac.uk> From: Risto Stevcev Date: Mon, 17 Jun 2024 17:06:18 +0200 Message-ID: Subject: Re: Strip out #+title in #+include To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000605ad1061b174f14" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=risto1@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: -9.69 X-Migadu-Scanner: mx12.migadu.com X-Spam-Score: -9.69 X-Migadu-Queue-Id: D72691477F X-TUID: LE3brtIdrE50 --000000000000605ad1061b174f14 Content-Type: text/plain; charset="UTF-8" I tried that, and it did sort of work, but the problem is that I need to do that for dozens of org roam files that may or may not have roam_refs, so it felt really fragile. On Mon, Jun 17, 2024, 16:34 Fraga, Eric wrote: > What I do in such cases is include the file starting at some line number > that avoids the header information for that file (title, date, author, > document settings). > > Example: > > #+include: "introduction.org" :lines "10-" > > > -- > : Eric S Fraga, with org release_9.7.3-44-g959534 in Emacs 30.0.50 --000000000000605ad1061b174f14 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I tried that, and it did sort of work, but the problem is th= at I need to do that for dozens of org roam files that may or may not have = roam_refs, so it felt really fragile.


On Mon= , Jun 17, 2024, 16:34 Fraga, Eric <= e.fraga@ucl.ac.uk> wrote:
Wh= at I do in such cases is include the file starting at some line number
that avoids the header information for that file (title, date, author,
document settings).

Example:

=C2=A0 =C2=A0 =C2=A0#+include: "introduction.org" :l= ines "10-"


--
: Eric S Fraga, with org release_9.7.3-44-g959534 in Emacs 30.0.50
--000000000000605ad1061b174f14--