Fundamental mode on first load

Asked by Jimmy Yuen Ho Wong

So I have a small itch I'd like to scratch. I have only 2 lines in my emacs:

(when (load "~/.emacs.d/nxml/rng-auto")
  (load "~/.emacs.d/nxhtml/autostart"))

And then when I load an HTML file in a buffer, before I move my text cursor, I'm still in fundamental-mode. This only happens on the first time I load an HTML file, any subsequent load doesn't have this problem. Is this something that can be fixed?

Question information

Language:
English Edit question
Status:
Solved
For:
nXhtml Edit question
Assignee:
No assignee Edit question
Solved by:
Jimmy Yuen Ho Wong
Solved:
Last query:
Last reply:
Revision history for this message
lborgman (lennart-borgman) said :
#1

Hi Jimmy,

I am not sure.. ;-)

I just tested with both Emacs22 and Emacs23 and I can't reproduce it.

Exactly how do you open the file? What do you get in your *Messages* buffer?

Revision history for this message
Jimmy Yuen Ho Wong (wyuenho) said :
#2

There's no errors in the *Messages* buffer. I just did c-x c-f to open the file in CarbonEmacs. I think this is just CarbonEmacs's weirdness. Vanilla Emacs in the terminal is fine.

Revision history for this message
lborgman (lennart-borgman) said :
#3

Thanks Jimmy.