From: john@ankarstrom.se (John Ankarström)
To: help-gnu-emacs@gnu.org
Subject: Re: Mark package as installed when use git
Date: Tue, 13 Jun 2017 17:14:53 +0700 [thread overview]
Message-ID: <m1r2yo42jm.fsf@ankarstrom.se> (raw)
In-Reply-To: <878tkxgj2e.fsf@kaffanke.at> (Martin's message of "Mon, 12 Jun 2017 20:24:57 +0200")
Martin <mylists@kaffanke.at> writes:
> Now I'm a bit unclear. :(
>
> I changed my config from init.el with some load-path for mu4e and
> org-mode to this:
>
> https://github.com/novoid/dot-emacs
Hi again,
My point was that, if you use `use-package', you should never
need to manually add anything to the `load-path' variable using
`add-to-list'. The `use-package' keyword :load-path handles this
for you.
I looked at your config.org; I'm not sure what `my-load-local-el'
does, but I'm sure you could replace it with `use-package'.
If you for any reason don't want to configure Org-mode via the
`use-package' function, you should replace `:ensure t' with
`:ensure nil' on any package that has Org-mode as a dependency;
setting :ensure to t means that `use-package' will automatically
install the package (as well as its dependencies).
Overall, though, you should either use `use-package' fully and
avoid manually loading packages outside of `use-package', or
abandon `use-package' entirely. In my opinion :-)
If anything's unclear, feel free to ask again.
- John
next prev parent reply other threads:[~2017-06-13 10:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 13:11 Mark package as installed when use git Martin
2017-06-12 16:59 ` John Ankarström
2017-06-12 17:03 ` John Ankarström
2017-06-12 18:24 ` Martin
2017-06-13 10:14 ` John Ankarström [this message]
2017-06-13 11:20 ` Martin
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=m1r2yo42jm.fsf@ankarstrom.se \
--to=john@ankarstrom.se \
--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).