[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: |
Stefan Monnier |
Subject: |
Re: how can I tell emacs to treat a text file as html? |
Date: |
Fri, 15 Apr 2005 09:36:20 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> | > 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?
Since it requires extra work, I think the more relevant question is "is it
a good idea, why?".
Byte-compilation, like many things creates basically a copy of the source
file (tho in a slightly different form, presumably more efficient).
So there are fundamentally two potential problems:
1 - the act of byte-compiling (can take time, can fail, ...).
2 - the presence of two redundant "copies" which are not kept 100%
automatically in sync.
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.
Stefan
- Re: byte-compiling .emacs, (continued)
- Re: byte-compiling .emacs, Peter Dyballa, 2005/04/11
- 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 <=
- Re: how can I tell emacs to treat a text file as html?, Joe Corneli, 2005/04/15
- 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