From: Christian Wittern <cwittern@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Preventing Org from being installed by elpa
Date: Thu, 22 Dec 2016 08:06:07 +0900 [thread overview]
Message-ID: <64dde4d2-81c8-633f-27f3-5fa03a2a6d0e@gmail.com> (raw)
In-Reply-To: <2016-12-21T14-24-35@devnull.Karl-Voit.at>
On 12/21/2016 10:25 PM, Karl Voit wrote:
> * Christian Wittern <cwittern@gmail.com> wrote:
>> On 12/21/2016 05:07 AM, Karl Voit wrote:
>>> I got the tipp of creating «~/.emacs.d/elpa/org-30000101/org-pkg.el»
>>> with:
>>> (define-package "org" "30000101" "Dummy org mode package" 'nil)
>>>
>>> And this simulates the fulfilled dependency so that my git version
>>> of Org-mode is the only one installed (besides maybe the default one
>>> from Emacs).
>>
>> Hmm, this sounds like what I want. However, when I try this, Emacs tells me:
>>
>> (file-error "Cannot open load file" "no such file or directory"
>> "/home/<user>/.emacs.d/elpa/org-30000101/org-autoloads")
>> load("/home/<user>/.emacs.d/elpa/org-30000101/org-autoloads" nil t)
>>
>> Is there a way to avoid this?
>
> I'm sorry.
>
> Usually, I do keep detailed notes on things I do. But when I created
> this pseudo-package, I did not write down a detailed howto for my
> future me.
>
> But the input for this came from this mailing list. So please search
> the archive and you might get the original instructions.
>
OK, I found the source in this message by Alan Schmitt, to which you replied:
<quote>
On 2016-01-28 12:33, Karl Voit <devnull@Karl-Voit.at> writes:
>> I’ve had issues with this in the past (I also use org for git). To
>> make sure org is never installed with elpa, I manually install
>> (`package-install-file') this org.el file:
>>
>> #+begin_src emacs-lisp
>> ;;; org.el --- Dummy org mode package
>>
>> ;; Copyright (C) 2014 Alan Schmitt
>>
>> ;; Version: 30000101
>>
>> ()
>>
>> ;;; org.el ends here
>> #+end_src
>
> There is no "(provide 'org)" or so?
I have not found it necessary. I make sure I load org before
initializing packages, and everything works.
Alan
</quote>
Using this recipe, I get also a file org-autoloads.el produced by package.el
and everything seems to work.
Cheers,
Christian
--
Christian Wittern, Kyoto
next prev parent reply other threads:[~2016-12-21 23:06 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-17 22:43 Remove Org from Emacs repository? Reuben Thomas
2016-12-18 9:22 ` aaermolov
2016-12-18 13:20 ` Carsten Dominik
2016-12-18 13:59 ` Rasmus
2016-12-18 14:41 ` Greg Troxel
2016-12-18 15:53 ` Kaushal Modi
2016-12-18 17:01 ` Reuben Thomas
[not found] ` <WM!f754fa008f759b442796c83f07a493b80e9d7ae4298a54f3fabf6b50a6e8ba9da1d361e87e441eae1fe9b1deeb824e68!@mailhub-mx3.ncl.ac.uk>
2016-12-19 15:32 ` Phillip Lord
2016-12-19 15:45 ` Reuben Thomas
2016-12-18 17:11 ` Christian Moe
2016-12-18 18:46 ` Xebar Saram
2016-12-18 19:08 ` Lambda Coder
2016-12-19 18:09 ` Scott Randby
2016-12-18 19:21 ` Samuel Wales
2016-12-18 23:32 ` Reuben Thomas
2016-12-19 1:36 ` MaDhAt2r
2016-12-19 10:42 ` Achim Gratz
[not found] ` <WM!759fdf23a4a1bd7b46432ee60644e52fd7beb44781fd97109e1d38080c6611cbecaf3bf7f1ea49cdc6a1823f1a9663ec!@mailhub-mx4.ncl.ac.uk>
2016-12-19 17:14 ` Phillip Lord
2016-12-19 18:53 ` Achim Gratz
[not found] ` <WM!fdb65752b64ef5461efbcb948e173a504edcf68a88cb151b38f9292793a941a33217a0cc771607f86b8962c90b171694!@mailhub-mx4.ncl.ac.uk>
2016-12-20 10:13 ` Phillip Lord
2017-01-16 8:36 ` Erik Colson
2016-12-19 1:52 ` Eric Abrahamsen
2016-12-19 4:42 ` Maria Shinoto
2016-12-20 20:07 ` Preventing Org from being installed by elpa (was: Remove Org from Emacs repository?) Karl Voit
2016-12-21 9:47 ` Preventing Org from being installed by elpa Christian Wittern
2016-12-21 13:25 ` Karl Voit
2016-12-21 23:06 ` Christian Wittern [this message]
[not found] ` <WM!fbba205c161c2d01739b0e77a8ccc521b0d6b80e8ba4b6108c74becbbd57ccbdb4003d644b63e3c98578a5b823582b17!@mailhub-mx3.ncl.ac.uk>
2016-12-21 12:40 ` Phillip Lord
2016-12-21 13:27 ` Karl Voit
[not found] ` <WM!dd5bd1ff96755a23a0384200326165bb89b1fc0144607ae0870bc4237fe325fe903cdff298d097ecb318c066c7b3726c!@mailhub-mx1.ncl.ac.uk>
2016-12-21 14:55 ` Phillip Lord
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=64dde4d2-81c8-633f-27f3-5fa03a2a6d0e@gmail.com \
--to=cwittern@gmail.com \
--cc=emacs-orgmode@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.