Saturday, August 16, 2008

a test blog from emacs with gdate






Thursday, August 14, 2008

post blog via emacs


As you see, this is the first blog post via emacs by Yang. After spent 4 hours
or even long time on learning emacs, I totally fall in love with this most
powerful editor.

set up emacs for python

After read Ryan's emacs-as-a-powerful-python-ide I finally set up emacs for python. Here is the tips, or problems I encountered

1. jde

error:
File error: Cannot open load file, jde

fix:
edit ~/.emacs.d/dot-emacs, comment out the line

;;(load-library "ryan-java"

2. End of file during parsing

error:
End of file during parsing: /home/yang/.emacs

fix:
edit ~/.emacs.d/dot-emacs, add a line like this

'(w3m-default-display-inline-images t)
;;add a line here
)
;;add a line here
(custom-set-faces

3. Pymacs got an invalid initial repl

error:
Pymacs got an invalid initial repl

fix:
uninstall pymacs provided with ubuntu 8.04, install the latest version

sudo apt-get purge pymacs
tar -xgf Pymacs.tar.gz
cd Pymacs-0.23/
sudo python setup.py install

hope this will be helpful.