Showing posts with label Emacs. Show all posts
Showing posts with label Emacs. Show all posts
Friday, 9 July 2010
Monday, 28 June 2010
Reload File in Emacs
I can't remember how I deal with this situation.... I just realized that Emacs doesn't reload a file, if it has been modified outside emacs......
To reload a file, this is the command you need to run...M-x revert-buffer
To reload a file, this is the command you need to run...M-x revert-buffer
Labels:
Emacs
Saturday, 26 June 2010
Setting Up Emacs for Windows
Here is a good .el to help emacs recognize cygwin path style
http://www.emacswiki.org/cgi-bin/wiki/download/cygwin-mount.el
to enable
(require 'cygwin-mount)
http://www.emacswiki.org/cgi-bin/wiki/download/cygwin-mount.el
to enable
(require 'cygwin-mount)
(cygwin-mount-activate)
There is a problem with the PS1 variable of bash. Emacs doesn't recognize the escape characters for colours. The solution is to add a condition to the bash profile:
if [ $TERM = emacs] ; then
PS1='\u@\h:\W\n$'
fi
A Useful Emacs 4 Windows documentation
This could help me setting up my emacs in Windows!
ps: Here is how to set the font for Emacs
M-x set-default-font
ref: http://www.cs.huji.ac.il/~osigor/emacs/font.html#8
ps: Here is how to set the font for Emacs
M-x set-default-font
ref: http://www.cs.huji.ac.il/~osigor/emacs/font.html#8
Labels:
Emacs
Subscribe to:
Posts (Atom)