Re: [BUG] ox-beamer uses ox-latex private functions

2023-12-23 Thread Niall Dooley
On Sat, 23 Dec 2023 at 11:19, Ihor Radchenko  wrote:
> Both ox-beamer and ox-latex are parts of Org mode. So, there is nothing
> wrong with using these internal functions - we have the control over all
> parts of Org mode. If we decide to make a breaking change in any
> internal function in Org mode, its users in Org source code must be
> changed; be it the same file or not.

OK, thanks for the clarification.



Re: [BUG] ox-beamer uses ox-latex private functions

2023-12-23 Thread Ihor Radchenko
Niall Dooley  writes:

> In three separate places (lines 779, 825 and 874) ox-beamer uses
> ox-latex private functions namely:
>
> line779: `org-latex--wrap-label'
> line 825: `org-latex--insert-compiler'
> line 874: `org-latex--format-spec'
>
> I appreciate ox-beamer is a backend backend derived from ox-latex but
> isn't this bad practice if these private functions were to change in
> future?

Both ox-beamer and ox-latex are parts of Org mode. So, there is nothing
wrong with using these internal functions - we have the control over all
parts of Org mode. If we decide to make a breaking change in any
internal function in Org mode, its users in Org source code must be
changed; be it the same file or not.

Not a bug.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



[BUG] ox-beamer uses ox-latex private functions

2023-12-22 Thread Niall Dooley
In three separate places (lines 779, 825 and 874) ox-beamer uses
ox-latex private functions namely:

line779: `org-latex--wrap-label'
line 825: `org-latex--insert-compiler'
line 874: `org-latex--format-spec'

I appreciate ox-beamer is a backend backend derived from ox-latex but
isn't this bad practice if these private functions were to change in
future?

Emacs: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0) of 2023-02-23, modified by Debian
Package: Org mode version 9.7-pre (release_9.6.9-818-gac108a)