From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: how to reference the current *.el file in elisp Date: Wed, 08 Jul 2009 11:30:30 +0200 Organization: Freie Universitaet Berlin Message-ID: <87prcbcyix.wl%anselm.helbig+news2009@googlemail.com> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247046089 25661 80.91.229.12 (8 Jul 2009 09:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 09:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 08 11:41:18 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOTeQ-0003wi-1c for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 11:41:18 +0200 Original-Received: from localhost ([127.0.0.1]:38727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOTeP-00047b-Fq for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 05:41:17 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: news.uni-berlin.de hKz8lTjO/IYdhmBBTp3lkw8/Cqb39gRi8NiL+zrsdVYVfMNq2JgwEeGnx6 Cancel-Lock: sha1:W70Y0sS/wYWSMkz4MVwmUHSj+n4= In-Reply-To: Mail-Followup-To: anselm.helbig+news2009@googlemail.com Original-Xref: news.stanford.edu gnu.emacs.help:170634 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:65836 Archived-At: > No, I want to make a template, e.g., > # Local Variables: > # compile-command: "php --syntax-check LocalSettings.php" > # End: > for some, but not all (hence hook no good) php files, without having to > hardwire the filename. Do you know about flymake? http://www.blik.it/2007/02/21/syntax-checking-for-php-in-emacs/ Regards, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com