unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* opening a cpp file
@ 2006-07-17 22:54 Gary Wessle
  2006-07-18  5:22 ` harry meyers
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Wessle @ 2006-07-17 22:54 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-18 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 22:54 opening a cpp file Gary Wessle
2006-07-18  5:22 ` harry meyers
2006-07-18 14:18   ` David Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).