From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Patch for tex-mode.el (more compatibility with AUCTeX) Date: Sun, 28 Nov 2004 12:47:04 +0100 Message-ID: References: <200411272340.iARNec4N006202@haifa.math.ias.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101642469 10209 80.91.229.6 (28 Nov 2004 11:47:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2004 11:47:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 28 12:47:44 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CYNWq-0006fj-00 for ; Sun, 28 Nov 2004 12:47:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYNgB-0007OT-Eg for ged-emacs-devel@m.gmane.org; Sun, 28 Nov 2004 06:57:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CYNfq-0007OL-TJ for emacs-devel@gnu.org; Sun, 28 Nov 2004 06:57:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CYNfq-0007O9-DL for emacs-devel@gnu.org; Sun, 28 Nov 2004 06:57:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYNfq-0007O6-B7 for emacs-devel@gnu.org; Sun, 28 Nov 2004 06:57:02 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYNWD-000051-2C for emacs-devel@gnu.org; Sun, 28 Nov 2004 06:47:05 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CYNTr-0005RW-VT; Sun, 28 Nov 2004 06:44:40 -0500 Original-To: Markus Rost In-Reply-To: <200411272340.iARNec4N006202@haifa.math.ias.edu> (Markus Rost's message of "Sat, 27 Nov 2004 18:40:38 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30449 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30449 Markus Rost writes: > Currently tex-mode supports the variable TeX-master (from AUCTeX) if > it is a string. See lines 1694-1698 in tex-mode.el. I suggest to > support the variable TeX-master also if it is set to 't. In that > case the "master" of the file is the file itself, so the right thing > is to run TeX on the buffer's file. What about the following patch > for tex-mode.el? Stefan? > > I have a bunch of old .tex files which have Local Variable sections > created by AUCTeX. The patch would make tex-mode handle those files > better. BTW, while there probably is nothing speaking against that patch, I'd be interested in hearing why you would not go for the obvious "solution", namely just using AUCTeX, which you obviously have been using before at some time. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum