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: missing "/" in value of user-emacs-directory when using --init-directory flag Date: Mon, 12 Dec 2022 14:23:55 +0200 Message-ID: <83mt7sstd0.fsf@gnu.org> References: <83sfi1lj1h.fsf@gnu.org> <47dca941-bf75-455b-f8b2-07b6574cbc79@dasyatidae.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23119"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rtt@dasyatidae.com, emacs-devel@gnu.org To: Yilkal Argaw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 12 13:24:28 2022 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 1p4hr9-0005oj-U9 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Dec 2022 13:24:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4hqq-0007ZM-NR; Mon, 12 Dec 2022 07:24:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4hqe-0007X5-2B for emacs-devel@gnu.org; Mon, 12 Dec 2022 07:23:56 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4hqd-0008Mm-Bk; Mon, 12 Dec 2022 07:23:55 -0500 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=zv9XCfjLoVoiX1VmXzDVykzQ7flnDDqXx4WmkZ7UerY=; b=bklJsLXtivMQ xjZ0dZ/YcMaKFtGdXWba8TQS4FeDo4SxcCR9RvKcZ8lZhTkuaLHnAzrL/1S/hgZqcBsSGzdqaGtNS ZsexHa4iVkE96gRxtgjHc5DSu8cCnuto6PEeZ6XgLkKzjls8UqvcZ4DsGwFa5eYSm8jq9otfj6pob 3v8ug06VIAj3JkhW5t8RZmzwGB9hfTdO+e1dPqalzsoz8HUNNg+I0t1yxKLYB/GYAUDXe/4ZUttIf O+p/Oo7YIOBYygzBmBhf5rikYhyObvT8V76kqo7ukuGj8lJ07lAjQ7+RxeV/mnDt9p+iaIsJ7Io7A ss9z9TK0/8bRxS0D6+G4hA==; Original-Received: from [87.69.77.57] (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 1p4hqb-0004D3-JA; Mon, 12 Dec 2022 07:23:55 -0500 In-Reply-To: (message from Yilkal Argaw on Mon, 12 Dec 2022 03:41:17 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301224 Archived-At: > From: Yilkal Argaw > Date: Mon, 12 Dec 2022 03:41:17 +0000 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > While that's as may be in general, the docstring for user-emacs-directory > (in my Emacs 28.2) states "Note that this should end with a directory > separator." specifically, which I take to be part of the variable contract. > Doesn't that imply that it is Emacs's responsibility to handle that aspect > if setting user-emacs-directory based on a file name that may not satisfy > that predicate? > > -RTT > > Correct. consistency and standardization on such matters is better for overall user experience. The issue was fixed more than a week ago, so I'm unsure what is the purpose of this post. We are consistent.