[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: |
Pascal Bourguignon |
Subject: |
Re: how can I tell emacs to treat a text file as html? |
Date: |
10 Apr 2005 03:15:15 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Angelina Carlton <brat@magma.ca> writes:
> On Sat, Apr 09, 2005 at 02:34:26PM -0400, Stefan Monnier wrote:
>
> > (add-to-list 'auto-mode-alist '("\\`/tmp/nb_.*\\.txt\\'" . html-mode))
>
> When I wrote the .emacs it didnt work, but upon restarting emacs it
> now does work,
Of course, editing a file doesn't change the state of the running
emacs lisp image. To do that, you must execute the expressions, which
you can do for example with eval-region or eval-last-expression (type:
C-x C-e with the cursor just after the expression to be evaluated).
--
__Pascal Bourguignon__ http://www.informatimago.com/
Small brave carnivores
Kill pine cones and mosquitoes
Fear vacuum cleaner
- how can I tell emacs to treat a text file as html?, Angelina Carlton, 2005/04/09
- Re: how can I tell emacs to treat a text file as html?, Albert Reiner, 2005/04/09
- Re: how can I tell emacs to treat a text file as html?, Pascal Bourguignon, 2005/04/09
- Re: how can I tell emacs to treat a text file as html?, Stefan Monnier, 2005/04/09
- Re: how can I tell emacs to treat a text file as html?, Angelina Carlton, 2005/04/09
- Re: how can I tell emacs to treat a text file as html?, Angelina Carlton, 2005/04/09
- Message not available
- Re: how can I tell emacs to treat a text file as html?,
Pascal Bourguignon <=
- Re: how can I tell emacs to treat a text file as html?, Joe Corneli, 2005/04/10
- Message not available
- byte-compiling .emacs (was: how can I tell emacs to treat a text file as html?), Reiner Steib, 2005/04/11
- Re: byte-compiling .emacs (was: how can I tell emacs to treat a text file as html?), Joe Corneli, 2005/04/11
- Re: byte-compiling .emacs (was: how can I tell emacs to treat a text file as html?), Peter Dyballa, 2005/04/11
- Message not available
- Re: byte-compiling .emacs, David Kastrup, 2005/04/11
- 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