[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how can I tell emacs to treat a text file as html?
From: |
Joe Corneli |
Subject: |
Re: how can I tell emacs to treat a text file as html? |
Date: |
Fri, 15 Apr 2005 09:44:10 -0500 |
> | > But, note, what you should really do is byte compile the .emacs,
> | > using
> | No. That's almost never a good idea.
> Is it a bad idea, and why?
Maybe you'll never suffer from any bad effect, but since the .emacs file
rarely if ever contains any loop (the only place where byte-compilation of
.emacs has a fighting chance of having a measurable impact on execution
time), it's just not worth the trouble.
As the person who brought forth this mildly contentious and somewhat
silly notion of "byte compiling .emacs", let me just mention that I
(also) always byte compile packages that I write, and that I think
_that_ does have a beneficial effect. The compiler will catch things
like undefined variables & other such bugs that the interpreter
doesn't catch. 'Pon fixing these, the code is improved. The fact
that you _shouldn't_ do this in .emacs (now accepted by me, and I'm
planning on entering a .emacs rehab) sorta/kinda rests on the
principle that there shouldn't be much code in the .emacs anyway (see
another recent thread).
- Re: byte-compiling .emacs (was: how can I tell emacs to treat a text file as html?), (continued)
- Message not available
- Re: byte-compiling .emacs (was: how can I tell emacs to treat a text file as html?), Phillip Lord, 2005/04/11
- Re: byte-compiling .emacs, Jay Belanger, 2005/04/11
- Re: byte-compiling .emacs, Barry Margolin, 2005/04/11
- Re: byte-compiling .emacs, Stefan Monnier, 2005/04/14
- Re: byte-compiling .emacs, Jay Belanger, 2005/04/14
- Re: byte-compiling .emacs, Quokka, 2005/04/11
- Message not available
- Re: how can I tell emacs to treat a text file as html?, Stefan Monnier, 2005/04/14
- Re: how can I tell emacs to treat a text file as html?, Steinar Børmer, 2005/04/15
- Re: how can I tell emacs to treat a text file as html?, Thien-Thi Nguyen, 2005/04/15
- Re: how can I tell emacs to treat a text file as html?, Stefan Monnier, 2005/04/15
- Re: how can I tell emacs to treat a text file as html?,
Joe Corneli <=
- Message not available
- Re: how can I tell emacs to treat a text file as html?, Stefan Monnier, 2005/04/15
- Message not available
- Re: how can I tell emacs to treat a text file as html?, kgold, 2005/04/15