From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan Andersson Newsgroups: gmane.emacs.devel Subject: Start Emacs Lisp mode if Batch script Date: Tue, 16 Feb 2010 18:06:45 +0000 Message-ID: <929ccd881002161006n37b086dbk6aab101859065631@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6d9a317caf833047fbb986b X-Trace: ger.gmane.org 1266343649 31364 80.91.229.12 (16 Feb 2010 18:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2010 18:07:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 16 19:07:27 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NhRpX-0000fJ-0H for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2010 19:07:27 +0100 Original-Received: from localhost ([127.0.0.1]:40467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhRpW-0003Yb-B3 for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2010 13:07:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhRow-00035I-Qi for emacs-devel@gnu.org; Tue, 16 Feb 2010 13:06:50 -0500 Original-Received: from [140.186.70.92] (port=57156 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhRou-00033E-Fs for emacs-devel@gnu.org; Tue, 16 Feb 2010 13:06:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhRot-0006sh-Lo for emacs-devel@gnu.org; Tue, 16 Feb 2010 13:06:48 -0500 Original-Received: from mail-fx0-f215.google.com ([209.85.220.215]:56690) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhRot-0006mf-HZ for emacs-devel@gnu.org; Tue, 16 Feb 2010 13:06:47 -0500 Original-Received: by mail-fx0-f215.google.com with SMTP id 7so6636923fxm.8 for ; Tue, 16 Feb 2010 10:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/lXilh8JqRG2Ck7Oy//gg6zLrCsmnb5K6gXpR+4F2DU=; b=QRzmipzSZG5wvep/TAzQ9znCABeHYTfkjJPTs9FaoONaFlip01IMRYuM9V8dNY+QJw ZRhB8AKkqJpGjgRK3SOEDzVDsGWeenq+e1Kg19DFQm75cJHhzFuuFd4L3ywGb3WGM6vk JyHx9uxNwpi0/g1/Qr01iyWJ2yOCqcmyOrI1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=v9bLSD5M89WwK2Ce7MfL/fyayHuUTjdfJ1WmNpUHvbBG39Wf99K2IkuAUqmZo9fW8J 77yYydQbcjT3KRqQzQDhfHMRpZXKfPv4rvIsTM84Gbr4sQhi1s6eMeX5hYBQ7IpnY2J7 KT6HOgkmAAmRJuqNvwdCIPoQQBAbWF79iXBI4= Original-Received: by 10.216.88.65 with SMTP id z43mr743940wee.5.1266343605892; Tue, 16 Feb 2010 10:06:45 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: news.gmane.org gmane.emacs.devel:121147 Archived-At: --0016e6d9a317caf833047fbb986b Content-Type: text/plain; charset=ISO-8859-1 Hey, (Sorry if I'm posting this in the wrong place) I'm using Emacs batch mode to create some scripts. At the top of the files I have: #!/usr/bin/emacs --script It would be nice if Emacs would recognize this (as it does with for example #/bin/bash) and turn on emacs-lisp-mode. Thanks! --0016e6d9a317caf833047fbb986b Content-Type: text/html; charset=ISO-8859-1 Hey,

(Sorry if I'm posting this in the wrong place)

I'm using Emacs batch mode to create some scripts. At the top of the files I have:
#!/usr/bin/emacs --script

It would be nice if Emacs would recognize this (as it does with for example #/bin/bash) and turn on emacs-lisp-mode.

Thanks!
--0016e6d9a317caf833047fbb986b--