Hi again.
The change may need a bit more thinking:

When testing, I got

FAILED  test-org-export/get-inbuffer-options
((should (equal
 (org-test-with-temp-text (format "#+DESCRIPTION: l1\n#+LANGUAGE:
es\n#+SELECT_TAGS: a\n#+TITLE: a\n#+SETUPFILE:
\"%s/examples/setupfile.org\"\n#+LANGUAGE: fr\n#+SELECT_TAGS:
c\n#+TITLE: c" org-test-dir) (org-export--get-inbuffer-options))
'(:languages ("fr") :select-tags ("a" "b" "c") :title ("a b c"))))
:form (equal (:languages ("es" "en" "fr")
select-tags ("a" "b" "c") :title (#("a b c" 0 1 (:parent #3) 1 2
(:parent #3) 2 3 (:parent #3) 3 4 (:parent #3) 4 5 (:parent #3))))
(:languages ("fr") :select-tags ("a" "b" "c") :title ("a b c")))
:value nil :explanation (list-elt 1 (proper-lists-of-different-length
3 1 ("es" "en" "fr") ("fr") first-mismatch-at 0)))

(org-export--get-inbuffer-options) seems to be collecting all
languages in :languages and the :language fix doesn't seem to be
enough

best, /PA

On Sun, 20 Jul 2025 at 07:51, Pedro Andres Aranda Gutierrez
<paag...@gmail.com> wrote:
>
> No worries. In a group with native and non-native speakers, it is
> always the case that we all need clarifications.
> That been part of my life since I was 3 ;-)
> Add to this "life" and it is more than possible that someone (in this
> case yours truely) reads more into a message that there really is,
> so I may have read the options list in ox-latex.el into your answer.
>
> So it's not a matter of being right or wrong, it's more about
> synchronising before the black-out occurs ;-)
>
> I'll push the change is a couple of minutes.
> best, /PA
>
> On Sun, 20 Jul 2025 at 07:41, Ihor Radchenko <yanta...@posteo.net> wrote:
> >
> > Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:
> >
> > > Just to clarify. Your initial suggestion was having :languages in
> > > LaTeX only and use :language for the first and :languages for all.
> > > Now you want to have this behaviour for all backends (except that the
> > > others only use :language FTMB).
> >
> > Likely not.
> > My suggestion was
> > https://list.orgmode.org/orgmode/877c0t2kze.fsf@localhost/
> > I meant changing ox.el and `org-export-options-alist' from the very
> > beginning. Sorry, if it was not clear enough.
> >
> > > So I just change the entry, all backends allow more than one language
> > > in #+LANGUAGE (at least in theory).
> >
> > Yes.
> >
> > > Thanks for any enlightenment, /PA
> >
> > To be clear, I may be (and sometimes am) wrong. But I try my best to be
> > consistent and explain everything I suggest or the reasons I change my
> > mind.
> >
> > --
> > Ihor Radchenko // yantar92,
> > Org mode maintainer,
> > Learn more about Org mode at <https://orgmode.org/>.
> > Support Org development at <https://liberapay.com/org-mode>,
> > or support my work at <https://liberapay.com/yantar92>
>
>
>
> --
> Fragen sind nicht da, um beantwortet zu werden,
> Fragen sind da um gestellt zu werden
> Georg Kreisler
>
> Sagen's Paradeiser, write BE!
> Year 1 of the New Koprocracy



-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Sagen's Paradeiser, write BE!
Year 1 of the New Koprocracy

Reply via email to