From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yilkal Argaw Newsgroups: gmane.emacs.devel Subject: Re: missing "/" in value of user-emacs-directory when using --init-directory flag Date: Mon, 12 Dec 2022 03:41:17 +0000 Message-ID: References: <83sfi1lj1h.fsf@gnu.org> <47dca941-bf75-455b-f8b2-07b6574cbc79@dasyatidae.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000626a8305ef9947da" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19304"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Robin Tarsiger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 12 04:42:00 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 1p4ZhX-0004or-OQ for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Dec 2022 04:41:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4Zh9-0005ZJ-5q; Sun, 11 Dec 2022 22:41:35 -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 1p4Zh7-0005Z9-OW for emacs-devel@gnu.org; Sun, 11 Dec 2022 22:41:33 -0500 Original-Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4Zh6-0002cW-5s; Sun, 11 Dec 2022 22:41:33 -0500 Original-Received: by mail-ot1-x331.google.com with SMTP id z14-20020a9d65ce000000b0067059c25facso6540406oth.6; Sun, 11 Dec 2022 19:41:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wPDOsDloyH8xLrCLFQdm9cdzGPYrxjrKZVIP7aphWzg=; b=cRXA+WmetTheJQ124XoyMooEuL3AhQEnfByRTrSUAIli5o63fHj7x44AyNDZVz3rD1 6S+zdJJ6d2wUCZ4XVTBg1vxGhkrfpnwWVtL56DCj1FEZ206Fyj1CZSJLuouio3Oc1STO UBrpyyKNuE4XMb3r4HNmwlUxgh0jygnOV9o/W6eT1HvOa61GEtP+uvHMrPodZKCsNoPC avL5mQzjcSYZmve88WPWtkZ84GMCmV3ceOkK8UV3eJDM9LCP7ySvhTOuZBzL6RgqYxzu 5SPdi0sR//qxwQjMWi6OwnCG6JVA8CXEUxKEmSlj2nmx8sJA43imIGb0kzSVt4/y1RF4 BGIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wPDOsDloyH8xLrCLFQdm9cdzGPYrxjrKZVIP7aphWzg=; b=eliJbStMRpLnXLEGGnm9jkGUPyaHKTw5qTVcKYVJiumOLg6M1tP4Q/AOatLyuQDD97 kIrFWm7+2ffuDF4kbF4YVPAWKS+5aIxoI5b5IK/mSknEQsSep2lmO7DAzyF+JTadH5sG TBblwXxffvYSWSvFTsQedsVW+DYTo9u1N1OUrq1hi2x1+9uK8WMDErfeA5K964mTKwbu pJrKpsFcyAEP0KaYfvMncQD3NR1b56+7hUPS9vLePWnXAPEi8HiE+k7Rl8+pvPOnW3/l pD3AlSXzQ+/V0yzERzgxMUZvGKp2obqJ4eaaGudhvmHSMjMy24CHNPV8xNEw1iQA2UXq DCOg== X-Gm-Message-State: ANoB5pklLsYru9rsJdtZutAHZ4wvSF7/1tRuwgB6ziuz8y0EXnJel6Ef a8ZjD+uQBOLH9l3DqSmiJ29kx7XUp909c0It0qKTgZUdpac= X-Google-Smtp-Source: AA0mqf6oDyavJufnonn5Djj/D/5+c+zdiwNhsDWQv2m/ZhM0zoqRHwVajp3Ah1iPPHb7C7cJKFrT7nBADcPCievzYs8= X-Received: by 2002:a05:6830:d13:b0:66e:17fa:5a77 with SMTP id bu19-20020a0568300d1300b0066e17fa5a77mr35396962otb.124.1670816490218; Sun, 11 Dec 2022 19:41:30 -0800 (PST) In-Reply-To: <47dca941-bf75-455b-f8b2-07b6574cbc79@dasyatidae.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::331; envelope-from=yilkalargawworkneh@gmail.com; helo=mail-ot1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:301189 Archived-At: --000000000000626a8305ef9947da Content-Type: text/plain; charset="UTF-8" > > 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. --000000000000626a8305ef9947da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
While th= at'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<= br> separator." specifically, which I take to be part of the variable cont= ract.
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.=C2=A0 consistency and standar= dization on such matters is better for overall user experience.
--000000000000626a8305ef9947da--