all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs failing to go into automatic c-mode - 21.2.1
@ 2002-12-12 18:55 nanjil
  2002-12-12 19:09 ` Kevin Rodgers
  2002-12-12 19:45 ` Kai Großjohann
  0 siblings, 2 replies; 3+ messages in thread
From: nanjil @ 2002-12-12 18:55 UTC (permalink / raw)


I get the following message when I open a .c file

File mode specification error: (invalid-function (.\c++-)
and then emacs opens file in fundamental mode.
Then I manually change teh mode to c. That is a pain.

how can I fix this 

thanx

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

* Re: emacs failing to go into automatic c-mode - 21.2.1
  2002-12-12 18:55 emacs failing to go into automatic c-mode - 21.2.1 nanjil
@ 2002-12-12 19:09 ` Kevin Rodgers
  2002-12-12 19:45 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2002-12-12 19:09 UTC (permalink / raw)


nanjil wrote:

> I get the following message when I open a .c file
> 
> File mode specification error: (invalid-function (.\c++-)
> and then emacs opens file in fundamental mode.
> Then I manually change teh mode to c. That is a pain.
> 
> how can I fix this 


I'd start by searching for c++ in your .emacs file.

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

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

* Re: emacs failing to go into automatic c-mode - 21.2.1
  2002-12-12 18:55 emacs failing to go into automatic c-mode - 21.2.1 nanjil
  2002-12-12 19:09 ` Kevin Rodgers
@ 2002-12-12 19:45 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-12-12 19:45 UTC (permalink / raw)


kumarchi@yahoo.com (nanjil) writes:

> I get the following message when I open a .c file
>
> File mode specification error: (invalid-function (.\c++-)
> and then emacs opens file in fundamental mode.
> Then I manually change teh mode to c. That is a pain.

Seems to be a bug in your init files.  In particular, in
auto-mode-alist.  Please type C-h v auto-mode-alist RET and post what
that gives you.
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

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

end of thread, other threads:[~2002-12-12 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 18:55 emacs failing to go into automatic c-mode - 21.2.1 nanjil
2002-12-12 19:09 ` Kevin Rodgers
2002-12-12 19:45 ` Kai Großjohann

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.