Bug 10274

Summary: X(7) manpage doesn't document %D for environment variables
Product: xorg Reporter: Brice Goglin <brice.goglin>
Component: DocumentationAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium    
Version: 7.2 (2007.02)   
Hardware: Other   
OS: All   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=243597
Whiteboard:
i915 platform: i915 features:

Description Brice Goglin 2007-03-12 23:11:28 UTC
Bug reported by Julian Gilbey on the Debian BTS 3 years ago.

The Xt library supports %D in XUSERFILESEARCHPATH and XAPPLRESDIR, but
this is not documented in X(7). There's almost-appropriate text in the manpage of XtResolvePathname.

Brice
Comment 1 Alan Coopersmith 2009-10-09 22:18:14 UTC
Fixed in git for the upcoming xorg-docs 1.5 (X11R7.5) release:

commit 2b2cf62524e99075b6c613e38310748e769efddb
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Oct 9 22:14:54 2009 -0700

    Bug 10274: X(7) manpage doesn't document %D for environment variables
    
    https://bugs.freedesktop.org/show_bug.cgi?id=10274
    Reported to Debian by Julian Gilbey (Debian BTS #243597)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

diff --git a/man/general/X.man b/man/general/X.man
index 5eebba2..f8f38a1 100644
--- a/man/general/X.man
+++ b/man/general/X.man
@@ -1060,6 +1060,7 @@ will search for resource files. The default value consists
 A path template is transformed to a pathname by substituting:
 .sp
 .nf
+    %D => the implementation-specific default path
     %N => name (basename) being searched for
     %T => type (dirname) being searched for
     %S => suffix being searched for
@@ -1093,6 +1094,7 @@ $XAPPLRESDIR defaults to \fI$HOME\fP, see below.
 A path template is transformed to a pathname by substituting:
 .sp
 .nf
+    %D => the implementation-specific default path
     %N => name (basename) being searched for
     %T => type (dirname) being searched for
     %S => suffix being searched for

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.