patchGNU TeXmacs - Patches: patch #6978, Octave 3 integration

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6978: Octave 3 integration

Submitter:  Mansour Moufid <mansourmoufid>
Submitted:  Fri 13 Nov 2009 12:43:49 AM UTC
   
 
Category:  Plugins Action:  Done
Privacy:  Public Assigned to:  vdhoeven
Open/Closed:  Closed Release: 
Fixed Release:  1.0.7.6 Stable: 

Wed 09 Dec 2009 05:30:42 AM UTC, comment #1: 

The previous proposed patch (``octave-3-diffs'' - file #19042) broke compatibility with older versions of Octave.

An updated patch is proposed (``octave.patch''), which should allow for successful Octave sessions using both older and newer versions. Tested only with Octave version 3.

(file #19224)

Mansour Moufid <mansourmoufid>
Fri 13 Nov 2009 12:43:49 AM UTC, original submission:  

This patch fixes bugs with Octave integration into TeXmacs [1]. These issues were caused by some scripts included in TeXmacs using deprecated Octave commands.

Specifically, the LOADPATH [2], PS1, and PS2 [3] built-in variables have changed:

  "The way Octave handles search paths has changed. Instead of setting the built-in variable LOADPATH, you must use addpath, rmpath, or path to manipulate the function search path."

  "All built-in variables have been converted to functions. [...] Code that sets internal variables will change."[4]

The gset command was also deprecated entirely a while ago, and is no longer necessary (see [5] for future reference).

It should now be possible to begin a session successfully with newer versions of Octave.

Tested with TeXmacs version 1.0.7.2 and Octave version 3.0.5.

[1] http://savannah.gnu.org/bugs/?20312
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424877
[2] http://www.gnu.org/software/octave/doc/interpreter/Manipulating-the-load-path.html
[3] http://www.gnu.org/software/octave/doc/interpreter/Customizing-the-Prompt.html
[4] http://www.gnu.org/software/octave/NEWS-3.html
[5] http://www.gnu.org/software/octave/doc/interpreter/Printing-Plots.html#Printing-Plots

Mansour Moufid <mansourmoufid>

 

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

Attached Files
file #19224:  octave.patch added by mansourmoufid (4KiB - text/x-patch - An update to the previous proposed patch -- which broke backwards-compatibility.)
file #19042:  octave-3-diffs added by mansourmoufid (3KiB - application/octet-stream - Proposed patch to fix bugs with Octave 3 integration.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Updated the item)
  • -email is unavailable- added by mansourmoufid (Proposed patch for Octave 3 integration into TeXmacs (Debian bug #424877).)
  • -email is unavailable- added by mansourmoufid (Proposed patch for Octave 3 integration into TeXmacs (Debian bug #424877).)
  • -email is unavailable- added by mansourmoufid (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-08-25 vdhoeven ActionNone Done
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed
        Fixed Release 1.0.7.6
    2009-12-09 mansourmoufid Attached File- Added octave.patch, #19224
    2009-11-14 mansourmoufid Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-
    2009-11-13 mansourmoufid Attached File- Added octave-3-diffs, #19042

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code