/portable-emacs-win64

Repository to speed up my use of a portable Emacs version with tools under Windows 64 bit.

Primary LanguageCommon LispGNU General Public License v3.0GPL-3.0

portable-emacs-win64

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.

How to get it?

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.

How to update it?

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

What is included?

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.

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

What is additionally needed to get it to work?

Next benefit: synching of pandoc, multimarkdown, ...

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.