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: Tue, 29 Nov 2022 20:20:10 +0200 Message-ID: <83sfi1lj1h.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40168"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yilkal Argaw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 29 19:20:23 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 1p05DT-000AFE-3p for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Nov 2022 19:20:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p05Cj-0006WH-Gq; Tue, 29 Nov 2022 13:19:37 -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 1p05Ci-0006W5-EH for emacs-devel@gnu.org; Tue, 29 Nov 2022 13:19:36 -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 1p05Ci-0007HC-5z; Tue, 29 Nov 2022 13:19:36 -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=cjLz69jrAd/X0qGsM81kxWs0K6c4KPKPJkj70Or0js4=; b=ouvI3zdUOWbc 6uptgbZsBRaCXrGuazyGPR/dhKHsd2WMkRG1NYMQf5bOCzBL4ipBzFZ4HM464lGeR138vvBczgrt3 FvkILGa8eoiIRQrB01v5eqttzzH+8B/30Np5cAJyPbUgVbJwo08eZ+XJF4dd8znoxdePCoIoA5nC0 wCSF5+8oKBObvP3vtNRVtuT++pAMg4flK/eqlLYKSHPQkLwwNCtnOX9zCnO024zHL3C5sym/lN9bN ZrNfDoJ3E7sZJ3M0SptsbYoyQW8W8RwqcQlmVhUSxpG+EUEYGwnJNGMo4vTZo2qsB9TVggfRrQYLG BwSajN5LzihbazePjXZG1A==; 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 1p05Ch-0002KD-Kk; Tue, 29 Nov 2022 13:19:35 -0500 In-Reply-To: (message from Yilkal Argaw on Tue, 29 Nov 2022 17:55:45 +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:300717 Archived-At: > From: Yilkal Argaw > Date: Tue, 29 Nov 2022 17:55:45 +0000 > > In my configs I use (concat user-emacs-directory "somedirectory or > file") to refer to files with respect to emacs. When loading emacs > with the option --init-directory this > this string is not separated by a backslash since the value > user-emacs-directory does not have a backslash on the end of it. This > might break previous configs so it should be standardized to contain > the same string value in both cases. Don't use 'concat' for file names; use expand-file-name instead.