patchGNU Octave - Patches: patch #8033, Implement missing function evalc()

 
 

patch #8033: Implement missing function evalc()

Submitted by:  Julien Bect <jbect>
Submitted on:  Sat 27 Apr 2013 08:41:40 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 28 Apr 2013 05:56:41 PM UTC, comment #2:

You have an unwind_protect frame in Fevalc to protect the buffer_error_messages variable. Shouldn't you also use it to protect the pager_stream evalc mode?

Fevalc needs a doc string, and needs to be added to the manual.

Is there some more general concept that we can capture in the pager instead of just "evalc mode"?

Does this approach for implementing evalc work if the pager is not enabled? What about for output that doesn't go through the pager at all? For example, what happens if someone uses "system" to run a program inside a .m file, or a DEFUN function that writes directly to std::cout?

John W. Eaton <jwe>
Project Administrator
Sat 27 Apr 2013 08:42:37 AM UTC, comment #1:

Related thread on the mailing list:

http://octave.1599824.n4.nabble.com/Re-evalc-td4651202.html#a4651289

Julien Bect <jbect>
Sat 27 Apr 2013 08:41:40 AM UTC, original submission:

The attached patch implements the missing function evalc().

It is a preliminary version (documentation missing) but it is already mature enough to be tested.

Julien Bect <jbect>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27957:  jbPatchEvalc4.patch added by jbect (7kB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by jbect (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Aug 2013 12:49:13 AM UTCrik5StatusNone=>Need Info
    Sat 27 Apr 2013 08:41:40 AM UTCjbectAttached File-=>Added jbPatchEvalc4.patch, #27957

    Back to the top


    Powered by Savane 3.1-cleanup