Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yantonov/emacs-conf
emacs configuration
https://github.com/yantonov/emacs-conf
Last synced: 15 days ago
JSON representation
emacs configuration
- Host: GitHub
- URL: https://github.com/yantonov/emacs-conf
- Owner: yantonov
- Created: 2012-11-12T00:07:02.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T11:29:25.000Z (3 months ago)
- Last Synced: 2024-08-06T23:53:12.443Z (3 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 976 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Emacs-conf
Emacs configuration.
Emacs config files is supposed to be placed at ~/emacs (emacs dir inside user home directory).## Installation
### Linux/Unix
1. clone repository to ~/emacs
2. to install all used modes run ~/emacs/install/setup.sh
3. add line to ~/.emacs initialization file
`(load (concat (getenv "HOME") "/emacs/init.el"))`
You can use [dot](https://github.com/yantonov/dot) tool to create symlinks for all files inside the ~/emacs/home directory.### Windows
1. clone repository to user home directory (for example C:/Users/username/emacs)
2. Set HOME environment variable to home directory (C:/Users/username)
3. install windows port of [wget](http://gnuwin32.sourceforge.net/packages/wget.htm)
4. run git bash (included in git dist for windows) then install all used modes by running setup.sh script (C:/Users/username/emacs/install/setup.sh).
5. add line to ~/.emacs initialization file
`(load (concat (getenv "HOME") "/emacs/init.el"))`
You can use [dot](https://github.com/yantonov/dot) tool to create symlinks for all files inside the ~/emacs/home directory.### Mac os
1. clone repository to ~/emacs
2. to install all used modes run ~/emacs/install/setup.sh
3. add line to ~/.emacs initialization file
`(load (concat (getenv "HOME") "/emacs/init.el"))`
You can use [dot](https://github.com/yantonov/dot) tool to create symlinks for all files inside the ~/emacs/home directory.
4. Fix PATH environment problem.
Programs which has launched from spotlight has different environment variables than whose who launched from terminal.
Suppose you add some additional dirs to PATH ($ADDITIONAL_PATH)
Add something like this to your .profile :# patch PATH for terminal programs
export PATH=$ADDITIONAL_PATH:$PATH
# patch PATH for gui (and spotlight in particular)
OLD_GUI_PATH=\`launchctl getenv PATH\`
if [[ $OLD_GUI_PATH != *$ADDITIONAL_PATH* ]]
then
NEW_GUI_PATH=$ADDITIONAL_PATH:$OLD_GUI_PATH
launchctl setenv PATH $NEW_GUI_PATH
fi