all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* adding extensions to cc-mode
@ 2005-08-22 10:05 jose_luis_fdez_diaz_news
  2005-08-22 18:07 ` kgold
  0 siblings, 1 reply; 3+ messages in thread
From: jose_luis_fdez_diaz_news @ 2005-08-22 10:05 UTC (permalink / raw)


Hi,

I went through the code in the .emacs file and tried to add .pc file
extensions to the auto-mode-alist, but it still doesn't color my .pc
(Pro*C)
files when I bring them up.  I am runnig emacs on Windows. Got any
suggestions?



;; This is how emacs tells the file type by the file suffix.
(setq auto-mode-alist
      (append '(("\\.mss$" . scribe-mode))
	      '(("\\.bib$" . bibtex-mode))
	      '(("\\.tex$" . latex-mode))
	      '(("\\.obj$" . lisp-mode))
	      '(("\\.st$"  . smalltalk-mode))
	      '(("\\.Z$"   . uncompress-while-visiting))
	      '(("\\.cs$"  . indented-text-mode))
	      '(("\\.C$"   . c++-mode))
	      '(("\\.cc$"  . c++-mode))
	      '(("\\.icc$" . c++-mode))
	      '(("\\.c$"   . c-mode))
	      '(("\\.pc$"   . c-mode))
	      '(("\\.y$"   . c-mode))
	      '(("\\.h$"   . c++-mode))
	      auto-mode-alist))


Thanks in advance,
Jose Luis.

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

end of thread, other threads:[~2005-08-22 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22 10:05 adding extensions to cc-mode jose_luis_fdez_diaz_news
2005-08-22 18:07 ` kgold
2005-08-22 19:16   ` Peter Dyballa

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.