From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YJ+YCHiiLmA1WgAA0tVLHw (envelope-from ) for ; Thu, 18 Feb 2021 17:23:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6JlMBHiiLmCibwAAbx9fmQ (envelope-from ) for ; Thu, 18 Feb 2021 17:23:04 +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 D91F9307B6 for ; Thu, 18 Feb 2021 18:23:02 +0100 (CET) Received: from localhost ([::1]:56440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCn13-0006Ir-VB for larch@yhetil.org; Thu, 18 Feb 2021 12:23:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCmzf-0006H4-F6 for emacs-orgmode@gnu.org; Thu, 18 Feb 2021 12:21:35 -0500 Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:40270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCmzY-00079u-R9 for emacs-orgmode@gnu.org; Thu, 18 Feb 2021 12:21:35 -0500 Received: by mail-vs1-xe2a.google.com with SMTP id a11so1287488vsm.7 for ; Thu, 18 Feb 2021 09:21:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bXg3AUQUNxw0JWjJBbm6CiTqDoO8avCJQLyoKoKNnMs=; b=bA7kpktFv8Z3Zewe65xw5MrQUoTOllVy9CmyVyHXnQmu3Z+ppj9fiKb2Ot1dc8a+SS AapbMYdj19dXH/7TkN2dJ0U4E1gynCAhlh0DYmxbZ+mkBjfKoBSvUU9yXphmoUUCKKJF FD056nPpJvvkl2beEjVX1tMmRDSVLYyR/y0AQyZ/7x12wt+DGidUm7ZqvdT1YFejBbNW ntVkMZPZKWgwA9nNHAgMpkL9a6V+sfYyv1LXcbkEpLJE2N62iXhVLpDnA4ZlxdG/mk6T jYF9eC5C5xitSDvtKXsdqs4ihu47ckIq/FEz3+IieKIvFPxrUnPTV5n1+P+0JsY1nAWZ X//g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bXg3AUQUNxw0JWjJBbm6CiTqDoO8avCJQLyoKoKNnMs=; b=n3PdYMdLH5e4UkQclQX9yvwk6Owzdbbzme6pUiEZvp7SlQiB+Ked2Yld7ZLv9JqNYr XzHiD2AfyUFQteGgi+2DiCKYj5XLSy/e98hk8Sk86euOXkAbNm/RC24AOZBrxAVBWuzw hV1kMK40VYz+AoPWS5Vz0YDxq2GzRxfPctBprDH6cK7h2PgcaJ7yJbmSVnE5bsE2RfyR lq1uSIaV+EU6zBbNGK54/hpfp7Ux1XDbIWlu2+wQQsVHryqwYg6Syrr3sAT80qenToFS bFtnW5xV4GWKZlO0l8/XY/mZU/+p86dthbO4LKp5x1z8d47WzjU1ThbgoMm7Qk67ArdI PyJA== X-Gm-Message-State: AOAM531HnmHR2HKn/lo/Rp8J7BHJyY2V8Gy+820g/76cjyAPADrwJ86X tgiAk58+sPQ4tRI333SL5sSEW3iCXRJ/bvENS154umIgcNuKVQ== X-Google-Smtp-Source: ABdhPJzKc6NqbNd4ai7w69BUqfplI0/0xUIAUDWijkwWWmOcoXiheJJ8ftJr2MqZx58vMFscfYK802Oyt+CgNl54s3w= X-Received: by 2002:a67:a404:: with SMTP id n4mr3775427vse.0.1613668884245; Thu, 18 Feb 2021 09:21:24 -0800 (PST) MIME-Version: 1.0 From: dalanicolai Date: Thu, 18 Feb 2021 18:21:13 +0100 Message-ID: Subject: Improve formatting and documentation inline source block [9.3 (release_9.3 @ /usr/local/share/emacs/28.0.50/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000a170c605bb9f9026" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a; envelope-from=dalanicolai@gmail.com; helo=mail-vs1-xe2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bA7kpktF; 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: D91F9307B6 X-Spam-Score: -1.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: kwrRQbHUKt6k --000000000000a170c605bb9f9026 Content-Type: text/plain; charset="UTF-8" Sorry, sending this from the browser because none of Emacs sending options currently work From: dalanicolai To: emacs-orgmode@gnu.org Subject: Bug: Improve formatting and documentation inline source block [9.3 (release_9.3 @ /usr/local/share/emacs/28.0.50/lisp/org/)] Date: Thu, 18 Feb 2021 18:13:07 +0100 Message-ID: <87o8ghwb8c.fsf@daniel-fedora.i-did-not-set--mail-host-address--so-tickle-me > --text follows this line-- This bug report contains two requests/bugs about inline source blocks namely: 1. Inline source blocks don't get formatted/propertized within org buffers. 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). To test it just open an org buffer and enter e.g. the following line `test src_emacs-lisp{(server-start)} test` then run `M-x org-html-export-as-html`. Compare output to that of `test src_emacs-lisp[:exports code]{(server-start)} test` Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.25, cairo version 1.16.0) of 2021-02-18 Package: Org mode version 9.3 (release_9.3 @ /usr/local/share/emacs/28.0.50/lisp/org/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) outline-isearch-open-invisible-function #[128 "\300\301!\207" [org-show-context isearch] 3 "\n\n(fn &rest _)"] org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-link-elisp-confirm-function 'yes-or-no-p ) --000000000000a170c605bb9f9026 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, sending this from the browser because none of = Emacs sending options currently work

From: dal= anicolai
=C2=A0<dalanicola= i@gmail.com>
To: emacs-o= rgmode@gnu.org
Subject: Bug: Improve formatting and documentation in= line source block [9.3
=C2=A0(release_9.3 @ /usr/local/share/emacs/28.0.= 50/lisp/org/)]
Date: Thu, 18 Feb 2021 18:13:07 +0100
Message-ID: <= 87o8ghwb8c.fsf@daniel-fedora.i-did-not-set--mail-host-address--so-tickle-me= >
--text follows this line--

This bug report contains two requ= ests/bugs about inline source blocks
namely:

1. Inline source blo= cks don't get formatted/propertized within
org buffers.
2. Differ= ent from ordinary source blocks, the inline source blocks
require the [:= exports code] argument to get exported. I think it would
be useful to me= ntion it explicitly in [section 15.2 of the
documentation](https://orgmode.org= /manual/Structure-of-Code-Blocks.html),
because it is somewhat unexp= ected behavior (compared to ordinary source
blocks).

To test it j= ust open an org buffer and enter e.g. the following line
`test src_emacs= -lisp{(server-start)} test`
then run `M-x org-html-export-as-html`. Comp= are output to that of
`test src_emacs-lisp[:exports code]{(server-start)= } test`


Emacs =C2=A0: GNU Emacs 28.0.50 (build 1, x86_64-pc-linu= x-gnu, GTK+ Version 3.24.25, cairo version 1.16.0)
=C2=A0of 2021-02-18Package: Org mode version 9.3 (release_9.3 @ /usr/local/share/emacs/28.0.= 50/lisp/org/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
(setq
=C2=A0org-src-mode-hook '(org-src-babel-configure-ed= it-buffer org-src-mode-configure-edit-buffer)
=C2=A0org-link-shell-confi= rm-function 'yes-or-no-p
=C2=A0org-metadown-hook '(org-babel-pop= -to-session-maybe)
=C2=A0org-clock-out-hook '(org-clock-remove-empty= -clock-drawer)
=C2=A0outline-isearch-open-invisible-function #[128 "= ;\300\301!\207" [org-show-context isearch] 3 "\n\n(fn &rest _= )"]
=C2=A0org-mode-hook '(#[0 "\300\301\302\303\304$\207&q= uot; [add-hook change-major-mode-hook org-show-all append local] 5]
#= [0 "\300\301\302\303\304$\207"
=C2=A0 [add-hook change-majo= r-mode-hook org-babel-show-result-all append local] 5]
org-babel-resu= lt-hide-spec org-babel-hide-all-hashes)
=C2=A0org-archive-hook '(org= -attach-archive-delete-maybe)
=C2=A0org-confirm-elisp-link-function '= ;yes-or-no-p
=C2=A0org-agenda-before-write-hook '(org-agenda-add-ent= ry-text)
=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)=C2=A0org-bibtex-headline-format-function #[257 "\300\236A\207" = [:title] 3 "\n\n(fn ENTRY)"]
=C2=A0org-babel-pre-tangle-hook &= #39;(save-buffer)
=C2=A0org-tab-first-hook '(org-babel-hide-result-t= oggle-maybe org-babel-header-arg-expand)
=C2=A0org-occur-hook '(org-= first-headline-recenter)
=C2=A0org-cycle-hook '(org-cycle-hide-archi= ved-subtrees org-cycle-show-empty-lines
=C2=A0org-optimize-window-aft= er-visibility-change)
=C2=A0org-speed-command-hook '(org-speed-comma= nd-activate org-babel-speed-command-activate)
=C2=A0org-confirm-shell-li= nk-function 'yes-or-no-p
=C2=A0org-link-parameters '(("atta= chment" :follow org-attach-open-link :export org-attach-export-link :c= omplete
org-attach-complete-link)
=C2=A0 =C2=A0 =C2=A0 ("i= d" :follow org-id-open) ("eww" :follow eww :store org-eww-st= ore-link)
=C2=A0 =C2=A0 =C2=A0 ("rmail" :follow org-rmail-o= pen :store org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 ("mhe"= ; :follow org-mhe-open :store org-mhe-store-link)
=C2=A0 =C2=A0 =C2= =A0 ("irc" :follow org-irc-visit :store org-irc-store-link :expor= t org-irc-export)
=C2=A0 =C2=A0 =C2=A0 ("info" :follow org-= info-open :export org-info-export :store org-info-store-link)
=C2=A0 = =C2=A0 =C2=A0 ("gnus" :follow org-gnus-open :store org-gnus-store= -link)
=C2=A0 =C2=A0 =C2=A0 ("docview" :follow org-docview-= open :export org-docview-export :store
org-docview-store-link)
= =C2=A0 =C2=A0 =C2=A0 ("bibtex" :follow org-bibtex-open :store org= -bibtex-store-link)
=C2=A0 =C2=A0 =C2=A0 ("bbdb" :follow or= g-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link
= :store org-bbdb-store-link)
=C2=A0 =C2=A0 =C2=A0 ("w3m" :st= ore org-w3m-store-link) ("file+sys") ("file+emacs")
= =C2=A0 =C2=A0 =C2=A0 ("shell" :follow org-link--open-shell) =C2=A0 =C2=A0 =C2=A0 ("news" :follow #[257 "\301\300\302= Q!\207" ["news" browse-url ":"] 5 "\n\n(fn UR= L)"])
=C2=A0 =C2=A0 =C2=A0 ("mailto" :follow #[257 &qu= ot;\301\300\302Q!\207" ["mailto" browse-url ":"] 5= "\n\n(fn URL)"])
=C2=A0 =C2=A0 =C2=A0 ("https" := follow #[257 "\301\300\302Q!\207" ["https" browse-url &= quot;:"] 5 "\n\n(fn URL)"])
=C2=A0 =C2=A0 =C2=A0 (&quo= t;http" :follow #[257 "\301\300\302Q!\207" ["http"= browse-url ":"] 5 "\n\n(fn URL)"])
=C2=A0 =C2=A0= =C2=A0 ("ftp" :follow #[257 "\301\300\302Q!\207" [&quo= t;ftp" browse-url ":"] 5 "\n\n(fn URL)"])
= =C2=A0 =C2=A0 =C2=A0 ("help" :follow org-link--open-help) ("= file" :complete org-link-complete-file)
=C2=A0 =C2=A0 =C2=A0 (&q= uot;elisp" :follow org-link--open-elisp) ("doi" :follow org-= link--open-doi))
=C2=A0org-link-elisp-confirm-function 'yes-or-no-p<= br>=C2=A0)
--000000000000a170c605bb9f9026--