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 System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Duplicate Assigned to:  None
Originator Name:  Hernawan Fa'iz Abdillah Open/Closed:  Closed
Release:  3.8.1 Operating 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 Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by abdillah (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-30 mtmiller Open/ClosedOpen => Closed
    2015-07-30 carandraug StatusNone => Duplicate
    2015-07-30 carandraug Dependencies- => Depends on bugs #36477

    Back to the top


    Powered by Savane 3.5