* automatic language mode @ 2002-11-30 21:20 c. kumar 2002-11-30 21:48 ` Kai Großjohann 0 siblings, 1 reply; 5+ messages in thread From: c. kumar @ 2002-11-30 21:20 UTC (permalink / raw) hello: 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. How can change this behavior? Thanx ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: automatic language mode 2002-11-30 21:20 automatic language mode c. kumar @ 2002-11-30 21:48 ` Kai Großjohann [not found] ` <WSaG9.197045$1O2.12371@sccrnsc04> 0 siblings, 1 reply; 5+ messages in thread From: Kai Großjohann @ 2002-11-30 21:48 UTC (permalink / raw) "c. kumar" <kumarchi@attbi.com> 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) ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <WSaG9.197045$1O2.12371@sccrnsc04>]
* Re: automatic language mode [not found] ` <WSaG9.197045$1O2.12371@sccrnsc04> @ 2002-12-01 13:57 ` c. kumar 2002-12-01 15:42 ` Kai Großjohann 0 siblings, 1 reply; 5+ messages in thread From: c. kumar @ 2002-12-01 13:57 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 975 bytes --] 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" <kumarchi@attbi.com> wrote in message news:WSaG9.197045$1O2.12371@sccrnsc04... > It looks okay to me (see the attached list). > > "Kai Großjohann" <kai.grossjohann@uni-duisburg.de> wrote in message > news:841y5291ar.fsf@lucy.cs.uni-dortmund.de... > > "c. kumar" <kumarchi@attbi.com> 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) > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: automatic language mode 2002-12-01 13:57 ` c. kumar @ 2002-12-01 15:42 ` Kai Großjohann 2002-12-01 23:30 ` c. kumar 0 siblings, 1 reply; 5+ messages in thread From: Kai Großjohann @ 2002-12-01 15:42 UTC (permalink / raw) "c. kumar" <kumarchi@attbi.com> writes: > 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. Maybe there is a case-sensitivity problem with Emacs/Cygwin? Maybe auto-mode-alist contains entries for *.c files but your file is named *.C... -- ~/.signature is: umop ap!sdn (Frank Nobis) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: automatic language mode 2002-12-01 15:42 ` Kai Großjohann @ 2002-12-01 23:30 ` c. kumar 0 siblings, 0 replies; 5+ messages in thread From: c. kumar @ 2002-12-01 23:30 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 780 bytes --] I ran the auto-mode-alist in both windows native emacs version and the X11 version and compared them. There was no difference! Also I use lower case .c in my files. Thanx for the pointer any way "Kai Großjohann" <kai.grossjohann@uni-duisburg.de> wrote in message news:8465ud3fw4.fsf@lucy.cs.uni-dortmund.de... > "c. kumar" <kumarchi@attbi.com> writes: > > > 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. > > Maybe there is a case-sensitivity problem with Emacs/Cygwin? > > Maybe auto-mode-alist contains entries for *.c files but your file is > named *.C... > > -- > ~/.signature is: umop ap!sdn (Frank Nobis) ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-12-01 23:30 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-11-30 21:20 automatic language mode c. kumar 2002-11-30 21:48 ` Kai Großjohann [not found] ` <WSaG9.197045$1O2.12371@sccrnsc04> 2002-12-01 13:57 ` c. kumar 2002-12-01 15:42 ` Kai Großjohann 2002-12-01 23:30 ` c. kumar
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).