emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: How do I enable exports of code only for the whole file?
Date: Wed, 13 Sep 2023 15:38:59 +0000	[thread overview]
Message-ID: <87sf7ikrqk.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87zg1q16yr.fsf@laptop.lockywolf.net> (Vladimir Nikishkin's message of "Wed, 13 Sep 2023 22:24:55 +0800")

On Wednesday, 13 Sep 2023 at 22:24, Vladimir Nikishkin wrote:
> I know that I can write src_org[:exports code], but doing that for each
> inline code block is a lot of (needless) work.

Not really answering your question but do remember that Emacs is a
brilliant text editor and it would take a single command to modify all
src_org in your file?

But coming back to your question, could you not modify

org-babel-default-inline-header-args

to have code exported?  You could define it as a file local variable to
not affect other documents.

-- 
: Eric S Fraga, with org release_9.6.7-635-gf9e083 in Emacs 30.0.50

  reply	other threads:[~2023-09-13 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 14:24 How do I enable exports of code only for the whole file? Vladimir Nikishkin
2023-09-13 15:38 ` Fraga, Eric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-14 18:49 Hanno Perrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sf7ikrqk.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=lockywolf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).