help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs default setup major mode


From: B. T. Raven
Subject: Re: emacs default setup major mode
Date: Sun, 15 Jun 2008 13:37:42 -0500
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

xzen wrote:
how can i change default-major-mode to text-mode. i write (setq
default-major-mode 'text-mode) to /root/.emacs, but when after start
emacs, it still is lisp-interaction. the version of emacs is 22.2

That's normal if you're in the *scratch* buffer. If you do C-x C-f and then supply a file name without any extension (say "junk") then that new buffer will be (Text) instead of (Fundamental). If you name the new empty file "junk.lsp" then the mode will be (Lisp) instead of (Lisp Interactive). The buffers that are generated automatically by Emacs are special and are opened in the appropriate mode.


Ed

p.s. You can set things like this through Options > Customize Emacs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]