From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Albert Reiner Newsgroups: gmane.emacs.help Subject: Re: how can I tell emacs to treat a text file as html? Date: 09 Apr 2005 19:27:36 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113067964 7741 80.91.229.2 (9 Apr 2005 17:32:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2005 17:32:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 19:32:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKJoo-0004d4-7G for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2005 19:32:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKJOY-0002Mj-M0 for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2005 13:05:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!irazu.switch.ch!switch.ch!npeer.de.kpn-eurorings.net!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: berry.phys.ntnu.no Original-X-Trace: quimby.gnus.org 1113067656 27616 129.241.48.91 (9 Apr 2005 17:27:36 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 9 Apr 2005 17:27:36 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:129945 Original-To: help-gnu-emacs@gnu.org 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:25508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25508 [Angelina Carlton , Sat, 9 Apr 2005 13:03:08 -0400]: > Is this possible from the command line? Or is there a way to turn on Don't know. > html font locking from inside emacs even if the file is txt? This > would be acceptable if I could bind it to like F8 or something. Does M-x html-mode RET do what you want? HTH, Albert.