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: Mon, 12 Jun 2017 23:59:59 +0700 Message-ID: References: <877f0hs64f.fsf@kaffanke.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497286838 9786 195.159.176.226 (12 Jun 2017 17:00:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2017 17:00:38 +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 Mon Jun 12 19:00:30 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 1dKShZ-00022D-Qs for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jun 2017 19:00:30 +0200 Original-Received: from localhost ([::1]:39212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKShf-0004LK-3E for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jun 2017 13:00:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKShH-0004KN-6y for help-gnu-emacs@gnu.org; Mon, 12 Jun 2017 13:00:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKShE-0003X1-6H for help-gnu-emacs@gnu.org; Mon, 12 Jun 2017 13:00:11 -0400 Original-Received: from pusjkin.ankarstrom.se ([172.104.152.215]:51870) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKShD-0003Uw-TP for help-gnu-emacs@gnu.org; Mon, 12 Jun 2017 13:00:08 -0400 Original-Received: from Sissels-MacBook-Pro.local (unknown [202.152.135.226]) by pusjkin.ankarstrom.se (Postfix) with ESMTPSA id 239803EE6F for ; Mon, 12 Jun 2017 19:00:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ankarstrom.se; s=default; t=1497286805; bh=xSCm60nkR5WL6Kkine56IS0tzyO8Q5JM8mhzif6II4A=; h=From:To:Subject:References:Date:In-Reply-To:From; b=J3oxq5kTWiQhW4nJ9XFj36wCZhsFz3B6qveM4yHunbtK/euhi8w5Yl5gGICTBwqzW ZSeYsA9zD86Rsj0mtwfkSUceT1mIOFUbi8h4XSctKzMtsHpCCOl1YPF47/gs54IgEG 8LL4IvjyULPVh9/x4KrCxt6xBryWqeYiC8/f/iug= In-Reply-To: <877f0hs64f.fsf@kaffanke.at> (Martin's message of "Mon, 12 Jun 2017 15:11:28 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 172.104.152.215 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:113429 Archived-At: Martin writes: > Is there a way to avoid that? So like tell package.el that org > is allready installed, don't check that dependency? Quoting from the `use-package' README: > If your package needs a directory added to the load-path in > order to load, use :load-path. So, the following should suffice: > (add-to-list 'load-path (concat my-user-emacs-directory > "contrib/org-mode/lisp")) --8<---------------cut here---------------start------------->8--- (use-package org :load-path "contrib/org-mode/lisp") --8<---------------cut here---------------end--------------->8--- Repeat that for `org-contrib' and I think it should work. - John