[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
opening a cpp file
From: |
Gary Wessle |
Subject: |
opening a cpp file |
Date: |
18 Jul 2006 08:54:59 +1000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hi
I am trying to open a .cpp file, it opens it with an external viewer
MR Buffer Size Mode File
-- ------ ---- ---- ----
.* *scratch* 0 Lisp Interaction
* *Messages* 1721 Fundamental
* *ESS* 182 Fundamental
* *extview log* 489 Fundamental
how can I open it normally with the cpp mode?
in my .emacs I have
****************************************************************
(setq auto-mode-alist
(append '(
("configure.in" . m4-mode)
("\\.m4\\'" . m4-mode)
("\\.am\\'" . makefile-mode)
("\\.cpp\\'" . c++-mode)
("\\.h$" . c++-mode)
("\\.py\\'" . python-mode))
auto-mode-alist))
****************************************************************
thanks
- opening a cpp file,
Gary Wessle <=