Romain Francoise wrote:
Ah, thanks Sven. I had missed the connection with `magic-mode-alist' in
this report...
I don't think this is a bug, `magic-mode-alist' *voluntarily* overrides
`auto-mode-alist', it's mentioned in the docstring:
,[ C-h v magic-mode-alist RET ]
|
| Documentation:
|
retitle 370051 html-helper-mode: Should add itself to `magic-mode-alist' too
reassign 370051 html-helper-mode
thanks, control
Sven Joachim [EMAIL PROTECTED] writes:
Now that I learned about magic-mode-alist ;-), that sounds absolutely
right. [...]
I'm afraid my lisp knowledge is too limited
reassign 370051 emacs-snapshot
thanks
Romain Francoise wrote:
reassign 370051 html-helper-mode
quit
Dan Jacobson [EMAIL PROTECTED] writes:
$ emacs-snapshot file.html
will invoke html-helper mode if the file didn't exist before.
But it will invoke plain html mode if the file already exists!
Sven Joachim [EMAIL PROTECTED] writes:
I think this is a bug in emacs-snapshot after all. The problem is
that Emacs is a bit too clever: it sees the file's contents and,
noticing that it is a HTML file (e.g., it has !DOCTYPE HTML ... or
html as first text), decides to put it in html-mode,
Package: emacs-snapshot
Version: 1:20060518-1
Severity: normal
Big problem.
$ emacs-snapshot file.html
will invoke html-helper mode if the file didn't exist before.
But it will invoke plain html mode if the file already exists!
Had to do
(fset 'html-mode 'html-helper-mode)
getting
Loading
reassign 370051 html-helper-mode
quit
Dan Jacobson [EMAIL PROTECTED] writes:
$ emacs-snapshot file.html
will invoke html-helper mode if the file didn't exist before.
But it will invoke plain html mode if the file already exists!
I can reproduce this with html-helper-mode, but not with any of
6 matches
Mail list logo