emacs-devel
[Top][All Lists]
Advanced

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

Re: user-directory: New library to find user {conf, data, state, ...} fi


From: Stefan Kangas
Subject: Re: user-directory: New library to find user {conf, data, state, ...} files
Date: Fri, 5 Nov 2021 19:56:29 -0700

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Looks nice to me.

Thanks.

> So it would be nice if we could just say
>
> (user-file 'cache "foo" :legacy "~/Groovy/foo")
>
> and it'd return the legacy file name if it exists, but otherwise use the
> new one.  Or something like that -- the :legacy should probably also be
> allowed to be a list of names for things that have moved around a lot.

I forgot to mention it, but `user-file' is supposed to support an
OLD-NAME argument just like `locate-user-emacs-file' does.  Making it
accept either a string or a list sounds like a good addition.



reply via email to

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