From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aJSqEph5MWRdBwAASxT56A (envelope-from ) for ; Sat, 08 Apr 2023 16:26:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KOCtEph5MWSlhwAA9RJhRA (envelope-from ) for ; Sat, 08 Apr 2023 16:26:32 +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 96E7FFC6D for ; Sat, 8 Apr 2023 16:26:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pl9Vb-0004Eq-IV; Sat, 08 Apr 2023 10:25:40 -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 1pl9VY-0004ET-EZ for emacs-orgmode@gnu.org; Sat, 08 Apr 2023 10:25:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pl9VW-00057e-Fo for emacs-orgmode@gnu.org; Sat, 08 Apr 2023 10:25:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 79A192401D9 for ; Sat, 8 Apr 2023 16:25:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680963932; bh=q+VqrCLzk9vDh6IhkuEAe6OHX4hYAgsDTL4Lz0e9xtE=; h=From:To:Cc:Subject:Date:From; b=j98ArGw93QBbVQhQji61o7b1lunAxMkpP2sEXFk7fW/MPFzvO1JFPcywWCQwfSw5o uZpbN/Sm+dsx4Crgg57t94ja249+NuUQpXsHBvfFJ6YgVnVNCaKVErek7oNL2/QeL5 5bxNf5tMyb/tMknrMOoSp0C1GV7igq0jxwYUL28saLuo3o00wfUYENA6f7NSTpua5L 4wOceoX6mMUd7diqjARo1WYN9QorXFe+eweNm2I+hai49H1GeSqNwHqJV7wG/Nn8ip M+GEfknjIvdH114a+89Vs0l+qz6nB9clypMAU9ReLP3ceM2vzKgcEQlEKuMOC08acf cvLfnSf8Pyflw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PtyFR6w8Lz6tsf; Sat, 8 Apr 2023 16:25:31 +0200 (CEST) From: Ihor Radchenko To: Tim Landscheidt Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Documentation for #+INCLUDE: does not specify order when exporting [9.5.5 (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/)] In-Reply-To: <87jzymv6y5.fsf@vagabond.tim-landscheidt.de> References: <87jzymv6y5.fsf@vagabond.tim-landscheidt.de> Date: Sat, 08 Apr 2023 14:27:53 +0000 Message-ID: <87fs9axxcm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H2=-0.001, SPF_HELO_NONE=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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680963992; a=rsa-sha256; cv=none; b=qYAgWLnEABpIbNPLFyFbJ4dMomAUBWVLdxC5Wm3RpEIakpEnoDJUCKHTZI4z9i+GN0l8Li 1GKpZCQQhA8wjzlFt6J0IDPhzX/Ifj8zyZoYMaiHuEZmk9AHwDQ2G3X0CNyUPe6nVEOO6C xwNnHrTVBAEX0hOA8KcdqVhjdgCPaLYbjxEmMXj/Pxz45HrOL762Uum6Yr0WUZzve4UujZ hDnin2TagZl4FiNFOf/Otd6/9sDPRVoFww8KDiIETuc6hdde82Xe2BoYjPwUt7fG0oPMTt s8aiGCqCGM1M7bwGKKfOXTnGWe57oo+U/yXX0JfeJCbGqHvt2KQP+jQOErv+Kw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=j98ArGw9; dmarc=pass (policy=none) header.from=posteo.net; 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=1680963992; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=R6j4dtHZmJAUtli1Vmpa/fg5JXIn6Q1j7YThx8bCisc=; b=CTEvXUCSpec+xn3zovfBdQaHjG4W0A8d9dMLDawRJ10mjwSjHX3gTW9nLrfh8YezncKqi7 B+jTGLdBTNCsN89PEEdyfzNbsOFP2pcmzUezEdk/tnaL19HBmgLEIMHy3RrkYmhaWrXq87 Q6nMHtS2WD0iPfTRDX4T9IZYgGEF93wHfbV6LAW0HiX+5hwlx0LiXKjvCT9VtmNYEjDZoW au+pzsDnoGe/fChXW3aNUoIr74qf34arc+dgdhH62WMPl95bTqTdgTNVKVpyFFDjRqbQza vhXch+JPO5u8caclITwZqmLSfolgHxcXPBREgQOoT7sfFr2eJqnt9sXK09oV8g== X-Migadu-Spam-Score: -6.22 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=j98ArGw9; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Spam-Score: -6.22 X-Migadu-Queue-Id: 96E7FFC6D X-TUID: SImXcoIDPXT3 Tim Landscheidt writes: > But why did I spend a few hours debugging this before final- > ly understanding Org's mode of operation? The first sen- > tence of the documentation in "13.4 Include Files" reads: > > | During export, you can include the content of another file. > | [=E2=80=A6] > > I'm not a native speaker, but the word "during" drew the > mental image for me that, when exporting, Org starts at the > top of the document, reads through to the end, and if en- > counters a "#+INCLUDE:" statement /during/ that, it includes > the referenced file at that point. > > Now the Org manual is already beset with examples that look > as if someone complained about something not being document- > ed somewhere, and then someone adding one sentence just that > somewhere, so I don't want to add to that with "just a quick > fix". > > But I do think it would be helpful if the "order" while ex- > porting would be documented in a meaningful way. Sure. We can add a section summarizing the export process at the end of "13 Exporting". Patches welcome! The export sequence is implemented in `org-export-as'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at Confirmed.