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 limi
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:
| Al
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 or
> as first text), decides to put it in html-mode, without even
> loo
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!
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 an
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 html-hel
6 matches
Mail list logo