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: longish Local Variables in Files Date: Tue, 24 Aug 2004 17:02:38 -0400 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <873c2ghzoa.fsf@jidanni.org> <878yc53fzp.fsf@jidanni.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1093381472 2586 80.91.224.253 (24 Aug 2004 21:04:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Aug 2004 21:04:32 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 24 23:04:05 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 1BziSa-0006ss-00 for ; Tue, 24 Aug 2004 23:04:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BziX6-0003mD-Ti for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Aug 2004 17:08:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BziWW-0003WQ-39 for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2004 17:08:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BziWU-0003Vo-S4 for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2004 17:08:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BziWU-0003Vl-Nr for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2004 17:08:06 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BziRF-0001CK-BC for bug-gnu-emacs@gnu.org; Tue, 24 Aug 2004 17:02:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BziRC-0003G7-Ic; Tue, 24 Aug 2004 17:02:38 -0400 Original-To: Dan Jacobson In-reply-to: <878yc53fzp.fsf@jidanni.org> (message from Dan Jacobson on Tue, 24 Aug 2004 01:45:46 +0800) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8797 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8797 Well, give it a whirl, pops. C-x C-w ... C-x C-v M-x compile. You'll see that compile will prompt you with a string with the # neatly hidden as an argument to the shell's : operator. I don't know what that operator does. Would this have done the same job? # compile-command: "invoke-rc.d chrony restart && sleep 2 && echo ' #' && grep chrony /var/log/syslog|tail -19" Why didn't you write it as # compile-command: "invoke-rc.d chrony restart && sleep 2 \ && grep chrony /var/log/syslog|tail -19" That seems to work, for me? Is this because you need a # to comment out the second line? How about this? # compile-command: "invoke-rc.d chrony restart && sleep 2`\ #` && grep chrony /var/log/syslog|tail -19"