[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'initial-major-mode interaction with 'major-mode
From: |
Stefan Monnier |
Subject: |
Re: 'initial-major-mode interaction with 'major-mode |
Date: |
Wed, 08 Dec 2010 15:09:06 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> 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