GNU bug report logs -
#41030
[PATCH] Make EWW respect XDG download directory by default
Previous Next
Reported by: Philip K <philip <at> warpmail.net>
Date: Sat, 2 May 2020 17:00:02 UTC
Severity: wishlist
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
philip <at> warpmail.net (Philip K.) writes:
>> I think that is ~/Downloads/ exists, it's a good hint that the user
>> wants to use ~/Downloads/, no matter what xdg-user-dir says.
>
> So should it check for "~/Downloads/" first (and maybe perhaps a few
> other popular directory names in other languages), and unless that
> hasn't been found load xdg.el and call xdg-user-dir?
Yes, perhaps something like that.
But we don't want to do that checking at load time, I think? And the
same goes for the call to xdg-user-dir -- that doesn't be done at load
time, either.
(And the patch isn't correct as is, either, because xdg-user-dir returns
the directory without a trailing slash.)
So perhaps eww-download-directory should default to a function that does
all this checking and calling?
Any opinions?
And... as far as I can see, xdg-user-dir isn't used anywhere else in
Emacs? What's up with that?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.