octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45652] Octave should *not* hardcode "~/.octav


From: Hernawan Fa'iz Abdillah
Subject: [Octave-bug-tracker] [bug #45652] Octave should *not* hardcode "~/.octaverc" file as the startupfiledir isn't
Date: Thu, 30 Jul 2015 00:31:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

URL:
  <http://savannah.gnu.org/bugs/?45652>

                 Summary: Octave should *not* hardcode "~/.octaverc" file as
the startupfiledir isn't
                 Project: GNU Octave
            Submitted by: abdillah
            Submitted on: Thu 30 Jul 2015 12:31:24 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Hernawan Fa'iz Abdillah
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

# 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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45652>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]