From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelina Carlton Newsgroups: gmane.emacs.help Subject: Re: how can I tell emacs to treat a text file as html? Date: Sat, 9 Apr 2005 18:30:35 -0400 Message-ID: <20050409223035.GA3360@magma.ca> References: <87wtrbajgq.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113086378 15120 80.91.229.2 (9 Apr 2005 22:39:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2005 22:39:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 10 00:39:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKObs-0001hZ-R9 for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Apr 2005 00:39:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKOBf-0005kd-UU for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2005 18:12:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKOBB-0005go-Jv for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 18:11:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKOB4-0005c1-Eg for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 18:11:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKOB2-0005YH-9y for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 18:11:40 -0400 Original-Received: from [206.191.0.250] (helo=mx2.magma.ca) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DKOUa-0003MY-5G for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 18:31:52 -0400 Original-Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id j39MUbET011864 for ; Sat, 9 Apr 2005 18:30:38 -0400 Original-Received: from lemonjelly (ottawa-hs-64-26-176-100.s-ip.magma.ca [64.26.176.100]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id j39MUaen012940 for ; Sat, 9 Apr 2005 18:30:37 -0400 Original-Received: from orchid by lemonjelly with local (Exim 3.35 #1 (Debian)) id 1DKOTL-0000yf-00 for ; Sat, 09 Apr 2005 18:30:35 -0400 Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87wtrbajgq.fsf-monnier+gnu.emacs.help@gnu.org> User-Agent: Mutt/1.3.28i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25518 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, Thanks alot! -- Angelina Carlton