From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Martin Newsgroups: gmane.emacs.help Subject: Re: Mark package as installed when use git Date: Tue, 13 Jun 2017 13:20:36 +0200 Message-ID: <87vao0nngb.fsf@kaffanke.at> References: <877f0hs64f.fsf@kaffanke.at> <878tkxgj2e.fsf@kaffanke.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497352872 7948 195.159.176.226 (13 Jun 2017 11:21:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2017 11:21:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: John =?utf-8?Q?Ankarstr=C3=B6m?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 13 13:21:07 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 1dKjsg-0001pQ-UL for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2017 13:21:07 +0200 Original-Received: from localhost ([::1]:42531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKjsm-0006cb-8N for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2017 07:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKjsI-0006cI-16 for help-gnu-emacs@gnu.org; Tue, 13 Jun 2017 07:20:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKjsE-0001BU-Sj for help-gnu-emacs@gnu.org; Tue, 13 Jun 2017 07:20:42 -0400 Original-Received: from box.primewood.at ([138.68.68.139]:50047) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKjsE-0001Av-K4 for help-gnu-emacs@gnu.org; Tue, 13 Jun 2017 07:20:38 -0400 Original-Received: from authenticated-user (box.primewood.at [138.68.68.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by box.primewood.at (Postfix) with ESMTPSA id C4B4140169; Tue, 13 Jun 2017 13:20:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kaffanke.at; s=mail; t=1497352837; bh=1DL0EF2lfY3Sxa7ChDtumQa8RpUT+NxvAWk42DqIMAE=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=hUqqGDahOcIa9HRMYdBUm/eyAwKQ6fAV5x9PeGNa8LrT8OX0MMSJo7w0Okcr1HWYQ ujMfg7shfKw4FezgLkMdACvNipTMWuKm8qxsQy94D91KCmxdP0Z1tiPMyQ75UWzFMW ZbjPcC3x0IjuQ1l8KsQHWx+vy/VuXQKH8+abBTKA69puPJslu7GFvTsXJ40fLOCtFb ciwkouoXHtuLl0jo1Jdm3mrVUyiCLWccUKvsPwwPBbH7UJvwKgAdol7NS5i8XBtKoH oOvba+4hnr9nqLTureyK0g9XXeiJnR75W7HeoIesI+R+AVBqzQ3lD17+8qdEqHmm9R t8pAQyU6rPdoA== In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 138.68.68.139 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:113436 Archived-At: Ok, thats clear now. Thanks, Martin John Ankarstr=C3=B6m writes: > 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 --=20 Thanks for your help!