Thread overview
[Issue 5445] New: DMD does not look for ".dmd.conf" in HOME dir
Jan 11, 2011
Sean Kelly
Jan 11, 2011
Sean Kelly
Jan 11, 2011
Walter Bright
January 11, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5445

           Summary: DMD does not look for ".dmd.conf" in HOME dir
           Product: D
           Version: 2.040
          Platform: All
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: sean@invisibleduck.org


--- Comment #0 from Sean Kelly <sean@invisibleduck.org> 2011-01-11 12:09:18 PST ---
It's a popular convention to put user-specific config files in the HOME dir prefixed by a dot (so they're hidden).  DMD doesn't recognize a dot-prefixed dmd.conf file, and it would be nice if it did.  I've included a patch to check for ".dmd.conf" in the HOME dir if "dmd.conf" doesn't exist.  I don't think it's terribly important to do this secondary lookup in all locations because the likelihood of having such a dot-prefixed file elsewhere is very small.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 11, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5445



--- Comment #1 from Sean Kelly <sean@invisibleduck.org> 2011-01-11 12:10:10 PST ---
Created an attachment (id=869)
check_dotfile.patch

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 11, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5445


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
           Severity|normal                      |enhancement


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 11, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5445


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |bugzilla@digitalmars.com


--- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com> 2011-01-11 15:42:54 PST ---
Yes please. This is an important "UI" issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------