From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Unloading modes (php-mode, sgml-mode, etc)
Date: Thu, 21 Jun 2007 18:56:40 +0200 [thread overview]
Message-ID: <87bqf9nt4n.fsf@baldur.tsdh.de> (raw)
In-Reply-To: 1182440608.411610.85470@q69g2000hsb.googlegroups.com
XheelhookX@gmail.com writes:
> For example every time I emacs a file with a .html extension I get:
>
> "----:---F1 test.html (HTML)--L1--
> All------------------------------------------------------------------
> Loading sgml-mode...done"
>
> How can I unload sgml-mode through my .emacs file?
That's correct behavior. Emacs sees that it's a html file, so it loads
html-mode which is derived from sgml-mode, so it has to load that, too.
Do I get it right that you want emacs to open all files in fundamental
mode and don't want to use any other more specific mode?
Then a solution might be to set `auto-mode-alist' and `magic-mode-alist'
to nil. But I don't see any sense in refusing to use file specific
modes...
Bye,
Tassilo
--
A morning without coffee is like something without something else.
next prev parent reply other threads:[~2007-06-21 16:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 5:06 Unloading modes (php-mode, sgml-mode, etc) kevfinn
2007-06-21 6:52 ` Tassilo Horn
2007-06-21 8:24 ` Tim X
2007-06-21 15:43 ` XheelhookX
2007-06-21 16:56 ` Tassilo Horn [this message]
2007-06-21 17:42 ` XheelhookX
2007-06-21 18:27 ` Tassilo Horn
-- strict thread matches above, loose matches on Subject: below --
2007-06-21 5:43 HeelHook
[not found] <mailman.2510.1182497425.32220.help-gnu-emacs@gnu.org>
2007-06-23 3:00 ` Barry Margolin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bqf9nt4n.fsf@baldur.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).