From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: interference between package and exec-path values ?
Date: Sat, 20 Oct 2018 02:36:40 +0900 [thread overview]
Message-ID: <30A4F000-93BE-481E-9760-628EC2DDFB1D@gmail.com> (raw)
In-Reply-To: <CAP_d_8UnaofeVJexhaO6q3+TBUjxMTmoUB9vT8P2YgFXKUs-Jw@mail.gmail.com>
Yuri,
Thank you for the explanation.
You're right, but still, I had that faulty line for a while and that did not keep package from installing files... But that's ok, I guess now that I know how to make that work as before.
Jean-Christophe
> On Oct 20, 2018, at 2:24, Yuri Khan <yurivkhan@gmail.com> wrote:
>
> On Sat, Oct 20, 2018 at 12:15 AM Jean-Christophe Helary
> <brandelune@gmail.com> wrote:
>
>> I am finding that having this line in my .emacs.el:
>>
>> (setq exec-path (append "/usr/local/bin/" exec-path))
>>
>> interferes with package to the point that I can't install anything.
>
> ‘append’ accepts sequences as arguments. You are passing a string as
> the first sequence, so it gets shredded to its constituent characters
> and these become elements of the resulting list.
>
> You probably wanted:
>
> (setq exec-path (append '("/usr/local/bin/") exec-path))
>
> or:
>
> (add-to-list 'exec-path "/usr/local/bin/")
>
> or possibly nothing, because the default value of exec-path derives
> its value from your PATH environment variable and that should already
> include /usr/local/bin.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
next prev parent reply other threads:[~2018-10-19 17:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-19 16:41 interference between package and exec-path values ? Jean-Christophe Helary
2018-10-19 17:24 ` Yuri Khan
2018-10-19 17:36 ` Jean-Christophe Helary [this message]
2018-10-19 17:32 ` Eli Zaretskii
2018-10-20 1:55 ` Jean-Christophe Helary
2018-10-20 6:35 ` Eli Zaretskii
2018-10-20 9:14 ` Jean-Christophe Helary
2018-10-20 10:22 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30A4F000-93BE-481E-9760-628EC2DDFB1D@gmail.com \
--to=brandelune@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).