Thursday, January 31, 2008

Problem with python-mode.el in emacs22.1

When I tried to get into python-mode in emacs 22.1 I got this error:
Cannot open load file: python-mode

Solution to this problem:
Entering the following command in the command line solved my problem.Don't know
why it came and how the command solved my problem but did a quick fix...

dpkg --purge python-mode

Sunday, January 13, 2008

Modifieng partitions through LiveCD

Sometimes U may need to modify,resize,or move the partions...
U can do it using Ubuntu Live CD

First Boot up the system using Live Cd

Open the application gparted (GUI based partition modifier which comes packed with Live CD)

In the terminal give this command with root

> sudo gparted

now U can use the GUI tool to edit the partitions...

Wednesday, January 9, 2008

To install nxml-mode in emacs using aptitude

aptitude install nxml-mode

To install nxml-mode in emacs using aptitude

aptitude install nxml-mode

Tuesday, January 8, 2008

Wi-Fi fix for UBUNTU on Braodcom network card

This link give a 5 minute solution to Broadcom Chipset problem in ubuntu...

Broadcom Chipset fix in ubuntu 5 minute solution


If U really want to know what U R doing...

Broadcom Chipset fix in ubuntu 5 minute solution detailed solution

Wednesday, January 2, 2008

To install javascript-mode.el on emacs

C-h v load-path will give path were U need to put the javascript-mode.el file

Include this in the .emacs file
(if there is no .emacs file make one in the home directory)

;; for javascript files
(autoload 'javascript-mode "javascript-mode" "JavaScript mode" t)
(setq auto-mode-alist (append '(("\\.js$" . javascript-mode))
auto-mode-alist))


This should work....

Its explained in more detailed way at
http://www.divmod.org/trac/attachment/wiki/DivmodNevow/Athena/Emacs/Files/javascript-mode.el