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 15:39:38 -0400 Message-ID: <20050409193938.GA2384@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 1113075635 28327 80.91.229.2 (9 Apr 2005 19:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2005 19:40:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 21:40:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKLoW-000203-Bo for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2005 21:40:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKLOH-0008FL-Ta for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2005 15:13:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKLO0-0008Ew-7U for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 15:12:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKLNy-0008EO-VZ for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 15:12:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKLNy-0008Dz-TW for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 15:12:50 -0400 Original-Received: from [206.191.0.217] (helo=mx1.magmacom.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DKLp8-00050g-9Q for help-gnu-emacs@gnu.org; Sat, 09 Apr 2005 15:40:54 -0400 Original-Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (8.13.0/8.13.0) with ESMTP id j39JdfUp011691 for ; Sat, 9 Apr 2005 15:39:42 -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 j39JdeZY018965 for ; Sat, 9 Apr 2005 15:39:41 -0400 Original-Received: from orchid by lemonjelly with local (Exim 3.35 #1 (Debian)) id 1DKLnu-0000dE-00 for ; Sat, 09 Apr 2005 15:39:38 -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:25517 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25517 On Sat, Apr 09, 2005 at 02:34:26PM -0400, Stefan Monnier wrote: > (add-to-list 'auto-mode-alist '("\\`/tmp/nb_.*\\.txt\\'" . html-mode)) > Stefan, thanks, but where do I place this? ~/.emacs ? I tried it there but it still is not in html-mode when I create a new entry. my status bar says: --uu:**-F1 nb_entry2911.txt (Text Server)--L1--C2--All -- Angelina Carlton