LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-21-2003, 01:52 AM   #1
amannuc
LQ Newbie
 
Registered: Oct 2003
Location: California
Posts: 1

Rep: Reputation: 0
Disabling cc-mode Emacs


Dear Community,

Believe me I have tried to solve this problem. I have just started using emacs again, and am now using MATLAB, which requires .m files. Our installation automatically enters Objective-C mode with this file extension, which really messes up my MATLAB files. I finally figured out there is an emacs command "fundamental-mode' that disables this, but is there any way I can prevent this nasty "cc-mode" from automatically starting? Since these are multi-user systems, I cannot just get rid of the cc-mode.el file, or equivalent. Now, I type M-x fm to enter fundamental model (I did an alias in my .emacs file), but this is so primitive!!! How can I edit MATLAB files without entering the Objective-C major mode? Ugh!

Thanks for your help.

-Tony
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs: sgml mode lackluster Programming 4 04-23-2006 09:50 PM
emacs problem in shell mode bujecas Slackware 1 10-25-2004 05:37 AM
emacs-21.2 php-mode.el howto ? cicisbeo Linux - Software 1 01-12-2004 09:26 PM
disabling full screen mode for games in WINE tarheel92x Linux - Software 2 10-23-2003 12:09 AM
Disabling GNU Emacs Toolbar and Menubar mayagenesis Linux - Newbie 2 08-05-2003 05:06 PM


All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration