Received: (at quiet) by debbugs.gnu.org; 13 Dec 2010 02:13:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 12 21:13:06 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.69)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1PRxuT-0003KF-N4
for submit <at> debbugs.gnu.org; Sun, 12 Dec 2010 21:13:05 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
by debbugs.gnu.org with esmtp (Exim 4.69)
(envelope-from <rgm@HIDDEN>) id 1PRxuR-0003Ji-KP
for quiet <at> debbugs.gnu.org; Sun, 12 Dec 2010 21:13:04 -0500
Received: from localhost ([127.0.0.1]:37960)
by fencepost.gnu.org with esmtp (Exim 4.69)
(envelope-from <rgm@HIDDEN>)
id 1PRy0M-0001ng-I8; Sun, 12 Dec 2010 21:19:10 -0500
To: quiet <at> debbugs.gnu.org
Subject: improve flymake's handling of master files
From: Glenn Morris <rgm@HIDDEN>
X-Spook: JPL AIEWS ASLET Aldergrove freedom lock picking Ansar
X-Ran: n'kC28.-p4y]aIR:}A?o3DS]gmUfG-C;g,AX%rN}Cw81oWcTNS\C);gl&&E{SHGc]eC|?#
X-Hue: cyan
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Sun, 12 Dec 2010 21:19:10 -0500
Message-ID: <7uy67uv2ht.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.2 (------)
X-Debbugs-Envelope-To: quiet
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.2 (------)
Package: emacs
Severity: minor
http://lists.gnu.org/archive/html/emacs-devel/2010-11/msg00962.html
The [0-9]+.tex entry in flymake-allowed-file-name-masks prevents one
from flymaking a standalone tex file that matches that pattern.
A couple of ways in which flymake might be improved:
i) If the first N chars of a file match a given pattern (eg
\begin{document} for tex), assume it is a master file.
ii) Allow a buffer-local variable, flymake-master-file, that can be
either t (this file is a master); or a string giving the name of the
master file. Cf the similar AUCTeX variable, from which it could
inherit in tex files.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.