GNU bug report logs -
#14992
24.2.91; Initial-major-mode not respected!
Previous Next
Full log
View this message in rfc822 format
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.