[Top][All Lists]

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

Re: [PATCH] Implement XDG Base Directory specification for user-emacs-di

From: Basil L. Contovounesios
Subject: Re: [PATCH] Implement XDG Base Directory specification for user-emacs-directory
Date: Sun, 28 Jul 2019 16:21:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: "Basil L. Contovounesios" <address@hidden>
>> Date: Sat, 27 Jul 2019 22:22:01 +0100
>> Cc: address@hidden
>> My only question is whether any of the new logic can be shared with
>> lisp/xdg.el or vice versa
> I'm not sure I see how.  xdg.el includes a lot of stuff that is not
> needed in every Emacs session, whereas the changes discussed here must
> be in preloaded code.

Right, and the new XDG-related code looks too startup-specific to be
useful for xdg.el, really.

> Is your suggestion to move some of the code in xdg.el to
> startup.el/subr.el and leave the rest in xdg.el?  If so, which part(s)
> would you suggest to move?

I was just thinking aloud that IWBNI definitions and/or environment
lookup code could be shared, but on second look that would be overkill
and not entirely applicable here.

> In general, I feel that xdg.el is currently too Freedesktop-specific,
> and "needs work" if we want to make it a portable mainstream package
> useful on all the supported platforms.  (There's also a strange
> comment about Emacs "not having a notion of l10n/i18n", which is
> simply wrong, so support for localestring could/should also be
> improved.)  Patches welcome.

What kind of non-Freedesktop-specific portability do you envision?



reply via email to

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