unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ELPA
Date: Tue, 12 Jan 2021 21:23:01 +0100	[thread overview]
Message-ID: <87turllxay.fsf@zoho.eu> (raw)
In-Reply-To: jwvwnwh29jn.fsf-monnier+emacs@gnu.org

Stefan Monnier wrote:

>>> I think the answer is something like:
>>>
>>>     byte-compile=$(emacs)                      \
>>>        --batch --eval "(package-activate-all)" \
>>>        -f batch-byte-compile
>>
>> 80 errors of this, the same kind:
>
> I didn't mean for you to use this literally. Obviously,
> you'll need to adapt it to your specific circumstance.
> The `package-activate-all` should take care of all the
> ~/.emacs.d/elpa/*

Yes, that works!

... but I don't know what stuff there is in ~/.emacs.d/elpa/*
- the explicit method seems to offer more control.

emacs=/usr/local/bin/emacs

ema-path=~/.emacs.d/emacs-init
ema-gnus=\"${ema-path}/gnus\"
ema-ide=\"${ema-path}/ide\"
ema-init=\"${ema-path}\"
ema-w3m=\"${ema-path}/w3m\"
ema=${ema-gnus} ${ema-ide} ${ema-init} ${ema-w3m}

byte-compile=$(emacs)                                       \
	--batch                                                  \
   --eval "(package-activate-all)"                          \
	--eval "(setq load-path (append load-path '(${ema})))"   \
	-f batch-byte-compile

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




  reply	other threads:[~2021-01-12 20:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04 14:22 How-to disable persistent *EBDB-Message* buffer? Pankaj Jangid
2021-01-04 17:58 ` Eric Abrahamsen
2021-01-05  3:47   ` Pankaj Jangid
2021-01-05  5:03     ` ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?) Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-05 17:06       ` ELPA Eric Abrahamsen
2021-01-05 18:15         ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-05 18:52           ` ELPA Eric Abrahamsen
2021-01-05 18:57             ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-05 19:27               ` ELPA Eric Abrahamsen
2021-01-05 19:45       ` ELPA Stefan Monnier
2021-01-05 21:37         ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 18:00           ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 22:21             ` ELPA Stefan Monnier
2021-01-12 23:02               ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-13 15:01                 ` ELPA Stefan Monnier
2021-01-12 20:21           ` ELPA Stefan Monnier
2021-01-12 20:23             ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-01-12 21:29               ` ELPA Stefan Monnier
2021-01-12 21:35                 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 21:57                   ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 19:53       ` ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?) Emanuel Berg via Users list for the GNU Emacs text editor

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87turllxay.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.
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).