Menu Spec: including files & absolute paths
Waldo Bastian
bastian at kde.org
Sat Jul 24 23:10:57 EEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 22 July 2004 05:05, Havoc Pennington wrote:
> On Wed, 2004-07-21 at 05:40, Waldo Bastian wrote:
> > To solve this issue in a backwards compatible way I suggest to add an
> > argument to the <MergeFile> element that indicates that if the file that
> > contains the element is a file relative to
> > $XDG_CONFIG_HOME/$XDG_CONFIG_DIRS the same file further up the search
> > path should be merged instead of the file that is specified in the
> > <MergeFile> element. I propose to call this argument "parent".
>
> Something like "substitute_basedirs" seems clearer to me, if I
> understand it properly...
Euhm... I'm not sure I understand what you mean with "substitute basedirs".
I see the whole system comparable to a C++ class hierarchy, where you have a
set of files at the system level comparable to a base class, with each file
comparable to a virtual method that can be overridden in another of the
$XDG_CONFIG_DIRS ( those would be subclasses). The idea of this attribute is
to include/merge the same file at the next level, which is comparable to a
virtual method calling the virtual method in its parent class, hence the idea
of "parent".
I fully agree that this name is open for improvement, e.g. having a verb in
there might make it a bit clearer, I just don't see how "substitute basedirs"
fits in there :-}
Cheers,
Waldo
- --
bastian at kde.org | KDE Community World Summit 2004 | bastian at suse.com
bastian at kde.org | 21-29 August, Ludwigsburg, Germany | bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFBAsJRN4pvrENfboIRAuyDAKCVaFPBqxHsm0u+glXpcUf2t9j8TwCeJILE
qb/aL+rIWjhnx+N+Z6EMvLo=
=NBGT
-----END PGP SIGNATURE-----
More information about the xdg
mailing list