all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rvclayton@verizon.net (R. Clayton)
To: help-gnu-emacs@gnu.org
Subject: Re: Major mode weirdness.
Date: Wed, 13 Jul 2011 16:41:42 -0400	[thread overview]
Message-ID: <87zkkhyku1.fsf@UlanBator.myhome.westell.com> (raw)
In-Reply-To: 87oc0y81tc.wl%v.plechinger@gmail.com

use
(setq default-major-mode 'text-mode)
for all new buffers (initial *scratch* buffer is different though)

  Ah, but that's what started the problem.  I originally had that, but learned,
  via the help-variable documentation, that default-major-mode is obsolete, and
  should be replaced by major-mode:

    default-major-mode is a variable defined in `C source code'.
    Its value is fundamental-mode

      This variable is obsolete since 23.2;
      use `major-mode' instead.

    Documentation:
    *Value of `major-mode' for new buffers.

  Wishing to be up-do-date, I replaced default-major-mode with major-mode, and
  so began my problems (or at least one of them).




  reply	other threads:[~2011-07-13 20:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 15:25 Major mode weirdness R. Clayton
2011-07-13 17:15 ` Daniel Schoepe
2011-07-13 18:37 ` Valentin Plechinger
2011-07-13 20:41   ` R. Clayton [this message]
2011-07-13 21:07     ` Valentin Plechinger
2011-07-13 21:20       ` Daniel Schoepe
2011-07-13 21:37         ` Peter Münster
2011-07-13 21:59         ` PJ Weisberg
2011-07-13 19:42 ` PJ Weisberg

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

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

  git send-email \
    --in-reply-to=87zkkhyku1.fsf@UlanBator.myhome.westell.com \
    --to=rvclayton@verizon.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.