bugGNU Octave - Bugs: bug #45652, Octave should *not* hardcode...

 
 

bug #45652: Octave should *not* hardcode "~/.octaverc" file as the startupfiledir isn't

Submitted by:  Hernawan Fa'iz Abdillah <abdillah>
Submitted on:  Thu 30 Jul 2015 12:31:24 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: DuplicateAssigned to: None
Originator Name: Hernawan Fa'iz AbdillahOpen/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 30 Jul 2015 11:10:32 AM UTC, comment #1:

This is duplicate of bug #36477

Carnë Draug <carandraug>
Project Member
Thu 30 Jul 2015 12:31:24 AM UTC, original submission:

# Background
Based on the latest dir spec, freedesktop stating that any config file reside in $HOME dir should be moved to new $XDG_CONFIG_DIR:

> $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.


# Problem
In contrast to Octave, it is hardcode it's rc file, which I found on
+ /usr/share/octave/3.8.2/m/path/pathdef.m
+ /usr/share/octave/3.8.2/m/path/savepath.m

I'm not yet search on the main code itself. Please anyone know where other harcoded path-to-rc-file reside.

# Expected
I propose octaverc file specified with OCTAVE_SET_DEFAULT in configure.ac.

I can send ChangeSet, but first I should hear responses.
Thanks

Hernawan Fa'iz Abdillah <abdillah>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by abdillah (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
    Thu 30 Jul 2015 11:22:05 AM UTCmtmillerOpen/ClosedOpen=>Closed
    Thu 30 Jul 2015 11:10:41 AM UTCcarandraugStatusNone=>Duplicate
    Thu 30 Jul 2015 11:10:32 AM UTCcarandraugDependencies-=>Depends on bugs #36477

    Back to the top


    Powered by Savane 3.1-cleanup1