emacs does not open a file from argument and syntax highlight does not work
- by Jus
In my latest ubuntu box,
When I type for example emacs ~/.bashrc, Emacs will start but not open .bashrc. This is true for any file I pass in. I've used Emacs for several years, and have never experienced this problem before.
I added (global-font-lock-mode 1);; to my .emacs file, and Emacs does recognize it, for example. "(C++/; Abbrev)", but it won't do syntax highlighting.
If you can solve any of these problems, it will be very appreciated. The following is my machine's configuration:
uname -a
Linux 2.6.35-28-generic-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686 GNU/Linux
~/.emacs
(global-font-lock-mode 1);;