emacs does not open a file from argument and syntax highlight does not work

Posted by Jus on Super User See other posts from Super User or by Jus
Published on 2011-03-26T21:18:46Z Indexed on 2012/06/22 9:18 UTC
Read the original article Hit count: 205

Filed under:
|

In my latest ubuntu box,

  1. 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.

  2. 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);;

© Super User or respective owner

Related posts about emacs

Related posts about ubuntu