* [BUG] Texinfo: Error when exporting source block with no language
@ 2024-12-21 12:03 8dcc
2024-12-22 17:06 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: 8dcc @ 2024-12-21 12:03 UTC (permalink / raw)
To: emacs-orgmode
Hello, when trying to export the following Org file:
#+begin_src
Hello, world.
#+end_src
To texinfo using `org-texinfo-export-to-texinfo', I get the following
error:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
org-texinfo-src-block((src-block (:language nil <snip>)))
org-export-data((src-block (:language nil <snip>)))
However, if I change contents of the Org file to this, even if it's a
non-existing language, it works:
#+begin_src foobar
Hello, world.
#+end_src
And produces:
<...>
@example
Hello, world.
@end example
<...>
I am using Org mode version 9.6.15 in GNU Emacs 29.4.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] Texinfo: Error when exporting source block with no language
2024-12-21 12:03 [BUG] Texinfo: Error when exporting source block with no language 8dcc
@ 2024-12-22 17:06 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-12-22 17:06 UTC (permalink / raw)
To: 8dcc; +Cc: emacs-orgmode
8dcc <8dcc.git@gmail.com> writes:
> Hello, when trying to export the following Org file:
>
> #+begin_src
> Hello, world.
> #+end_src
>
> To texinfo using `org-texinfo-export-to-texinfo', I get the following
> error:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> org-texinfo-src-block((src-block (:language nil <snip>)))
> org-export-data((src-block (:language nil <snip>)))
> ...
> I am using Org mode version 9.6.15 in GNU Emacs 29.4.
Have you tried Org 9.7?
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-22 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-21 12:03 [BUG] Texinfo: Error when exporting source block with no language 8dcc
2024-12-22 17:06 ` Ihor Radchenko
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.