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

 
 

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

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Thu 29 Dec 2016 04:08:42 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  philipnienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by philipnienhuis (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.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-29 philipnienhuis StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code