help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?)


From: Emanuel Berg
Subject: Re: ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?)
Date: Tue, 12 Jan 2021 20:53:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Also... can you do it without having to do this
>
>   byte-compile=$(emacs) \
>      -batch \
>      -eval "(setq load-path (append load-path 
> '(\"~/.emacs.d/elpa/gnuplot-mode-20171013.1616/\" 
> \"~/.emacs.d/elpa/vterm-20201004.2057\" 
> \"~/.emacs.d/elpa/markdown-mode-20201015.1327\" 
> \"~/.emacs.d/elpa/w3m-20200818.141\" \"~/.emacs.d/emacs-init\" 
> \"~/.emacs.d/emacs-init/ide\" \"~/.emacs.d/emacs-init/w3m\" 
> \"~/.emacs.d/emacs-init/gnus\" 
> \"~/.emacs.d/elpa/google-translate-20190620.1416\" )))" \
>      -f batch-byte-compile
>
> In the Makefile? (Set the load-path again for every pack, I mean.)
>
> https://dataswamp.org/~incal/emacs-init/Makefile

You can make it little more photogenic, a little less
error-prone, and give you a little more control by doing THIS,
but it's still the same, manual approach. Looks a lot better
tho so yeah, do it :)

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}

elpa-path=~/.emacs.d/elpa
markdown-mode=\"${elpa-path}/markdown-mode-20201220.253\"
w3m=\"${elpa-path}/w3m-20210104.424\"
elpa=${markdown-mode} ${w3m}

packs=${ema} ${elpa}

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]