From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arni Magnusson Newsgroups: gmane.emacs.bugs Subject: bug#14732: Package dos-mode for ELPA Date: Sun, 7 Jul 2013 12:34:33 +0000 (GMT) Message-ID: References: <83y59qb4xz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1373200508 7337 80.91.229.3 (7 Jul 2013 12:35:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jul 2013 12:35:08 +0000 (UTC) Cc: 14732@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 07 14:35:08 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UvoBH-0005Zw-Eo for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2013 14:35:07 +0200 Original-Received: from localhost ([::1]:58082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvoBG-0000K3-Ps for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2013 08:35:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvoBE-0000JC-1W for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2013 08:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvoBD-000422-1I for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2013 08:35:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvoBC-00040m-V9 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2013 08:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UvoBC-0005Aw-7v for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2013 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arni Magnusson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jul 2013 12:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14732 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 14732-submit@debbugs.gnu.org id=B14732.137320048719858 (code B ref 14732); Sun, 07 Jul 2013 12:35:02 +0000 Original-Received: (at 14732) by debbugs.gnu.org; 7 Jul 2013 12:34:47 +0000 Original-Received: from localhost ([127.0.0.1]:36554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvoAw-0005AB-7s for submit@debbugs.gnu.org; Sun, 07 Jul 2013 08:34:46 -0400 Original-Received: from hafgarpur.hafro.is ([130.208.64.48]:42661) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvoAt-00059r-6a for 14732@debbugs.gnu.org; Sun, 07 Jul 2013 08:34:44 -0400 X-Virus-Scanned: amavisd-new at hafro.is Original-Received: from hafstokkur.hafro.is (hafstokkur [130.208.66.45]) by hafgarpur.hafro.is (8.14.2/8.14.2/hafro-2.47) with ESMTP id r67CYZsm016563; Sun, 7 Jul 2013 12:34:35 GMT Original-Received: from hafstokkur.hafro.is (localhost [127.0.0.1]) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-1.6) with ESMTP id r67CYYYH019889; Sun, 7 Jul 2013 12:34:34 GMT Original-Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r67CYXAR019885; Sun, 7 Jul 2013 12:34:34 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs In-Reply-To: User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76036 Archived-At: As suggested by Stefan, I have defined an improved mode for editing Dos scripts using `define-derived-mode'. I have uploaded it to http://www.emacswiki.org/emacs/download/dos.el The new `dos-mode' is a complete rewrite of my old one, considerably simplified (now 5857 bytes) after stripping away features that probably belong in user hooks. As indicated by the header comment "This file is part of GNU Emacs.", I am hoping that `dos-mode' will be incorporated into core Emacs, inside lisp/progmodes. The old `bat-generic-mode' could link to `dos-mode' in the same way as `javascript-generic-mode' links to `js-mode'. Please feel free to make any modifications or suggestions. Arni