Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-21-2003, 12:52 AM   #1
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.



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 08:50 PM
emacs problem in shell mode bujecas Slackware 1 10-25-2004 04:37 AM
emacs-21.2 php-mode.el howto ? cicisbeo Linux - Software 1 01-12-2004 08:26 PM
disabling full screen mode for games in WINE tarheel92x Linux - Software 2 10-22-2003 11:09 PM
Disabling GNU Emacs Toolbar and Menubar mayagenesis Linux - Newbie 2 08-05-2003 04:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:25 PM.

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