From: XheelhookX@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Unloading modes (php-mode, sgml-mode, etc)
Date: Thu, 21 Jun 2007 17:42:54 -0000 [thread overview]
Message-ID: <1182447774.023992.72230@c77g2000hse.googlegroups.com> (raw)
In-Reply-To: <87bqf9nt4n.fsf@baldur.tsdh.de>
On Jun 21, 11:56 am, Tassilo Horn <tass...@member.fsf.org> wrote:
> Xheelho...@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.
Fantastic. Yes, I didn't want to load any modes, just fundamental. I
added these to my .emacs:
(setq auto-mode-alist nil)
(setq magic-mode-alist nil)
and it seems to be working. Thanks a ton, this has been killing me
for ages.
next prev parent reply other threads:[~2007-06-21 17:42 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
2007-06-21 17:42 ` XheelhookX [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1182447774.023992.72230@c77g2000hse.googlegroups.com \
--to=xheelhookx@gmail.com \
--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.
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.