From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#41030: [PATCH] Make EWW respect XDG download directory by default Date: Tue, 05 May 2020 20:04:30 -0400 Message-ID: <87mu6mlyi9.fsf@gmail.com> References: <20200502165842.8564-1-philip@warpmail.net> <874ksw1vjd.fsf@stefankangas.se> <87o8r4ha42.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="33384"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: "Basil L. Contovounesios" , Lars Ingebrigtsen , Philip K , 41030@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 02:05:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jW7Yl-0008Zv-3c for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 02:05:11 +0200 Original-Received: from localhost ([::1]:55154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jW7Yk-0002su-1Z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 May 2020 20:05:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jW7Yc-0002sj-QU for bug-gnu-emacs@gnu.org; Tue, 05 May 2020 20:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54572) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jW7Yc-0003QL-Hd for bug-gnu-emacs@gnu.org; Tue, 05 May 2020 20:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jW7Yc-0007aF-Bn for bug-gnu-emacs@gnu.org; Tue, 05 May 2020 20:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2020 00:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41030-submit@debbugs.gnu.org id=B41030.158872349229132 (code B ref 41030); Wed, 06 May 2020 00:05:02 +0000 Original-Received: (at 41030) by debbugs.gnu.org; 6 May 2020 00:04:52 +0000 Original-Received: from localhost ([127.0.0.1]:37885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jW7YS-0007Zo-0p for submit@debbugs.gnu.org; Tue, 05 May 2020 20:04:52 -0400 Original-Received: from mail-qk1-f178.google.com ([209.85.222.178]:34368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jW7YQ-0007Za-3j for 41030@debbugs.gnu.org; Tue, 05 May 2020 20:04:50 -0400 Original-Received: by mail-qk1-f178.google.com with SMTP id t3so253527qkg.1 for <41030@debbugs.gnu.org>; Tue, 05 May 2020 17:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+FG4I69Kprtq8YPtEXwLpUQ4piXwDuDpfERWHQyQYMc=; b=s0ef/7CZ3nj+NjicCWCQtsuX3/ZaQMSjnp8ZPszN7OB6DSsw/CGFJNQjCNRMt7jftQ dz/1OZ1OTdbugbZjM/6QLE7KaXa+YAQhnf91eOcSEJakiVjmDt6i5NS58S608+OA6bTd BRsMfO4oqEN0WRaGhJOqeosgu7lMjUwoyo6zC31lpFd+6iDZ1hmHYzZuZPze2T2h5ipW UKOWdmKYoL9PnJA8wfEic0NM44VEA6oKA1+oMgLC7tNH8KKBMaF+v9+wuyvMsFGbRcU2 LHzAiBy668TZkQkEJako98FWOHALX4zW/9jkJWRmid1dvcMxk9q81y0mNv/6TVVHaxIu jaUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=+FG4I69Kprtq8YPtEXwLpUQ4piXwDuDpfERWHQyQYMc=; b=Qb+IdkMT6FkXEGQdR7lvDQs8O/Hq2nhQYYrhWZU03wM4TO2yA6bjISeVRBRm1iDgPU HeQlX6fU/73EomQ5GPNepMW1oaaCsfDTrW5Jn1o8o5kibM7OqJU+wET5a5jJuiFVXQsL TN2MhVI22lODwTuC+CO84dw2rb7rZQZMLghwi1IOQWFUq2Zkn8DRCoSiogP4mDbAGXCk rbZQ9FUmzPrNyf3IL0TFbXR7LCJdA+crmttvk+1ttJZ3JlTP0bHYIEovsk5G/CDjg33j yl+tKigOy+sYo27DV7gdOfCjX50glLd5qacVI1+ROwkORSDQpXAVS3PnD0c1B4IsxWzI AXWQ== X-Gm-Message-State: AGi0PubbStgdG5jItJN90g20PHBYR3LOyqoYk0ZLjqS2m6KvjQQ+sf14 zU/wa+WGhQtKYaswwYADpbHJbz3m X-Google-Smtp-Source: APiQypIQwiguNqM7pC4Rzx+qKsaM8q/VgmrZPgNcVkeKYNAZF14j34+mEa82XLv3drB+y1Vf05dFRg== X-Received: by 2002:a37:2c45:: with SMTP id s66mr6474067qkh.305.1588723483998; Tue, 05 May 2020 17:04:43 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id p31sm47391qtf.11.2020.05.05.17.04.38 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 May 2020 17:04:43 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Tue, 5 May 2020 17:32:27 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179775 Archived-At: Stefan Kangas writes: >> It sounds like it could be specific to your environment; have a look at >> 'man 1 xdg-user-dirs-update'. > > In my use-case, I don't think I have ever touched any of this stuff. > Not AFAIR, anyways. > > So I wonder if the suggested code would mean to never use > "~/Downloads", since xdg-user-dir will always return something else? I get nil from (xdg-user-dir "DOWNLOAD"). Looking at the code, I guess you have something in ~/.config/user-dirs.dirs which causes this.