all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emmanuel Charpentier <emm.charpentier@free.fr>
To: emacs-orgmode@gnu.org
Subject: Is there a way to set options *programatically* ?
Date: Sat, 20 Apr 2024 14:12:21 +0200	[thread overview]
Message-ID: <8b8364dec444908b3cfaab6c7c32800850d62a52.camel@free.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

Dear list,

I'd like to create a function able to set some options, namely

    - `#+options: tex:`{t|dvipng|imagemagick}

    - `#+export-file-name:`

I have been unable to find a *documented* way to do that from `elacs-lisp`.

I *think* that an `org` source block could place those options in the buffer, but I can't find a way to reliably trigger a "setup refreshment" of these options from `emacs-lisp`.

Any ideas ?

Sincerely yours,

--
Emmanuel Charpentier



[-- Attachment #2: Type: text/html, Size: 592 bytes --]

             reply	other threads:[~2024-04-20 12:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-20 12:12 Emmanuel Charpentier [this message]
2024-04-23 13:03 ` Is there a way to set options *programatically* ? Ihor Radchenko

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

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

  git send-email \
    --in-reply-to=8b8364dec444908b3cfaab6c7c32800850d62a52.camel@free.fr \
    --to=emm.charpentier@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.