all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Wessman <lars.wessman@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: 'initial-major-mode interaction with 'major-mode
Date: Wed, 19 May 2010 12:11:34 -0700 (PDT)	[thread overview]
Message-ID: <e9a75843-f137-4fbc-bae8-07350178fb39@p17g2000vbe.googlegroups.com> (raw)
In-Reply-To: jwvwrv1taqt.fsf-monnier+gnu.emacs.help@gnu.org

On May 18, 5:51 pm, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > Starting with 23.2, we get warned that 'default-major-mode is
> > "obsolete" and that we should use 'text-mode instead when byte
> > compiling .emacs. The only problem is that
>
> default-major-mode was a weird alias for (default-value 'major-mode).
> So (setq default-major-mode <foo>) is the same as
> (setq-default major-mode <foo>).
>
>         Stefan

Thanks Stefan. Have you tested this on your machine (alternating
between default-major-mode and major-mode)? After reading your message
I tried using major-mode again and *scratch* opens up in Fundamental
mode. I switch it back to default-major-mode and *scratch* opens up in
lisp-interaction-mode as specified in 'initial-major-mode.

I'm noticing a difference in behavior between using 'default-major-
mode and 'major-mode, and I'm not hallucinating it. Is it possible
that some other setting is affecting the behavior of one or the other?


  reply	other threads:[~2010-05-19 19:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5602dc29-464a-4ecd-8d5a-364283d479e7@o1g2000vbe.googlegroups.com>
2010-05-18 16:06 ` 'initial-major-mode interaction with 'major-mode Lars Wessman
2010-05-18 16:51 ` Stefan Monnier
2010-05-19 19:11   ` Lars Wessman [this message]
2010-05-20  3:53     ` Stefan Monnier
2010-05-20  9:44       ` Lars Wessman
2010-05-20 11:52         ` Cecil Westerhof
2010-05-20  9:46       ` Lars Wessman
2010-05-20 10:33       ` Lars Wessman

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=e9a75843-f137-4fbc-bae8-07350178fb39@p17g2000vbe.googlegroups.com \
    --to=lars.wessman@gmail.com \
    --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.