all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.