Skip to content

Instantly share code, notes, and snippets.

@fire
Last active August 29, 2015 14:01
Show Gist options
  • Save fire/a8b02906404230f4052e to your computer and use it in GitHub Desktop.
Save fire/a8b02906404230f4052e to your computer and use it in GitHub Desktop.
Setup computer for work

Install emacs

http://robert-adesam.blogspot.ca/2011/01/emacsclient-setup-on-windows-7-starter.html

Add directory bin to path.

Use this code for a desktop/task-bar shortcut:

::::::::::::::::::::::::::::::::::::::::::::::::::
:::
::: Emacsclient startup script runemacsclientw.bat
::: Robert Adesam, [email protected]
::: http://www.adesam.se/robert/
:::
::: N.B. Alot of this is reused from other Emacs 
::: users that have published stuff on the 
::: Internet. Thank you! :)
::::::::::::::::::::::::::::::::::::::::::::::::::
@echo off
:: Set the path to where the Emacs binaries are
set binpath=C:\Tools\Emacs\bin\
:: Run Emacsclient
"%binpath%\emacsclientw.exe" --no-wait --alternate-editor="%binpath%\runemacs.exe" -c

Add (server-start) to init.el

http://www.computerhope.com/download/utility/Bat_To_Exe_Converter.zip

Name the exe runemacsclientw.exe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment