bugGNU Octave - Bugs: bug #52596, makeValidName and makeUniqueStrings

 
 

bug #52596: makeValidName and makeUniqueStrings

Submitted by:  Guillaume <gyom>
Submitted on:  Wed 06 Dec 2017 10:04:23 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: Patch SubmittedAssigned to: None
Originator Name: GuillaumeOpen/Closed: Open
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.

 

Wed 06 Dec 2017 03:30:58 PM UTC, comment #2:

Hello Pantxo,

Yes, these files should go in scripts/+matlab/+lang. The +matlab namespace was also discussed on IRC and my understanding was that it was the way to go for compatibility (and keep +octave if and when there are some Octave-specific packages).

Guillaume <gyom>
Wed 06 Dec 2017 02:49:55 PM UTC, comment #1:

Hey,

Do you have any idea how to handle the namespace here? Would we have to put those files in a +matlab/+lang package?

There has been a discussion about this recently:

http://octave.1599824.n4.nabble.com/matlab-namespace-td4685366.html

Could you comment there?

Pantxo Diribarne <pantxo>
Project Member
Wed 06 Dec 2017 10:04:23 AM UTC, original submission:

I attach a suggested implementation for matlab.lang.makeValidName and matlab.lang.makeUniqueStrings

https://www.mathworks.com/help/matlab/ref/matlab.lang.makevalidname.html
https://www.mathworks.com/help/matlab/ref/matlab.lang.makeuniquestrings.html

Guillaume <gyom>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #42576:  makeValidName.m added by gyom (7KiB - text/x-objcsrc)
file #42577:  makeUniqueStrings.m added by gyom (7KiB - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by gyom (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Dec 2017 02:49:55 PM UTCpantxoStatusNone=>Patch Submitted
    Wed 06 Dec 2017 10:04:23 AM UTCgyomAttached File-=>Added makeValidName.m, #42576
      Attached File-=>Added makeUniqueStrings.m, #42577

    Back to the top


    Powered by Savane 3.1-cleanup1