From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Default for image-dired-main-image-directory Date: Tue, 26 Oct 2021 12:25:51 +0200 Message-ID: References: <83sfwp1c27.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33537"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 26 12:42:52 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mfJuu-0008XC-L0 for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 12:42:52 +0200 Original-Received: from localhost ([::1]:55076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfJut-00038Y-GJ for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 06:42:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfJew-0005Kn-2b for emacs-devel@gnu.org; Tue, 26 Oct 2021 06:26:22 -0400 Original-Received: from mail-pg1-f182.google.com ([209.85.215.182]:40734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfJeu-0007zX-3U; Tue, 26 Oct 2021 06:26:21 -0400 Original-Received: by mail-pg1-f182.google.com with SMTP id l186so7239351pge.7; Tue, 26 Oct 2021 03:26:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YGmW5S3BrCRYGh4bODs8mkX4TKcCISlXrmBiS8cG9js=; b=tYT50PyuiZgg4ES+I8k/KgiJFyLf3x2PcwzuIU1n+XALRoovSYeWXt/cx6TMT5ocxJ J7zD3V301TPHdOc0E1QdL8YB5HqODusq4teuTs0/Bg03t3LcRzp2QcavXgQwnLWBArLd hY012Fvvy8LBGH0pawdq9O7gV4r9IRXJ/atUZTYxmxdHlxKFdYemF4OBsYGB7pWbqnq3 fUF0LO0BBKXtDoaxcAnFLxwzLNxdSYyzNY3jNeggFSGt5iICKoJlXP0vWK4cnuWl3nxx 0OLTPeUqVS356y6+O/w+CLJaGRuTnxAO1nXFfkNQagjoCgASwKTeAZ/1PUrBNFQsWyCL NB3Q== X-Gm-Message-State: AOAM533Q2cKgvFiN0wC3iRdNcZqYcdb1z8Tcui7gilXhjCpVsZlFQUZU Sgj6gwEH7bjWNw8IRdzG2Nc4zlFG+/GD3B5JeWPdpyccd/Y= X-Google-Smtp-Source: ABdhPJzUjYIc8iXgXbDQQF+CmoMAwcpWlORbPCRUAeNQu63FQ6iGS3yoRXfh7bw3l6EkIUz1z5housnIUfJBOwrijlo= X-Received: by 2002:a05:6a00:244d:b0:44d:c279:5155 with SMTP id d13-20020a056a00244d00b0044dc2795155mr24678553pfj.0.1635243962160; Tue, 26 Oct 2021 03:26:02 -0700 (PDT) In-Reply-To: <83sfwp1c27.fsf@gnu.org> Received-SPF: pass client-ip=209.85.215.182; envelope-from=stefankangas@gmail.com; helo=mail-pg1-f182.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277833 Archived-At: Eli Zaretskii writes: > (defcustom image-dired-main-image-directory > (or (xdg-user-dir "PICTURES") "~/pics/") > > Why "~/pics/"? What platform behaves like that? Probably none. (I will reply to your other points separately, this is a bit of a tangent.) That's the old default, so if you don't use XDG this code will behave exactly as before. So this is a step forward on GNU/Linux, and everyone else is unaffected (unless they have specifically opted in). We could use something more reasonable than "~/pics" of course, which just seems to be what someone happened to be using at some point. I suggest "~/Pictures", which is at least used by XDG.