From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Emacs 27.1 init file not loading Date: Thu, 20 May 2021 15:40:04 +0200 Message-ID: <874kex5xsb.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33690"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help GNU Emacs To: Skip Montanaro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 20 15:41:06 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ljivC-0008Vv-4e for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 May 2021 15:41:06 +0200 Original-Received: from localhost ([::1]:47058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljivA-000310-4B for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 20 May 2021 09:41:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljiuH-00030N-Ts for help-gnu-emacs@gnu.org; Thu, 20 May 2021 09:40:09 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:41577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljiuF-0004I8-RJ for help-gnu-emacs@gnu.org; Thu, 20 May 2021 09:40:09 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id d11so17693179wrw.8 for ; Thu, 20 May 2021 06:40:07 -0700 (PDT) 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=+uLRAXXmPRsTIKNU5per11GB13ndVJjeiJ48sB0JdP8=; b=hBg6jVy+4K3BOlmFjNmrnEOrBkhJ+PaH9XtgOVBiYAIfx5yA0zjxVUWoqpDTQe2ZcL BwWJmlByAkipq3zjDp5XdDNAK3ncUBhRnV/BaTf5wuIVJN+/Yc6doxmb/B9y9On0UVkj MK4mICKXqAFItVfEMCTiOKQLwoRzK4HCX4ADuIK2w2jD9GnW8VZ9fkvMfoar44++wl3b 57KlflsG2UJP80vk07q+naGWj8hKL/8CB96D2rZ043aZzsCRqVe7CDdFYK4Yu4W4otpo VSEYF7bTfSjPqrPp8I+HQxJVn25uGXy6T08IWMfrBpMbh21osbsPIjAGR1iYMMmHZ9A1 NkIg== 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=+uLRAXXmPRsTIKNU5per11GB13ndVJjeiJ48sB0JdP8=; b=K+a92i7LEVWbARIHEf6cPPQ9nc7uIGA4kil7p0ScgSoNQ8daf5MsI1z7X2y5xwsv+O CY+Vbu5UudweYdeQsHlsQkYRNllUAOoczYwOAWfWHtglbK2goDoYWhLL5JMQrvLqc2sW 7HW9xwoWPJMAgKiu7S3t9mLJE4gj5hUv9etkj7+uexpKSb9Lc0vNmPet0jj5UH+3587a HB1coWAsOD+5PwwlNA68w62Q0V90abTbnCkvt6wK+G0bPq11Gk0fzIhhSXRsV7xtl3sj vefGLRzttpRWeRnwwQbAiAyLOrIx9T6XTwh2BmSlo/sOJYVCLGlSnyPesZt6FncCvBaN NGiQ== X-Gm-Message-State: AOAM5318f5LBvPp5OB9/L0ujU11AaQvQlAi3rBjcE8luX/joHj5kEN95 oLOyhanKcFs/FN33VUI2tcYzcvdV7fU= X-Google-Smtp-Source: ABdhPJyP5I2hwfjxVBwmzb0fIXZPs5ZGLkSyNsozS1UgBDmiffbDpvtlU/HKfF50uHSMUCLTAcA1xA== X-Received: by 2002:a5d:4003:: with SMTP id n3mr4371704wrp.173.1621518005825; Thu, 20 May 2021 06:40:05 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id y2sm3336582wrl.92.2021.05.20.06.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 06:40:05 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: (Skip Montanaro's message of "Thu, 20 May 2021 08:10:09 -0500") Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42a.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, 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129973 Archived-At: >>>>> On Thu, 20 May 2021 08:10:09 -0500, Skip Montanaro said: Skip> I recently switched from Ubuntu to XUbuntu and in the process lost Skip> Emacs 27.2. The standard repo only had 26.3, so I went looking for Skip> alternative locations and landed here: Skip> https://launchpad.net/~kelleyk/+archive/ubuntu/emacs Skip> That only had 27.1, but I figured "How different could it be?" As= it Skip> turns out, it's different in one pretty significant way. Running = just Skip> "emacs" from the command line, it fails to find/load Skip> ~/.config/emacs/init.el. If I run it like so: Skip> emacs --load ~/.config/emacs/init.el Skip> it does load. I can tell that it doesn't load in the normal case Skip> because I added a couple calls to (message "...") to start and en= d the Skip> file. They don't show in the minibuffer or the *Messages* buffer Skip> unless I use the more explicit command. What's the value of 'user-init-file' when you run emacs normally (without the symlink below)? It=CA=BCs possible emacs is looking for '~/.emacs.d/init.el'. Skip> For the time being I just created a symlink from ~/.emacs to Skip> ~/.config/emacs/init.el. Robert --=20