|
From: | Kevin Rodgers |
Subject: | Re: simple editor required |
Date: | Tue, 03 Jun 2003 09:39:56 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Paul Edwards wrote:
"Kevin Dziulko" <dziulko@klaatu.canisius.edu> wrote in message news:mailman.7200.1054643007.21513.help-gnu-emacs@gnu.org...use something like: (setq auto-mode-alist (cons '("\\.c$" . text-mode) auto-mode-alist)) so that visiting *.c files will land you in text-mode.Ok, I'll try that. Can you tell me why these...(setq inhibit-default-init 't) (setq-default default-major-mode 'text-mode)... didn't stop this auto-file-association from happening? I basically don't want emacs to do any junk like that, I'm not interested in its assumptions, I'm after basic editting functions,
Leave default-major-mode as is (fundamental-mode). Instead: (setq auto-mode-alist '() interpreter-mode-alist '())
rather than by default being launched into its weird ideas of what C code should look like (which is probably a style used by less than 10% of C programmers).
Weird is in the eye of the beholder. -- <a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |