all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: 'initial-major-mode interaction with 'major-mode
Date: Wed, 19 May 2010 23:53:44 -0400	[thread overview]
Message-ID: <jwvhbm3mdqt.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: e9a75843-f137-4fbc-bae8-07350178fb39@p17g2000vbe.googlegroups.com

> Thanks Stefan. Have you tested this on your machine (alternating
> between default-major-mode and major-mode)?

Of course.  And I recently rewrote the way default-major-mode works
internally and am responsible for declaring it obsolete.

> 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?

Define "using".  I.e. show us the actual code you tried.
And don't forget that for `major-mode', you need to set it with
`setq-default' rather than with `setq'.


        Stefan


  reply	other threads:[~2010-05-20  3:53 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
2010-05-20  3:53     ` Stefan Monnier [this message]
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=jwvhbm3mdqt.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.