From: Yuri Khan <yurivkhan@gmail.com>
To: brandelune@gmail.com
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: interference between package and exec-path values ?
Date: Sat, 20 Oct 2018 00:24:27 +0700 [thread overview]
Message-ID: <CAP_d_8UnaofeVJexhaO6q3+TBUjxMTmoUB9vT8P2YgFXKUs-Jw@mail.gmail.com> (raw)
In-Reply-To: <3290BF05-6449-4E60-A196-32BF09211B95@gmail.com>
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.
next prev parent reply other threads:[~2018-10-19 17:24 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 [this message]
2018-10-19 17:36 ` Jean-Christophe Helary
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=CAP_d_8UnaofeVJexhaO6q3+TBUjxMTmoUB9vT8P2YgFXKUs-Jw@mail.gmail.com \
--to=yurivkhan@gmail.com \
--cc=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).