From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "c. kumar" Newsgroups: gmane.emacs.help Subject: Re: automatic language mode Date: Sun, 01 Dec 2002 13:57:36 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <841y5291ar.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038751154 31669 80.91.224.249 (1 Dec 2002 13:59:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Dec 2002 13:59:14 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18IUcq-0008EL-00 for ; Sun, 01 Dec 2002 14:59:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18IUef-0006oJ-00; Sun, 01 Dec 2002 09:01:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc03.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 24.218.149.69 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: sccrnsc03 1038751055 24.218.149.69 (Sun, 01 Dec 2002 13:57:35 GMT) Original-NNTP-Posting-Date: Sun, 01 Dec 2002 13:57:35 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:107627 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4177 This behavior happens only when I fire up emacs under /cygwin/X11. I have also native binaries of emacs installed. If I fire that up it automatically recognizes the c-code and sets the mode appropriately. "c. kumar" wrote in message news:WSaG9.197045$1O2.12371@sccrnsc04... > It looks okay to me (see the attached list). > > "Kai Großjohann" wrote in message > news:841y5291ar.fsf@lucy.cs.uni-dortmund.de... > > "c. kumar" writes: > > > > > When I open up my c-code in emacs it used to automaticlaly open it in > > > c-mode. Under the latest cygwin/X11 for some reason it opens it > fundamental > > > mode and I have been manually setting it c-mode. > > > > The varibale auto-mode-alist contains regexp/mode pairs. Emacs looks > > there to decide which mode to use. > > > > What does C-h v auto-mode-alist RET say on your system? > > > > -- > > ~/.signature is: umop ap!sdn (Frank Nobis) > > >