unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs default setup major mode
Date: Sun, 15 Jun 2008 13:37:42 -0500	[thread overview]
Message-ID: <DuWdnUzoMND3_MjVnZ2dnUVZ_i2dnZ2d@sysmatrix.net> (raw)
In-Reply-To: <f9740c46-9779-4809-a550-7936f33e72b2@j33g2000pri.googlegroups.com>

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.


  parent reply	other threads:[~2008-06-15 18:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-15 13:09 emacs default setup major mode xzen
2008-06-15 16:57 ` John Paul Wallington
2008-06-15 18:37 ` B. T. Raven [this message]
2008-06-16 19:05 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DuWdnUzoMND3_MjVnZ2dnUVZ_i2dnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).