From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: [tury.peter@gmail.com: add .cmd support to generic-x.el] Date: Sun, 11 Jun 2006 22:52:11 +0200 Message-ID: <448C827B.7090106@student.lu.se> References: <7dbe73ed0606110309r3cbc70b8j474ea1b5ab811f90@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150059154 29307 80.91.229.2 (11 Jun 2006 20:52:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2006 20:52:34 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 11 22:52:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FpWv9-0004Xn-MX for ged-emacs-devel@m.gmane.org; Sun, 11 Jun 2006 22:52:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpWv9-0004rj-8G for ged-emacs-devel@m.gmane.org; Sun, 11 Jun 2006 16:52:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FpWuy-0004rU-5s for emacs-devel@gnu.org; Sun, 11 Jun 2006 16:52:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FpWux-0004rA-0c for emacs-devel@gnu.org; Sun, 11 Jun 2006 16:52:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpWuw-0004r7-RL for emacs-devel@gnu.org; Sun, 11 Jun 2006 16:52:18 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FpX3T-0002vW-9P; Sun, 11 Jun 2006 17:01:07 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.072.1) id 44892B9600091922; Sun, 11 Jun 2006 22:52:11 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: Mathias Dahl In-Reply-To: <7dbe73ed0606110309r3cbc70b8j474ea1b5ab811f90@mail.gmail.com> 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:55837 Archived-At: Mathias Dahl wrote: >> I was told that this is the right address to send such requests to: my >> generic-x.el doesn't know MS Windows' .cmd extension. As far as I know >> this is the same as .bat files, so I added >> "\\.[cC][mM][dD]\\'" >> to the file extension list of bat-generic-mode's define-generic-mode. >> It works now fine for me (as I usually create .cmd files). > > .cmd files has existed as far back as in Windows NT4, maybe even > Windows NT 3.X, so if this extension is not included in generic-x yet, > I think it should be included now. > > Also, there are some differences in how .bat and .cmd files are > handles but I do not remember what it was right now. Maybe it is worth noting that there is a cmd-mode.el available at EmacsWiki. If someone wants to contact the author for papers or other matters, please notice that he does not understand English very well.