* Issue customizing package-user-dir in emacs -Q session [emacs 27.x]
@ 2018-02-22 15:35 Kaushal Modi
2018-02-22 15:39 ` Kaushal Modi
0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2018-02-22 15:35 UTC (permalink / raw)
To: Emacs developers, Radon Rosborough
[-- Attachment #1: Type: text/plain, Size: 894 bytes --]
Hello,
For CI testing of my emacs-based projects, I customize package-user-dir in
an emacs -Q session to install the required packages in a "sandbox" area.
As an example, for my eless project, I run "make vcheck"[1] to install the
latest Org stable version in an area separate from the user's default
~/.emacs.d/elpa by customizing package-user-dir in a test setup file[2].
The problem is that that approach does not work on emacs 27.x, as it
probably depends on early-init.el even in emacs -Q sessions.
To confirm this issue:
1. git clone https://github.com/kaushalmodi/eless
2. make vcheck
You can review the linked Makefile and setup-eless.el.
@Radon Can you please this on emacs 27.x and suggest how to make it work?
Thanks.
[1]: https://github.com/kaushalmodi/eless/blob/master/Makefile
[2]: https://github.com/kaushalmodi/eless/blob/master/build/setup-eless.el
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1507 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Issue customizing package-user-dir in emacs -Q session [emacs 27.x]
2018-02-22 15:35 Issue customizing package-user-dir in emacs -Q session [emacs 27.x] Kaushal Modi
@ 2018-02-22 15:39 ` Kaushal Modi
2018-02-22 20:10 ` Kaushal Modi
0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2018-02-22 15:39 UTC (permalink / raw)
To: Emacs developers, Radon Rosborough
[-- Attachment #1: Type: text/plain, Size: 1545 bytes --]
On Thu, Feb 22, 2018 at 10:35 AM Kaushal Modi <kaushal.modi@gmail.com>
wrote:
>
> The problem is that that approach does not work on emacs 27.x
>
Sorry, I did that again.. By "does not work", I mean that on emacs 27.x,
make vcheck gets stuck at the package installation step (where the packages
should get installed to package-user-dir). So I had to kill make vcheck as
nothing was happening:
> make vcheck
Emacs binary used: emacs
Loading
/home/kmodi/stow/pub_dotfiles/emacs/dot-emacs.d/misc/eless/build/setup-eless.el
(source)...
Emacs is now refreshing its package database...
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: orgmode.org:443
Contacting host: orgmode.org:443
Contacting host: melpa.org:443
Contacting host: melpa.org:443
Contacting host: elpa.gnu.org:443
Package refresh done
Installing ‘org-plus-contrib’ ..
Setting ‘package-selected-packages’ temporarily since "emacs -q" would
overwrite customizations
Setting ‘package-selected-packages’ temporarily since "emacs -q" would
overwrite customizations
Contacting host: orgmode.org:443
^Cmake: *** [Makefile:83: vcheck] Error 2
Back on emacs 26 branch, I get:
> make vcheck
Emacs binary used: emacs
Loading
/home/kmodi/stow/pub_dotfiles/emacs/dot-emacs.d/misc/eless/build/setup-eless.el
(source)...
[Version check] Emacs 26.0.91
[Version check] Org mode version 9.1.6 (9.1.6-48-gfe7619-elpaplus @
/tmp/kmodi/eless-dev/elpa_26/org-plus-contrib-20180212/)
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 2310 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Issue customizing package-user-dir in emacs -Q session [emacs 27.x]
2018-02-22 15:39 ` Kaushal Modi
@ 2018-02-22 20:10 ` Kaushal Modi
0 siblings, 0 replies; 3+ messages in thread
From: Kaushal Modi @ 2018-02-22 20:10 UTC (permalink / raw)
To: Emacs developers, Radon Rosborough
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
On Thu, Feb 22, 2018 at 10:39 AM Kaushal Modi <kaushal.modi@gmail.com>
wrote:
> The problem is that that approach does not work on emacs 27.x
>
Hi Radon and everyone,
Please ignore that email.. sorry for the noise. It was just network being
too slow.. eventually package installation to custom package-user-dir
worked on emacs -Q (emacs 27.x) too.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 889 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-22 20:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 15:35 Issue customizing package-user-dir in emacs -Q session [emacs 27.x] Kaushal Modi
2018-02-22 15:39 ` Kaushal Modi
2018-02-22 20:10 ` Kaushal Modi
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).