From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +IgBGSBbWWFdcQEAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 09:26:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kDa0FCBbWWHUNgAA1q6Kng (envelope-from ) for ; Sun, 03 Oct 2021 07:26:24 +0000 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 D895410664 for ; Sun, 3 Oct 2021 09:26:23 +0200 (CEST) Received: from localhost ([::1]:41994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWvt9-0004Bg-1G for larch@yhetil.org; Sun, 03 Oct 2021 03:26:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWvsM-0003u0-1G for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 03:25:34 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:41481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWvsK-0003Qk-3o for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 03:25:33 -0400 Received: by mail-pg1-x532.google.com with SMTP id v11so974533pgb.8 for ; Sun, 03 Oct 2021 00:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=UWJiGK99OHWhoA5Qtn9uuZyUVHi5RfUxZdOTfE3UjFk=; b=m5pQJjVeM6Vu0VeWmNmb1MYHiqupVzzaqw2ZQEj/IRRMP/6m7HLFUy2++Y/Q5oiW86 ULp5qL/KsglGZPKDhOiFio7X4nnN70qyCyDEfgjmJ2LIN0mhfBUpYevpPn/moYO2krPJ YbZZX7oMcbpn0g1iSTf+2Z9PuyopVqjYIviNeNIfreQ4E52/50C7AkR9kIepXr6o2kh3 GVyzPPevSyCv7O2ttKK3iYOiPfWCe1ZmG9ZCjII5VHqgqw/2ZpVScLeRFvimU8lLfNC9 9kD+XrM7envUWijY62TL4vU/qWcsILkBbeAGDbBUlNY50EXK9EA2Tf3IfbvQGQDs7m8w gSIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=UWJiGK99OHWhoA5Qtn9uuZyUVHi5RfUxZdOTfE3UjFk=; b=U9uQiP2bbmRKCGPU6Gxm/UeR0/80ZSLY3iZIjj29yZ75pLZKVTCtgFPSLSZdEDKt7g 3jW0XPrsj7kNHQmPZ075p0DMarxatX/Bcuc5YfyJEaTSl12m/1GzkJJn5R+IRf2kvkyV 5IpkJ0JInxLjEl/nPpclSR5s9aC7ymOOl5cn4s5iZPVCVedMPEeo8glPmVvGmJtao8wN 6m42OmpwrgFcUt2dXfUVMc6WR9IXmhIaeYUwy7aqA3yJeAa+cZOYMxq7CUG2xkV7I98X XjaLhRyPus0BRMZaRH8t8k0IjNcjNV3lV+HXpoPmkrZ6eFNFp4ZVwGBiYcb/A5AU/0C0 FMYw== X-Gm-Message-State: AOAM532CzwCcnOwTBVFtFTw57YovGHyrczEEZZA1AAoYBVH+betw6PPV Oes8RpQbhlnydqHxtngKGeOX2ZAFLVdbSR6W X-Google-Smtp-Source: ABdhPJxx5DNCFfliTRkIc/UHjVNtimWBws7OLohcTFcdF23C53Q92rrVmf1AkuLd4LcabvvEvIMKuA== X-Received: by 2002:a63:fe03:: with SMTP id p3mr2051584pgh.289.1633245930641; Sun, 03 Oct 2021 00:25:30 -0700 (PDT) Received: from localhost ([210.3.160.226]) by smtp.gmail.com with ESMTPSA id 186sm9589105pfg.20.2021.10.03.00.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 00:25:29 -0700 (PDT) From: Ihor Radchenko To: dalanicolai Subject: [PATCH] Improve formatting and documentation inline source block [9.3 (release_9.3 @ /usr/local/share/emacs/28.0.50/lisp/org/)] In-Reply-To: References: X-Woof-Patch: org-manual: Clarify that inline source blocks export results by default Date: Sun, 03 Oct 2021 15:26:48 +0800 Message-ID: <87ee927emf.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=yantar92@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633245983; 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=UWJiGK99OHWhoA5Qtn9uuZyUVHi5RfUxZdOTfE3UjFk=; b=CrD1sStH5czdWQFA9gResrfu965CZDcptcMabH8jRwW17ca/NRPMsfI4NcnupA01B9Mr1G TEVoLhMdAnMj1HKh36JL0i4KB3Mrxa7J956Dsg9CJ10Q9PszLp89Gxt1TKY1Mkc5j1ekGN raPoI1rGMm+2D+mdsXRy5z0LAeNRL05iJM/6QgboRpVPkMgtJXPg6qIPv1dv3IEF5D/q+e Lj3PuIU+cI3CIPCEg4SCZbrNRoUazwCOhwh0bHVXm56rIt+gH6MRzBkq9unWuy9voAgrO/ frMOSnTZyxJHJ32IE0MQj2l2FR3LCGvlkxLNBwJVSXWEFPbvNkds7POUQdROog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633245983; a=rsa-sha256; cv=none; b=QB96l/JTqBmPLzcXCPcrBEtfmVrbBnpEYdGaRoLCjbwAFgdKa9JR1DlZLaw2lmBzgKLl7Q h1Lz7FVJqRCi/yU/NjL8769qU+2oshmsc2xDEVv1t7ak7spcdUnFF+BQbMHjN0CriUXLoF bXEFu8VnDEVDgolu3X0yYrb2oB/CbtpvwoYStx2RALVeMoJbj+Gv900GcfuHCGWqdppziA bV+uzyXSTyHjthUzeqrzCNJiyflX/Jo3DEwckdeMeAENvmr9hOl1Ld2eWufLGU8r+IGUxC qJrFw5UheVbibl7SP+e1UPu4V0jSk7Hm29wLUvjeeRgJGYvt2a8BXXBU8tetOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=m5pQJjVe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=m5pQJjVe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: D895410664 X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: fvUhOaXLMTeF --=-=-= Content-Type: text/plain dalanicolai writes: > This bug report contains two requests/bugs about inline source blocks > namely: > > 1. Inline source blocks don't get formatted/propertized within > org buffers. There is now patch under review to fix this: https://list.orgmode.org/87h7dy7f68.fsf@localhost/T/#t > 2. Different from ordinary source blocks, the inline source blocks > require the [:exports code] argument to get exported. I think it would > be useful to mention it explicitly in [section 15.2 of the > documentation](https://orgmode.org/manual/Structure-of-Code-Blocks.html), > because it is somewhat unexpected behavior (compared to ordinary source > blocks). I agree that current manual is confusing. The attached patch. Dear all, Maybe we also want to mention org-babel-default-inline-header-args in the manual? In addition to org-babel-default-header-args. Best, Ihor --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-orgmanual-org-Mention-results-export-as-default-for-.patch >From 4f04548dc94549b9e50f6598636632e67715d9b8 Mon Sep 17 00:00:00 2001 Message-Id: <4f04548dc94549b9e50f6598636632e67715d9b8.1633245750.git.yantar92@gmail.com> From: Ihor Radchenko Date: Sun, 3 Oct 2021 15:20:18 +0800 Subject: [PATCH] orgmanual-org: Mention results export as default for inline src blocks * doc/org-manual.org (Exporting Code Blocks): Clarify that results are exported by default for inline source blocks. The issue has been reported in https://orgmode.org/list/CACJP=3n_8tqzBZ7GhmD+f44NPPTLBy31htxHxRHsELXTeMoy2Q@mail.gmail.com --- doc/org-manual.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index b25da7889..6403b5e69 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -18002,10 +18002,11 @@ ** Exporting Code Blocks It is possible to export the /code/ of code blocks, the /results/ of code block evaluation, /both/ the code and the results of code block evaluation, or /none/. Org defaults to exporting /code/ for most -languages. For some languages, such as ditaa, Org defaults to -/results/. To export just the body of code blocks, see [[*Literal -Examples]]. To selectively export sub-trees of an Org document, see -[[*Exporting]]. +languages and /results/ for inline code blocks. For some languages, +such as ditaa, Org defaults to /results/ both in ordinary source +blocks and in inline source blocks. To export just the body of code +blocks, see [[*Literal Examples]]. To selectively export sub-trees of an +Org document, see [[*Exporting]]. #+cindex: @samp{exports}, header argument The =exports= header argument is to specify if that part of the Org -- 2.32.0 --=-=-=--