Bug#370051: emacs-snapshot-x: html-helper mode only invoke on new files

2006-06-21 Thread Sven Joachim
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: |

Bug#370051: emacs-snapshot-x: html-helper mode only invoke on new files

2006-06-21 Thread Romain Francoise
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

Bug#370051: emacs-snapshot-x: html-helper mode only invoke on new files

2006-06-20 Thread Sven Joachim
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!

Bug#370051: emacs-snapshot-x: html-helper mode only invoke on new files

2006-06-20 Thread Romain Francoise
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,

Bug#370051: emacs-snapshot-x: html-helper mode only invoke on new files

2006-06-02 Thread Dan Jacobson
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

Bug#370051: emacs-snapshot-x: html-helper mode only invoke on new files

2006-06-02 Thread Romain Francoise
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