From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aJ/UI2exI2ZVfgEAqHPOHw:P1 (envelope-from ) for ; Sat, 20 Apr 2024 14:13:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aJ/UI2exI2ZVfgEAqHPOHw (envelope-from ) for ; Sat, 20 Apr 2024 14:13:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=free.fr header.s=smtp-20201208 header.b=ENGxEcmL; dmarc=pass (policy=none) header.from=free.fr; 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-Seal: i=1; s=key1; d=yhetil.org; t=1713615207; a=rsa-sha256; cv=none; b=Fk50kxEOLiM5qUCWxQkrr9VYzLwNtDGzo2Nzlu4sWBZ1Wgh2aVxKIHJTbzxAgvwtQ7Fd9V PnyYxdERVuTLxZjCLtJ3Z4BA1x2CHGOThhuvg537oRkl8R+TGcVribvWWPEqpuwqTSy6C3 uz7rG2rzKM49I23flV8oSAYN4COgodSZwWE2W1U18nMxomBMswh3EhVA/vpk3ZdOm4ie9F A7dPSQd9oKxBoC5BSunx/tRfhtd791KlmekG6v6AZOAuRqdxCdeR8IfzATE4xi0ifFvFRB B4kuN9jr80JpNS62Ocdyda9w2E1KBpnAGb54WzTz+yfZkT7KcMlU7YCVGfk8og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=free.fr header.s=smtp-20201208 header.b=ENGxEcmL; dmarc=pass (policy=none) header.from=free.fr; 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=1713615207; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=23hXHvsXll9RNx9R+HSmUs0ZJ9DWex2xmQlO/xGUsW0=; b=UOX34pKqTbFqpbnnK2PA8+mbRs2ydxA0gBA5SSUjGz1OW7nTsHjh0CnrnOi4eaa6EFwwWF HoWkKGxwxU9HrRRVOMvvGAqVkoaIm08onaRi5sBFcTWaCciO3NFjiyXwclFtW5k/Zj2oO+ NtU5k3WfqwqJbs7tplup7wzg4BG2Tx3QS9X3DNB5AOHvUQaJ1SHQG13b+wMPy56T97eE61 yjU2iGlBWbuOXzx4dBdZ2wYOJXu3Ayiq21p7fTp5VJszN+5BX457ru7UVxQ5JM/fy5RhSp Vyo8cbnTISsPUuAmJVpSDJmVxTDYzQIDIwBRL2Bla/LimXyttMZpBmkm4u2GAw== 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 577AF73E8E for ; Sat, 20 Apr 2024 14:13:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ry9aH-00089U-IA; Sat, 20 Apr 2024 08:12:46 -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 1ry9a1-00087V-Tl for emacs-orgmode@gnu.org; Sat, 20 Apr 2024 08:12:32 -0400 Received: from smtp4-g21.free.fr ([2a01:e0c:1:1599::13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ry9Zz-0006cB-DF for emacs-orgmode@gnu.org; Sat, 20 Apr 2024 08:12:29 -0400 Received: from [IPv6:2a01:e0a:59b:20f0:d638:c384:a929:b1a] (unknown [IPv6:2a01:e0a:59b:20f0:d638:c384:a929:b1a]) (Authenticated sender: emm.charpentier@free.fr) by smtp4-g21.free.fr (Postfix) with ESMTPA id 715D119F743 for ; Sat, 20 Apr 2024 14:12:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1713615141; bh=G+iYy/SMqg0Vyu504G1/pY+NL+wylURZrJy9RqBaFKU=; h=Subject:From:To:Date:From; b=ENGxEcmLBqY6/CcWcU0fHoy3SZ5xChhJ8VwJi3cHcKnWBb5NPFFer6s8ZnBsFB7ls ugoEBphH/4vH+Mp8oVibhzzsmZrHEqrnmeQ0xWLB2Xt23UqRmxJ+79RKpOzIBkaoc+ 9Rc6AH+QlvbusJtNvTBErmet/usqnAfYYcQL60wHnV4VGEGoK0/T+qINjwfv6KXfu2 zbswl/62BhqmXZ9CJd/24/wFRlXh7nt57I+SITy+YWMQS2t3Hgg5ltPqmZewHPjsHA Ktns/xNk+2+ZGcuYXi66XwEEamrA8hEyURCX7jIeQn90UC9x8m8gd3/PtW6TNN687W HKBpkm/gAvwQQ== Message-ID: <8b8364dec444908b3cfaab6c7c32800850d62a52.camel@free.fr> Subject: Is there a way to set options *programatically* ? From: Emmanuel Charpentier To: emacs-orgmode@gnu.org Date: Sat, 20 Apr 2024 14:12:21 +0200 Organization: =?ISO-8859-1?Q?Organis=E9?= ? Moi ??? Content-Type: multipart/alternative; boundary="=-r8iBTbl/NZkv3QHlvU+o" User-Agent: Evolution 3.50.3-1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:e0c:1:1599::13; envelope-from=emm.charpentier@free.fr; helo=smtp4-g21.free.fr 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.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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -4.59 X-Migadu-Queue-Id: 577AF73E8E X-Migadu-Spam-Score: -4.59 X-Migadu-Scanner: mx10.migadu.com X-TUID: LHgaSIDcTujv --=-r8iBTbl/NZkv3QHlvU+o Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 buffe= r, but I can't find a way to reliably trigger a "setup refreshment" of thes= e options from `emacs-lisp`. Any ideas ? Sincerely yours, -- Emmanuel Charpentier --=-r8iBTbl/NZkv3QHlvU+o Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

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

--=-r8iBTbl/NZkv3QHlvU+o--