bugGNU Octave - Bugs: bug #49951, Last way to query...

 
 

bug #49951: Last way to query "formatspacing" root property gone from dev Octave

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Thu 29 Dec 2016 04:08:42 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: philipnienhuisOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 29 Dec 2016 09:46:05 PM UTC, comment #2:

I just missed that comment in bug #46034.
Closing as Invalid and continuing in bug #46034

Philip Nienhuis <philipnienhuis>
Project Member
Thu 29 Dec 2016 05:00:34 PM UTC, comment #1:

I commented back on the original bug report, but format() allows you to query both format and formatspacing without usng hidden internal functions now. The symbolic package needs to be updated for running on the dev branch.

Rik <rik5>
Project Administrator
Thu 29 Dec 2016 04:08:42 PM UTC, original submission:

The last way to check the "formatspacing" property was dropped ~2 weeks ago in this cset by rik:
http://hg.savannah.gnu.org/hgweb/octave/rev/f84aa17075d4

For the OF symbolic package this is a problem as there's no more way to query the formatspacing setting after the root properties "format" and "formatspacing" were deleted ~1.5 years ago (while these root properties still exist and still can be queried in Matlab r2017a prerelease).

Mike especially fixed the symbolic package using the _compactformat_() format, see bug #46671 comment 2:
https://github.com/cbm755/octsympy/commit/1b18fbdb86db1ae44c3db84b535a659c5d320c34

More bug reports on formatspacing here: bug #46000, bug #46034.
IMO we do need some way to query the formatspacing property, if only for de facto Matlab compatibility, either by partly reverting:
http://hg.savannah.gnu.org/hgweb/octave/rev/564e59f75ef8
or by partly reverting:
http://hg.savannah.gnu.org/hgweb/octave/rev/f84aa17075d4

Philip Nienhuis <philipnienhuis>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by philipnienhuis (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 project members 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 29 Dec 2016 09:46:05 PM UTCphilipnienhuisStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1