patchGNU Octave - Patches: patch #9303, __makeinfo__ keeps temp file when...


patch #9303: __makeinfo__ keeps temp file when makeinfo printed to stderr

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Mon 27 Mar 2017 07:14:07 PM UTC  
Category:  Core : new feature Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 27 Mar 2017 07:14:07 PM UTC, original submission:

Hi all,

It has been always quite difficult to track back errors on the texinfo block, therefore I have created this patch to prevent
_makeinfo_.m to delete the file if makeinfo printed to stderr (e.g. where 'misplaced }' is printed)

This allows us to go and look into the temp fiel to find the culprit of the problem. A better solution wouldbe to print the function name, but _makeinfo_ doesn't know that directly, and parsing the texinfo text itself seemed like too much work for a simple thing.

Hope you find it useful.

Juan Pablo Carbajal <juanpi>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #40172:  makeinfo_keep_tmp_file.cset added by juanpi (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by juanpi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-27 juanpi Attached File- => Added makeinfo_keep_tmp_file.cset, #40172

    Back to the top

    Powered by Savane 3.4