* html-helper-mode @ 2006-09-25 13:07 Hadron Quark 2006-09-25 13:15 ` html-helper-mode Hadron Quark 0 siblings, 1 reply; 5+ messages in thread From: Hadron Quark @ 2006-09-25 13:07 UTC (permalink / raw) I added (add-to-list 'auto-mode-alist '("\\.html$" . html-helper-mode)) (add-to-list 'auto-mode-alist '("\\.htm$" . html-helper-mode)) to my .emacs but opening html files leaves my emacs in html-mode and not html-helper mode. Any suggestions? -- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: html-helper-mode 2006-09-25 13:07 html-helper-mode Hadron Quark @ 2006-09-25 13:15 ` Hadron Quark 2006-09-25 13:54 ` html-helper-mode Hadron Quark 0 siblings, 1 reply; 5+ messages in thread From: Hadron Quark @ 2006-09-25 13:15 UTC (permalink / raw) Hadron Quark <hadronquark@gmail.com> writes: > I added > > (add-to-list 'auto-mode-alist '("\\.html$" . html-helper-mode)) > (add-to-list 'auto-mode-alist '("\\.htm$" . html-helper-mode)) > > > to my .emacs but opening html files leaves my emacs in html-mode and not > html-helper mode. > > Any suggestions? I see its a bug: http://groups.google.de/group/linux.debian.bugs.dist/browse_frm/thread/5bfe7a3a006499f8/38fbc534548cad04?lnk=st&q=html-helper-mode&rnum=17#38fbc534548cad04 Anyone have a fix? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: html-helper-mode 2006-09-25 13:15 ` html-helper-mode Hadron Quark @ 2006-09-25 13:54 ` Hadron Quark 2006-09-25 19:02 ` html-helper-mode Kevin Rodgers 0 siblings, 1 reply; 5+ messages in thread From: Hadron Quark @ 2006-09-25 13:54 UTC (permalink / raw) Hadron Quark <hadronquark@gmail.com> writes: > Hadron Quark <hadronquark@gmail.com> writes: > >> I added >> >> (add-to-list 'auto-mode-alist '("\\.html$" . html-helper-mode)) >> (add-to-list 'auto-mode-alist '("\\.htm$" . html-helper-mode)) >> >> >> to my .emacs but opening html files leaves my emacs in html-mode and not >> html-helper mode. >> >> Any suggestions? > > I see its a bug: > > http://groups.google.de/group/linux.debian.bugs.dist/browse_frm/thread/5bfe7a3a006499f8/38fbc534548cad04?lnk=st&q=html-helper-mode&rnum=17#38fbc534548cad04 > > > Anyone have a fix? > Thanks for the poster who pointed me here, http://www.emacswiki.org/cgi-bin/wiki/NxmlMode where I came across the following for my .emacs, (fset 'html-mode 'html-helper-mode) It does the trick. Thanks. -- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: html-helper-mode 2006-09-25 13:54 ` html-helper-mode Hadron Quark @ 2006-09-25 19:02 ` Kevin Rodgers 0 siblings, 0 replies; 5+ messages in thread From: Kevin Rodgers @ 2006-09-25 19:02 UTC (permalink / raw) Hadron Quark wrote: > Thanks for the poster who pointed me here, > > http://www.emacswiki.org/cgi-bin/wiki/NxmlMode > > where I came across the following for my .emacs, > > (fset 'html-mode 'html-helper-mode) The problem is not html-mode, it's magic-mode-alist, so modify that: (let ((magic-mode-assoc (rassq 'html-mode magic-mode-alist))) (when magic-mode-assoc (setcdr magic-mode-assoc 'html-helper-mode))) -- Kevin ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: html-helper-mode @ 2006-09-25 13:55 Bourgneuf Francois 0 siblings, 0 replies; 5+ messages in thread From: Bourgneuf Francois @ 2006-09-25 13:55 UTC (permalink / raw) >> I added >> >> (add-to-list 'auto-mode-alist '("\\.html$" . html-helper-mode)) >> (add-to-list 'auto-mode-alist '("\\.htm$" . html-helper-mode)) >> >> >> to my .emacs but opening html files leaves my emacs in html-mode and not >> html-helper mode. >> >> Any suggestions? > >I see its a bug: > >http://groups.google.de/group/linux.debian.bugs.dist/browse_frm/thread/ 5bfe7a3a006499f8/38fbc534548cad04?lnk=st&q=html-helper-mode&rnum=17#38fb c534548cad04 > > >Anyone have a fix? There is a way you can force a document to be opened in html-helper-mode, just insert <!-- -*-html-helper-*- --> at the top of your html code. I know this is not "THE" solution, it's just a tip. Bour9 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-25 19:02 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-09-25 13:07 html-helper-mode Hadron Quark 2006-09-25 13:15 ` html-helper-mode Hadron Quark 2006-09-25 13:54 ` html-helper-mode Hadron Quark 2006-09-25 19:02 ` html-helper-mode Kevin Rodgers -- strict thread matches above, loose matches on Subject: below -- 2006-09-25 13:55 html-helper-mode Bourgneuf Francois
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.