From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Default for image-dired-main-image-directory Date: Tue, 26 Oct 2021 16:12:04 +0300 Message-ID: <83a6iwylp7.fsf@gnu.org> References: <83sfwp1c27.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33203"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 26 15:13:36 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 1mfMGl-0008UY-LF for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 15:13:35 +0200 Original-Received: from localhost ([::1]:55852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfMGk-0006s9-LE for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 09:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfMFO-0005Hn-5U for emacs-devel@gnu.org; Tue, 26 Oct 2021 09:12:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfMFN-00011y-Rz; Tue, 26 Oct 2021 09:12:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=viNtAExoAFii392gtAqlzf43Tx9sMubQ5U7uSOJuWqc=; b=G7td42EUr54Y nEymLTxu/1cxpZoPmlL93Je1w3LdKst61jAev5eDI1UOd68eScozfvyopobA5wx7rdAEHSETmaBv0 QwLBZWTNTeYUrzpP01Ybn3/XnzHjwEBsaVcXVIRgKPmCm8CAcWNHFLrZF513LIUHuikTZEfItlZlX 32oynfTNZTpktwDgTPPdd25Ky9SNY8hUbQ6L9bjJthr9lGH860JVPsBK95qlYyprSk/FmtqA7lXUH 1pITq+0pBzk3jtWPAIupl3rjWOJoIKaceOWO8W4qezpfJp1DmL17IBLnXI9ysj8iO3U9AN+TciGs7 3B9Hb/vNSBtcJiN1EJnlCA==; Original-Received: from [87.69.77.57] (port=1034 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfMFM-0002KC-C5; Tue, 26 Oct 2021 09:12:09 -0400 In-Reply-To: (message from Stefan Kangas on Tue, 26 Oct 2021 12:25:51 +0200) 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:277849 Archived-At: > From: Stefan Kangas > Date: Tue, 26 Oct 2021 12:25:51 +0200 > Cc: Emacs developers > > 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). It is a step forward for GNU/Linux, maybe, but it is a step back for Emacs, for the reasons I explained. > 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. How about if we DTRT right away, and provide reasonable defaults for all the non-XDG platforms (assuming we prefer platform-specific defaults in this particular case)? I see no real reason to install half-solutions.