emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-texinfo-export-to-info docstring describes a non-existing


From: Niall Dooley
Subject: Re: [BUG] org-texinfo-export-to-info docstring describes a non-existing optional argument
Date: Wed, 24 May 2023 20:10:32 +0200

On Wed, 24 May 2023 at 16:55, Ihor Radchenko <yantar92@posteo.net> wrote:
> > Aside, when invoking this command on an org file I get the following error
> > which may or not be a bug also:
> >
> > org-compile-file: File "<path-to-repository>/org-gtd.el/doc/org-gtd.info"
> > wasn’t producedSee "Org INFO Texinfo Output" for details
>
> It would help if you provided more details. Ideally, steps to reproduce
> the problem. See https://orgmode.org/manual/Feedback.html#Feedback

I dug a little deeper. `org-tex-info-export-to-info' calls
`org-texinfo-compile' which in turn calls `org-compile-file'.  In this
function, there is a comment stating "Check for process failure.  Output file
is expected to be located in the same directory as SOURCE." which seems to
confirm my suspicions that the output .info file is expected to be in the same
directory as the source .texinfo file.  Doing that however, I still get the
same process "error" as before and the .info file produced in the parent
directory.

Whilst reading `org-compile-file' I noted the following formatted string
explains an error I noted in the process error I reported earlier.

"File %S wasn't produced%s"

That is this formatted string should be:

"File %S wasn't produced.  %s"

to avoid the two strings being concatenated together and no punctuation
separating them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]