From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: stig Newsgroups: gmane.emacs.help Subject: different modes for file with same extension? Date: Sat, 21 Sep 2002 22:48:02 +0200 Organization: ABC-Klubben Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: main.gmane.org 1032642385 5857 127.0.0.1 (21 Sep 2002 21:06:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Sep 2002 21:06:25 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17srSK-0001WL-00 for ; Sat, 21 Sep 2002 23:06:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17srSD-0003P6-00; Sat, 21 Sep 2002 17:06:17 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!oden.abc.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: as6-3-5.djh.s.bonet.se Original-X-Trace: oden.abc.se 1032641340 20605 217.215.133.231 (21 Sep 2002 20:49:00 GMT) Original-X-Complaints-To: abuse@abc.se Original-NNTP-Posting-Date: Sat, 21 Sep 2002 20:49:00 +0000 (UTC) User-Agent: KNode/0.7.1 Original-Xref: nntp.stanford.edu gnu.emacs.help:105137 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1691 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1691 Hello is it possible to set up emacs to understand that two files with the same extension are actually written in two different programming languages? perl = .pl prolog = .pl same extensions, but very different code. would it be possible, and in that case how? Stig