From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14732: Package dos-mode for ELPA Date: Mon, 01 Jul 2013 19:30:31 -0400 Message-ID: References: <83y59qb4xz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372721469 21386 80.91.229.3 (1 Jul 2013 23:31:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 23:31:09 +0000 (UTC) Cc: Arni Magnusson , 14732@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 02 01:31:09 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 1UtnYq-00016l-G9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 01:31:08 +0200 Original-Received: from localhost ([::1]:50336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtnYq-0000bX-4I for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jul 2013 19:31:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtnYm-0000bB-2d for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 19:31:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtnYk-0001ji-7J for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 19:31:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtnYk-0001jU-4l for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 19:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UtnYj-0007c8-T6 for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 19:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jul 2013 23:31:01 +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.137272144129242 (code B ref 14732); Mon, 01 Jul 2013 23:31:01 +0000 Original-Received: (at 14732) by debbugs.gnu.org; 1 Jul 2013 23:30:41 +0000 Original-Received: from localhost ([127.0.0.1]:51216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtnYM-0007bW-Da for submit@debbugs.gnu.org; Mon, 01 Jul 2013 19:30:40 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:44791) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtnYI-0007bM-2k for 14732@debbugs.gnu.org; Mon, 01 Jul 2013 19:30:35 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r61NUV7d026891; Mon, 1 Jul 2013 19:30:32 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 1A5D8AE169; Mon, 1 Jul 2013 19:30:31 -0400 (EDT) In-Reply-To: <83y59qb4xz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Jul 2013 19:50:00 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4626=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4626> : streams <992496> : uri <1464190> 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:75783 Archived-At: >> (1) I would be honored to prepare a patch to improve the syntax >> highlighting of `bat-generic-mode'. This patch would be based on existing >> functionality in `dos-mode' and would provide: >> - highlighting of more commands: at attrib color date dir doskey endlocal >> erase fc find mkdir more move popd pushd rmdir setlocal sort time title >> type xcopy >> - highlighting of more control flow keywords: cmd defined else equ exit >> geq gtr in leq lss neq >> - highlighting of called script: call foo >> - highlighting of %%variable: for %%X in (bark meow) do echo %%X >> - highlighting of defined variable: if defined VAR > I think we prefer this alternative, thanks. Actually, I don't: I really dislike define-generic-mode, so while it's OK to extend bat-generic-mode, the better way to do it is to define it with define-derived-mode (at which point having "generic" in the name makes no sense). Stefan