From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: oh, Local Variables are for emacs Date: Thu, 04 Jul 2002 13:21:34 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <87u1nggfmi.fsf@jidanni.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1025781814 3145 127.0.0.1 (4 Jul 2002 11:23:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2002 11:23:34 +0000 (UTC) Cc: gnu-emacs-bug@moderators.isc.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Q4hx-0000oc-00 for ; Thu, 04 Jul 2002 13:23:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Q4iV-0007CH-00; Thu, 04 Jul 2002 07:24:07 -0400 Original-Received: from mailbox2.ucsd.edu ([132.239.1.54]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Q4g6-00076f-00 for ; Thu, 04 Jul 2002 07:21:39 -0400 Original-Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by mailbox2.ucsd.edu (8.12.1/8.12.1) with ESMTP id g64BLbnP023453 for ; Thu, 4 Jul 2002 04:21:37 -0700 (PDT) Original-Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 467441447F; Thu, 4 Jul 2002 13:21:36 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: Dan Jacobson X-Yow: I feel like I am sharing a ``CORN-DOG'' with NIKITA KHRUSCHEV.. In-Reply-To: <87u1nggfmi.fsf@jidanni.org> (Dan Jacobson's message of "04 Jul 2002 14:40:37 +0800") Original-Lines: 29 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux) X-MIME-Autoconverted: from 8bit to quoted-printable by mailbox2.ucsd.edu id g64BLbnP023453 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2446 Dan Jacobson writes: |> $ cat .crontab |> 12 6 * * 1-6 echo brush your teeth, etc. |>=20 |> # Local Variables: |> # compile-command: "crontab .crontab" |> # End: |>=20 |> Gentlemen, the average non-emacs user would be google-eyed when he saw |> the mysterious "Local Variables" at the bottom of another's crontab or |> whatever file. Therefore, adding the word "Emacs" |>=20 |> # Emacs Local Variables: |> # compile-command: "crontab .crontab" |> # End: |>=20 |> should be allowed [maybe works already?] It does (RTFM), except that the prefix must match on the other lines as well. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N=FCrnberg Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."