From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: john@ankarstrom.se (John =?utf-8?Q?Ankarstr=C3=B6m?=) Newsgroups: gmane.emacs.help Subject: Re: Mark package as installed when use git Date: Tue, 13 Jun 2017 17:14:53 +0700 Message-ID: References: <877f0hs64f.fsf@kaffanke.at> <878tkxgj2e.fsf@kaffanke.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497349047 26813 195.159.176.226 (13 Jun 2017 10:17:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2017 10:17:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 13 12:17:19 2017 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 1dKisw-0006TY-2k for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2017 12:17:18 +0200 Original-Received: from localhost ([::1]:42290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKit1-0007PJ-9K for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2017 06:17:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKiqn-00064C-91 for help-gnu-emacs@gnu.org; Tue, 13 Jun 2017 06:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKiqj-0002pi-98 for help-gnu-emacs@gnu.org; Tue, 13 Jun 2017 06:15:05 -0400 Original-Received: from pusjkin.ankarstrom.se ([2a01:7e01::f03c:91ff:fed5:73aa]:49434) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKiqj-0002pA-06 for help-gnu-emacs@gnu.org; Tue, 13 Jun 2017 06:15:01 -0400 Original-Received: from Sissels-MacBook-Pro.local (unknown [202.152.135.226]) by pusjkin.ankarstrom.se (Postfix) with ESMTPSA id 343253EE6A for ; Tue, 13 Jun 2017 12:14:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ankarstrom.se; s=default; t=1497348899; bh=EaNNKfOPEeBiubceo2YX3XR2MqYlIObL+iAZuE9HcRw=; h=From:To:Subject:References:Date:In-Reply-To:From; b=PyyjtmQe0GZQz5ssaRicb/Iap+6Xw7OahZof7ch9DDS2lbXtRpbynswGJFDM+jiz2 tua7idSPPObkFJWYjL/I+lEqOSKQqpHs09xx5aJIbmA5iNfSFjp0ptcjc0IolWed/R nVofZ+HuNb/ZJ67IqSf/NLbSNw7I54ETwQI396aE= In-Reply-To: <878tkxgj2e.fsf@kaffanke.at> (Martin's message of "Mon, 12 Jun 2017 20:24:57 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e01::f03c:91ff:fed5:73aa 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:113435 Archived-At: Martin 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