From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: auto-mode-alist latex-mode Date: Fri, 09 May 2003 13:08:14 -0400 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <200305081300.h48D0U80006554@skjellgran.ii.uib.no> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052500377 23859 80.91.224.249 (9 May 2003 17:12:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 May 2003 17:12:57 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 09 19:12:55 2003 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 19EBQV-0006CX-00 for ; Fri, 09 May 2003 19:12:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19EBRg-0007IW-04 for gnu-bug-gnu-emacs@m.gmane.org; Fri, 09 May 2003 13:14:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19EBPh-0006FX-00 for bug-gnu-emacs@gnu.org; Fri, 09 May 2003 13:12:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19EBMx-00044c-00 for bug-gnu-emacs@gnu.org; Fri, 09 May 2003 13:09:16 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19EBM2-0003Mt-00 for bug-gnu-emacs@gnu.org; Fri, 09 May 2003 13:08:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 19EBLy-0001QH-00; Fri, 09 May 2003 13:08:14 -0400 Original-To: Joakim Hove In-reply-to: <200305081300.h48D0U80006554@skjellgran.ii.uib.no> (message from Joakim Hove on Thu, 8 May 2003 15:00:30 +0200) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4991 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4991 this is not a real bug - rather a suggestion: I would strongly suggest that the default extension binding in auto-mode-alist was such that "\\.tex'" was associated with latex-mode, and *not* tex-mode. The function tex-mode checks the contents of the file to decide whether to use latex-mode or plain-tex-mode. That ought to be correct. Why do you think it is wrong?