Repository to speed up my use of a portable Emacs version with tools under Windows 64 bit. All tools and binaries are for 64bit versions - if available.
First clone the portable-emacs-win64 repository, than go into the directory and clone the .emacs.d repository:
git clone https://github.com/dahanbn/portable-emacs-win64.git
cd portable-emacs-win64
git clone https://github.com/dahanbn/.emacs.d.git
Than download the latest stable emacs (emacs-26.3-x86_64) from
http://ftp.gnu.org/gnu/emacs/windows/ and unzip it to the directory
emacs-26.3-x86_64
.
That's all.
Run git-pull-emacs-emacs.d.bat
to pull updates & fast forward into it if git
is locally installed. The batch file also pulls new commits from the .emacs.d
repository and uses also git submodule there for other local-packages that are
git repositories itselfs, e.g. lpy.
Currently it contains the following code:
echo "Running git pull for portable-emacs-win64"
git pull https://github.com/dahanbn/portable-emacs-win64.git
pause
cd .emacs.d
echo "Running git pull for .emacs.d"
git pull https://github.com/dahanbn/.emacs.d.git
echo "Fetching submodules via git submodule"
git submodule init
git submodule update --remote
pause
It contains the following tools and batch files:
For the versions of the different tools please see the tools directory. There is a txt file for each included version.
Attention! Pandoc.exe is sometimes too big for Git to handle it (>=100 MB). Therefore the portable pandoc must be downloaded separately and the files extracted to tools/pandoc/
. Or use the provided zip file in the directory. The current pandoc binary is smaller than 100 MB and thereore is pandoc included.
- tools
- pandoc 2.13 64bit, licensed under the GPL
- MultiMarkdown 6.6.0 64bit, licensed under GPL v2 or greater
- ripgrep 12.1.1 64 bit, licensed under MIT or UNLICENSE (dual-licensed)
- Steel Bank Common Lisp (SBCL) 1.4.2, licensed under various licenses (SBCL is derived from CMU CL, and carries the same licensing terms, a mixture of BSD-style (for a few subsystems) and public domain (for the rest of the system).)
- Don't Sleep 7.22 64bit, Freeware, please see it's license
- fonts-for-local-install
- CamingoCode, v1.0, licensed under Creative Commons License CC BY-ND, Version 3.0
- IBM Plex Family, licensed under SIL OPEN FONT LICENSE Version 1.1
- IBM Plex Mono, v0.4.1, light, regular & semibold plus italics
- IBM Plex Sans, v0.4.1, light, regular & semibold plus italics
- IBM Plex Serif, v0.4.1, light, regular & semibold plus italics
- iA Duospace Fonts, based on IBM Plex Mono and licensed under SIL OPEN FONT LICENSE Version 1.1
- .gitconfig
- git-pull-emacs-emacs.d.bat
- portable-emacs-win64.bat, licensed under GPL v3
Warning: .gitconfig
is needed because of the portable use of git, it needs
a copy of the file under the fake $HOME
. You can read more
here. Nevertheless you still have
to set up the real .gitconfig and the credential service, e.g.:
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
# credential service will be setup on the first push
- my .emacs.d - directory, licensed under GPL v3
- latest stable Emacs, currently emacs-25.3_1-x86_64, licensed under the GPL
Another benefit of this repository is the synching of various portable apps to different machines, e.g. git, pandoc & markdown.
To make it user wide accessible on the different machines outside of Emacs it is recommended to add the path to those application directories to the user environment path variable.
D:\portable-emacs-win64\tools\pandoc;D:\portable-emacs-win64\tools\PortableGit\cmd;D:\portable-emacs-win64\tools\putty;D:\portable-emacs-win64\tools\WinSCP;D:\portable-emacs-win64\tools\MultiMarkdown\bin;
On Windows 10 with a Microsoft User Account you find the dialog to set it up under Systemsteuerung\Benutzerkonten\Benutzerkonten
=> Eigene Umgebungsvariablen bearbeiten
.