From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: interference between package and exec-path values ? Date: Sat, 20 Oct 2018 18:14:38 +0900 Message-ID: References: <3290BF05-6449-4E60-A196-32BF09211B95@gmail.com> <83r2glq1ur.fsf@gnu.org> <7BACC23A-1252-4241-AE4D-472E6F2284DD@gmail.com> <83mur9unua.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540026810 24237 195.159.176.226 (20 Oct 2018 09:13:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Oct 2018 09:13:30 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 20 11:13:26 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDnK1-0006CP-LI for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Oct 2018 11:13:25 +0200 Original-Received: from localhost ([::1]:54322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDnM8-0003D9-5S for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Oct 2018 05:15:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDnLb-0003Cj-4c for help-gnu-emacs@gnu.org; Sat, 20 Oct 2018 05:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDnLX-0002EK-4L for help-gnu-emacs@gnu.org; Sat, 20 Oct 2018 05:15:03 -0400 Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:37232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDnLW-0002Dz-SV for help-gnu-emacs@gnu.org; Sat, 20 Oct 2018 05:14:59 -0400 Original-Received: by mail-pf1-x436.google.com with SMTP id j23-v6so17570153pfi.4 for ; Sat, 20 Oct 2018 02:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=XuDKZ1lkw67Fx7yv3t0N8PEnsngr5yyZ8uSjjzuy5qA=; b=bzuTms/4EW6dcxgmnW2LIgoyIJcqC+a9JzfpcjvNd93OdaOO8HWPkVGKE4UR2mVkNR 76zDxTxZBt3J1y8H7EE7Nu5jhAJ6erQu+CJMU2BcBf0wZYQ8M9FiROyDH+y3ybPXejG9 eAVhwnux3TBpwUlwYMya1yo6Bb+dayn+A0XOwNu2wJHoq33dsVxFYEG3laGOVmGCi6MM ixO3TtatctlKURj33FFbW4Gwf5m+cXjdrrNFyGilcljSg85j1WCB+DNz9RS0fmZYHpRS 5CGDNJe7ifFO0P81RRexxyzaiJCcz/ie6geufikbVXpphWr5h4BhlVNxSGBNYLw400Lx WIWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=XuDKZ1lkw67Fx7yv3t0N8PEnsngr5yyZ8uSjjzuy5qA=; b=sfin2MT8Xo4EBsOZBZBU/qWphFbwmHJDTtmokLFlTPmI8U2PMj9SBAehM4gk02QSQS wKAkyliEMY5Zi3wv1k5OnqutyAs0gak+c5RGRvkjq9Pl2Up/2OG0LjEgpsfEDCCRHA7B 5Tah/H8n5Z7L/gPVQxIGnyAKJu4a6Dy65TkDZRgKxmbmf9F3PQFhuEaR20VsxED9ytFT BSQSejyt/04QdvL6hmYjwpouawwcCifS+S6CKeGoupKLAILDYVU4X+MeA/eTuHceh5F2 Bs1HqiiQxurjVitLEKSiVpL2iSFPl5nNr+cSNAfa/ZmcidX6az7bUsDPB5PhafhCq/YT TeXw== X-Gm-Message-State: ABuFfogilcJ995wOluudrTNybu5dPbL6H2j43yXEPcoVW/otK+XZNK+X e9dG00+YV4XWsmMHcuAliN85c6Cq X-Google-Smtp-Source: ACcGV61BypehB284bol2B8YJPFRtxL0SybOtbSlXEMEqJ9nODzt6N4WNhryp8y/tvgQzjBrMO1i2lg== X-Received: by 2002:a62:8708:: with SMTP id i8-v6mr37915296pfe.150.1540026897177; Sat, 20 Oct 2018 02:14:57 -0700 (PDT) Original-Received: from [192.168.1.11] (pl16832.ag0304.nttpc.ne.jp. [128.53.251.192]) by smtp.gmail.com with ESMTPSA id z22-v6sm27103331pgv.24.2018.10.20.02.14.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Oct 2018 02:14:56 -0700 (PDT) In-Reply-To: <83mur9unua.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.9.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::436 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118364 Archived-At: > On Oct 20, 2018, at 15:35, Eli Zaretskii wrote: >=20 >> From: Jean-Christophe Helary >> Date: Sat, 20 Oct 2018 10:55:23 +0900 >>=20 >>> Of course! You are using 'append' incorrectly. Evaluate >>>=20 >>> (append "/usr/local/bin/" exec-path) >>>=20 >>> and you will see what kind of result this produces. >>=20 >> Yes but :) >>=20 >> I had this expression in my .emacs.el file for a while now and it = never interfered with package. >=20 > I'm sorry, I don't believe you ;-) Either that expression was not > evaluated at all, or some other factor(s) were at work that bypassed > the error. :) You're wrong not to believe me and you're right that some other = factors at work bypassed the error. I seem to remember that I (badly) = copied that expression from some article because when Emacs does not = start from the command line it does not inherit the environment = variables defined by the shell and thus you have to add the = /usr/local/bin path manually from within emacs parameters. And it happens that I used to launch GUI emacs from the command line = until very recently when I started to call the Emacs.app binary directly = and that's when the problem started to occur. >> Also, when I start with -q and evaluated the expressions one by one, = evaluating that erroneous expression did *not* trigger the error, it's = only when I started emacs without -q that the error was triggered. >=20 > What do you mean by "does not trigger the error"? The evaluation > itself will never trigger any errors, as it is valid Lisp. It's only > when you start using the resulting value of exec-path that the > problems pop up. Perhaps previously, the resulting exec-path was > never used in your sessions. Would that be possible that when starting emacs from the command line = the path defined by the shell overrides that expression (not sure I'm = making sense here) ? > But it's a mistake nonetheless. I understand that part :) Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune