GNU bug report logs - #14992
24.2.91; Initial-major-mode not respected!

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <sva-news <at> mygooglest.com>

Date: Wed, 31 Jul 2013 07:56:01 UTC

Severity: normal

Found in version 24.2.91

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 14992 <at> debbugs.gnu.org (full text, mbox):

From: "Sebastien Vauban" <sva-news <at> mygooglest.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 14992 <at> debbugs.gnu.org
Subject: Re: bug#14992: 24.2.91; Initial-major-mode not respected!
Date: Wed, 31 Jul 2013 15:47:57 +0200
Juanma Barranquero wrote:
> Sebastien Vauban <sva-news <at> mygooglest.com> wrote:
>
>> With the following minimal .emacs file
>
> [...]
>
>> (info) Loading `d:/Users/sva/src/emacs-leuven/.emacs-minimal.el'...done
>
> So, no, you're not using that code as an .emacs file, you're likely doing
>
>   emacs -Q -l .emacs-minimal.el

You're right!

> and, at that point, *scratch* already has been created, in the default
> major mode.
>
> If I put you code on .emacs, I get
>
> (info) Loading `c:/Devel/emacs/test/.emacs'...
> First-change-hook called for temporary buffer ` *temp*' (in
> `fundamental-mode') [9 times]
> First-change-hook called for temporary buffer ` *load*' (in
> `fundamental-mode') [9 times]
> For information about GNU Emacs and the GNU system, type C-h C-a.
> First-change-hook called for temporary buffer `*scratch*' (in
> `fundamental-mode')
> First-change-hook called for temporary buffer `*About GNU Emacs*' (in
> `fundamental-mode')

I thought that the scratch buffer was created at the very end of the
"initialization" (i.e., before giving me the relay).

All of that *now* makes sense.

Thanks for your enlightenment...

Best regards,
  Seb

-- 
Sebastien Vauban




This bug report was last modified 12 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.