From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Tue, 07 Jan 2020 16:26:52 +0100 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="18806"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , Elias =?utf-8?Q?M=C3=A5rtenson?= , emacs-devel To: Lawrence Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 16:43:59 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ior1R-0001SV-Nz for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 16:43:57 +0100 Original-Received: from localhost ([::1]:51790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ior1Q-0005qF-1U for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 10:43:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41131) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioqkz-0002YU-76 for emacs-devel@gnu.org; Tue, 07 Jan 2020 10:26:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioqky-0001XM-6M for emacs-devel@gnu.org; Tue, 07 Jan 2020 10:26:57 -0500 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:35092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioqkx-0001Vt-Up; Tue, 07 Jan 2020 10:26:56 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id g17so54378672wro.2; Tue, 07 Jan 2020 07:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=u4B71n0Rtsg6uq9lSpJ9OWtXmDGLcl2Oy99eHSyVI2U=; b=e74ohJ9+wty3K5FL/GMj0I5ZTsli0zvhutcNiov3jzi+RE/+/pjXRoxuqL6jXigemy GfI4ZQS+DM3CAVHZCwV8Sh50LBphr8iOBd0AzQG3Hkps/muE4zniMT8P0GCK5x8QCiqf nNbBjZCakmA3hLW4b+xwuuIlUNHCpGaXU+ln/nO9uSdomLc5OhTat0MxZFB8u2aI1vbN iS0hf5KUlkmMumf7MBQu2uxTmreyeaXgIHj/+75G080e7YOMdVzRnXmaklABORNI0QcK Qn7JHFqB9c8+mY4rHXpcti4rLNqCXhf+Q4KwOTVGvyVlPIwDR+dDDKFoTItECl9YZcgs PFlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=u4B71n0Rtsg6uq9lSpJ9OWtXmDGLcl2Oy99eHSyVI2U=; b=nZ4pggY4spBWYJidgUfKYuozbUc+sAmyP9rMByRaNefwHhtRhmO4as543YsPNc7frw BZ9a/KLVYnnKno5ml/Mrs6iWpg4E2oilV2+ps31VAyfMdhKHqgt9DuVC/Y/X1hKaugdt FEJNPA0WMUSsxndX4P6zYsvz6cGJW8s2BHJxrayirkJBOnTnjl3CxwXo8kdYVOs7s30E mJhUaJ99jNlV4fVrBRkQ81cCCQrW+4n949hPnvcGGELWdkSQu/CISHJX0lIda7zsjWoE Q9fTyg08/DvbAplh7p9J7kB+CNQ2oWAagA2xVmmGycPlyk8s5pYnlQYr+ay/6Ee0MIlE 7WyA== X-Gm-Message-State: APjAAAVHZIr381CH3hUF+NZxtMDIX47puYgwWwiIlgQnkW///WQOiFEs FVXvmlZVqgx/FmFoLSpyEPZ0aw+YcJc= X-Google-Smtp-Source: APXvYqzISyHI2DtEFC+a57PKeGHTmXsQRWnjfkKIMA8DUFOCbhaRNKp01bGjL1q4EZxd5IMVSzOUjQ== X-Received: by 2002:adf:9c8f:: with SMTP id d15mr111094421wre.390.1578410814165; Tue, 07 Jan 2020 07:26:54 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 4sm26198447wmg.22.2020.01.07.07.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 07:26:53 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: (Lawrence Liu's message of "Tue, 7 Jan 2020 22:43:10 +0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244065 Archived-At: >>>>> On Tue, 7 Jan 2020 22:43:10 +0800, Lawrence Liu said: Lawrence> Hi all, Lawrence> I also met this issue on a machine running gnome3 Ubuntu 18.0= 4. Lawrence> Took sometime for me to figured it out from mail list and new= s file. Lawrence> Haven=E2=80=99t look into the code to figure where it happens. With a breakpoint on 'mkdir': Lisp Backtrace: "make-directory-internal" (0xffffb498) "files--ensure-directory" (0xffffb7c0) "make-directory" (0xffffbb50) "locate-user-emacs-file" (0xffffbed0) 0xf4ce7b70 PVEC_COMPILED "funcall" (0xffffc1a0) "eval" (0xffffc2f8) "custom-reevaluate-setting" (0xffffc5f8) "mapc" (0xffffc710) "command-line" (0xffffd0c8) "normal-top-level" (0xffffd560) 'locate-user-emacs-file' says: ;; Make sure `user-emacs-directory' exists, ;; unless we're in batch mode or dumping Emacs. (or noninteractive dump-mode (let (errtype) (if (file-directory-p user-emacs-directory) (or (file-accessible-directory-p user-emacs-directory) (setq errtype "access")) (with-file-modes ?\700 (condition-case nil (make-directory user-emacs-directory t) (error (setq errtype "create")))))