From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 12:15:44 2013 Received: (at submit) by debbugs.gnu.org; 27 Jun 2013 16:15:44 +0000 Received: from localhost ([127.0.0.1]:45422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UsErI-0003w6-0o for submit@debbugs.gnu.org; Thu, 27 Jun 2013 12:15:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48545) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UsErE-0003vr-QC for submit@debbugs.gnu.org; Thu, 27 Jun 2013 12:15:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsEr7-0002Uk-Ew for submit@debbugs.gnu.org; Thu, 27 Jun 2013 12:15:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_20, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsEr7-0002Ug-Cp for submit@debbugs.gnu.org; Thu, 27 Jun 2013 12:15:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsEr6-0007x2-6B for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 12:15:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsEr4-0002U0-Un for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 12:15:32 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:52585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsEr4-0002SO-KO for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 12:15:30 -0400 X-Virus-Scanned: amavisd-new at hafro.is 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 r5RGFLo0003712 for ; Thu, 27 Jun 2013 16:15:22 GMT 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 r5RGFLIt011685 for ; Thu, 27 Jun 2013 16:15:21 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r5RGFLlo011681 for ; Thu, 27 Jun 2013 16:15:21 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Thu, 27 Jun 2013 16:15:21 +0000 (GMT) From: Arni Magnusson To: bug-gnu-emacs@gnu.org Subject: Package dos-mode for ELPA Message-ID: User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Dear ELPA maintainers, I would like to submit http://www.emacswiki.org/emacs/download/dos-indent.el to the ELPA repository. Please advise whether I can help with the procedure. Thanks, Arni From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 13:40:29 2013 Received: (at 14732) by debbugs.gnu.org; 27 Jun 2013 17:40:29 +0000 Received: from localhost ([127.0.0.1]:45584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UsGBI-0008Le-RI for submit@debbugs.gnu.org; Thu, 27 Jun 2013 13:40:29 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:64091) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UsGBE-0008L9-BX for 14732@debbugs.gnu.org; Thu, 27 Jun 2013 13:40:25 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MP200800BNICR00@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Thu, 27 Jun 2013 20:40:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP200836BR36Z70@a-mtaout22.012.net.il>; Thu, 27 Jun 2013 20:40:15 +0300 (IDT) Date: Thu, 27 Jun 2013 20:40:12 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Arni Magnusson Message-id: <83sj03fo5f.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 27 Jun 2013 16:15:21 +0000 (GMT) > From: Arni Magnusson > > I would like to submit > > http://www.emacswiki.org/emacs/download/dos-indent.el > > to the ELPA repository. Please advise whether I can help with the > procedure. Thank you. I would like to comment on this package: . it calls itself dos.el inside the source . why not add this stuff to the existing bat-generic mode? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 30 21:00:17 2013 Received: (at 14732) by debbugs.gnu.org; 1 Jul 2013 01:00:17 +0000 Received: from localhost ([127.0.0.1]:49554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtSTX-0001Oe-JN for submit@debbugs.gnu.org; Sun, 30 Jun 2013 21:00:16 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:33092) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtSTT-0001Ny-VP for 14732@debbugs.gnu.org; Sun, 30 Jun 2013 21:00:13 -0400 X-Virus-Scanned: amavisd-new at hafro.is 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 r61103Ot028153; Mon, 1 Jul 2013 01:00:03 GMT 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 r61103LO022443; Mon, 1 Jul 2013 01:00:03 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r611029R022440; Mon, 1 Jul 2013 01:00:02 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Mon, 1 Jul 2013 01:00:02 +0000 (GMT) From: Arni Magnusson To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14732 Cc: 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Thank you for the feedback. I did indeed paste the wrong URL - the correct one is: http://www.emacswiki.org/emacs/download/dos.el As for the second point (why not add to `bat-generic-mode'), I have two answers, so please pick the one you prefer: (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 (2) There is more to `dos-mode' than syntax highlighting. Perhaps it would make Emacs users happy to introduce progmodes/dos.el and obsolete `bat-generic-mode' in the same elegant way as `javascript-generic-mode' invokes `js-mode'. This would provide users with a dedicated menu, providing helpful commands like `dos-help-cmd', `dos-run-args', and `dos-template'. This might also make it easier for users to discover this functionality in Emacs. Notice that for over 4 years, there has been a discussion on http://www.emacswiki.org/emacs/DosScripts, without anyone mentioning `bat-generic-mode', perhaps because they were not aware of its existence. When writing `dos-mode' I tried to follow the examples set by flagship modes like c-mode, emacs-lisp-mode, and fortran-mode. I would be happy to make any changes that the Emacs core developers suggest. All the best, Arni On Thu, 27 Jun 2013, Eli Zaretskii wrote: Thank you. I would like to comment on this package: . it calls itself dos.el inside the source . why not add this stuff to the existing bat-generic mode? On Thu, 27 Jun 2013, Arni Magnusson wrote: > I would like to submit > > http://www.emacswiki.org/emacs/download/dos-indent.el > > to the ELPA repository. Please advise whether I can help with the > procedure. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 06:44:41 2013 Received: (at 14732) by debbugs.gnu.org; 1 Jul 2013 10:44:41 +0000 Received: from localhost ([127.0.0.1]:49879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Utbb6-0000Ru-KI for submit@debbugs.gnu.org; Mon, 01 Jul 2013 06:44:40 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:43551) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Utbb2-0000RY-UI for 14732@debbugs.gnu.org; Mon, 01 Jul 2013 06:44:38 -0400 X-Virus-Scanned: amavisd-new at hafro.is 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 r61AiTms010125; Mon, 1 Jul 2013 10:44:29 GMT 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 r61AiTvV029016; Mon, 1 Jul 2013 10:44:29 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r61AiS8K029012; Mon, 1 Jul 2013 10:44:28 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Mon, 1 Jul 2013 10:44:28 +0000 (GMT) From: Arni Magnusson To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-Reply-To: Message-ID: References: User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14732 Cc: 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) I just committed some minor improvements to http://www.emacswiki.org/emacs/dos.el. From the ;;; History section: ;; 1 Ju1 2013 2.20 Renamed user function `dos-help-cmd' to ;; `dos-cmd-help', and `dos-help-mode' to ;; `dos-mode-help'. Improved `dos-cmd-help'. ;; Added keywords "net" and "rename". ;; Improved documentation. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 12:50:49 2013 Received: (at 14732) by debbugs.gnu.org; 1 Jul 2013 16:50:49 +0000 Received: from localhost ([127.0.0.1]:50663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UthJQ-0001XT-GV for submit@debbugs.gnu.org; Mon, 01 Jul 2013 12:50:49 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:37985) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UthJN-0001Wn-FL for 14732@debbugs.gnu.org; Mon, 01 Jul 2013 12:50:47 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MP900100O1WJG00@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Mon, 01 Jul 2013 19:50:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP90018KO3P4RC0@a-mtaout22.012.net.il>; Mon, 01 Jul 2013 19:50:13 +0300 (IDT) Date: Mon, 01 Jul 2013 19:50:00 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Arni Magnusson Message-id: <83y59qb4xz.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 1 Jul 2013 01:00:02 +0000 (GMT) > From: Arni Magnusson > cc: 14732@debbugs.gnu.org > > As for the second point (why not add to `bat-generic-mode'), I have two > answers, so please pick the one you prefer: > > > (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. However, to accept such changes into Emacs, you will need to do legal paperwork, as I don't see your assignment for Emacs on file at this time. > (2) There is more to `dos-mode' than syntax highlighting. Perhaps it would > make Emacs users happy to introduce progmodes/dos.el and obsolete > `bat-generic-mode' in the same elegant way as `javascript-generic-mode' > invokes `js-mode'. There's no need to obsolete a mode, as it isn't doing anything wrong. It just has only a small number of features. > This might also make it easier for users to discover this functionality in > Emacs. Notice that for over 4 years, there has been a discussion on > http://www.emacswiki.org/emacs/DosScripts, without anyone mentioning > `bat-generic-mode', perhaps because they were not aware of its existence. Then I guess we will have to make a better marketing effort this time. For example, we could make bat-generic-mode be the default mode for Windows batch files, which will make users acutely aware of it. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 19:30:41 2013 Received: (at 14732) by debbugs.gnu.org; 1 Jul 2013 23:30:41 +0000 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 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 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 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 1A5D8AE169; Mon, 1 Jul 2013 19:30:31 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> Date: Mon, 01 Jul 2013 19:30:31 -0400 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) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> (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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 20:12:55 2013 Received: (at 14732) by debbugs.gnu.org; 2 Jul 2013 00:12:55 +0000 Received: from localhost ([127.0.0.1]:51285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtoDH-00009X-Bl for submit@debbugs.gnu.org; Mon, 01 Jul 2013 20:12:55 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:60597) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtoDE-00009F-Dj for 14732@debbugs.gnu.org; Mon, 01 Jul 2013 20:12:53 -0400 X-Virus-Scanned: amavisd-new at hafro.is 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 r620Ch3e001194; Tue, 2 Jul 2013 00:12:43 GMT 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 r620CgZs039952; Tue, 2 Jul 2013 00:12:42 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r620CfF9039949; Tue, 2 Jul 2013 00:12:42 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Tue, 2 Jul 2013 00:12:41 +0000 (GMT) From: Arni Magnusson To: Stefan Monnier Subject: Re: bug#14732: Package dos-mode for ELPA In-Reply-To: Message-ID: References: <83y59qb4xz.fsf@gnu.org> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > However, to accept such changes into Emacs, you will need to do legal > paperwork Great. I have signed an FSF agreement regarding Texinfo, and I'm more than willing to do the same for Emacs. If bolstering `bat-generic-mode' is not the best option, I would be equally happy to prepare a derived mode and call it something like `bat-mode' or `dos-mode'. If we select the best parts from my current http://www.emacswiki.org/emacs/download/dos.el, I will scrap the old remains, so we probably wouldn't have to worry about a name clash. It seems like deriving from `prog-mode' might be a good design option, since that's what `sh-mode' is derived from. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 07 08:34:47 2013 Received: (at 14732) by debbugs.gnu.org; 7 Jul 2013 12:34:47 +0000 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 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 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 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 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 Date: Sun, 7 Jul 2013 12:34:33 +0000 (GMT) From: Arni Magnusson To: Stefan Monnier Subject: Re: bug#14732: Package dos-mode for ELPA In-Reply-To: Message-ID: References: <83y59qb4xz.fsf@gnu.org> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 20:43:14 2013 Received: (at 14732) by debbugs.gnu.org; 10 Jul 2013 00:43:14 +0000 Received: from localhost ([127.0.0.1]:43698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwiUz-0001Mc-HO for submit@debbugs.gnu.org; Tue, 09 Jul 2013 20:43:13 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:43739) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwiUx-0001M9-2U for 14732@debbugs.gnu.org; Tue, 09 Jul 2013 20:43:12 -0400 X-Virus-Scanned: amavisd-new at hafro.is 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 r6A0h2D3000425; Wed, 10 Jul 2013 00:43:03 GMT 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 r6A0h2oG065436; Wed, 10 Jul 2013 00:43:02 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r6A0h16a065432; Wed, 10 Jul 2013 00:43:02 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Wed, 10 Jul 2013 00:43:01 +0000 (GMT) From: Arni Magnusson To: Stefan Monnier Subject: Re: bug#14732: Package dos-mode for ELPA In-Reply-To: Message-ID: References: <83y59qb4xz.fsf@gnu.org> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Would it be better if I submit/test the proposed dos.el in some other way? I have not used bzr or Savannah, but I see there are instructions online. I'll be attending a statistics conference in Boston next week, and I'd be happy to drop by the FSF office to assign the copyright to them. Arni From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 04 20:17:05 2013 Received: (at 14732) by debbugs.gnu.org; 5 Aug 2013 00:17:05 +0000 Received: from localhost ([127.0.0.1]:40340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V68Tw-0003iz-7F for submit@debbugs.gnu.org; Sun, 04 Aug 2013 20:17:04 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:30522) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V68Tt-0003iN-Jl for 14732@debbugs.gnu.org; Sun, 04 Aug 2013 20:17:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxKix/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kEwmIAgYMsFaQS40Pg3sDhEqNdhsDkhyBXoMTgVM X-IPAS-Result: Av4EABK/CFFFxKix/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kEwmIAgYMsFaQS40Pg3sDhEqNdhsDkhyBXoMTgVM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20567756" Received: from 69-196-168-177.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.177]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Aug 2013 20:16:48 -0400 Received: by pastel.home (Postfix, from userid 20848) id C41E362DAB; Sun, 4 Aug 2013 20:16:54 -0400 (EDT) From: Stefan Monnier To: Arni Magnusson Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> Date: Sun, 04 Aug 2013 20:16:54 -0400 In-Reply-To: (Arni Magnusson's message of "Tue, 2 Jul 2013 00:12:41 +0000 (GMT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) [ Slowly going back over some of that email backlog. ] > http://www.emacswiki.org/emacs/download/dos.el Thanks you. The code looks ready for ELPA (I'd use call-process a bit more often than shell-command, to avoid quoting issues, tho). It would be nice to add some SMIE support to it. >> However, to accept such changes into Emacs, you will need to do legal >> paperwork > Great. I have signed an FSF agreement regarding Texinfo, and I'm more than > willing to do the same for Emacs. Have you started this process? If not, then please fill the form below and email it as instructed so the FSF can send you the relevant paperwork to sign. Stefan Please email the following information to assign@gnu.org, and we will send you the assignment form for your past and future changes. Please use your full legal name (in ASCII characters) as the subject line of the message. ---------------------------------------------------------------------- REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES [What is the name of the program or package you're contributing to?] Emacs [Did you copy any files or text written by someone else in these changes? Even if that material is free software, we need to know about it.] [Do you have an employer who might have a basis to claim to own your changes? Do you attend a school which might make such a claim?] [For the copyright registration, what country are you a citizen of?] [What year were you born?] [Please write your email address here.] [Please write your postal address here.] [Which files have you changed so far, and which new files have you written so far?] From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 04 22:20:55 2013 Received: (at 14732) by debbugs.gnu.org; 5 Aug 2013 02:20:56 +0000 Received: from localhost ([127.0.0.1]:40429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6APn-0001wy-ET for submit@debbugs.gnu.org; Sun, 04 Aug 2013 22:20:55 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:63456) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6APk-0001wM-CM for 14732@debbugs.gnu.org; Sun, 04 Aug 2013 22:20:53 -0400 X-Virus-Scanned: amavisd-new at hafro.is 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 r752KhGM013739; Mon, 5 Aug 2013 02:20:43 GMT 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 r752KhKr055813; Mon, 5 Aug 2013 02:20:43 GMT Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.7/8.14.6/hafro-0.3) with ESMTP id r752Kf9b055810; Mon, 5 Aug 2013 02:20:42 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs Date: Mon, 5 Aug 2013 02:20:41 +0000 (GMT) From: Arni Magnusson To: Stefan Monnier Subject: Re: bug#14732: Package dos-mode for ELPA In-Reply-To: Message-ID: References: <83y59qb4xz.fsf@gnu.org> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Stefan, Do you think that `dos-mode' could perhaps make it to Emacs core (i.e. lisp/progmodes) instead of becoming an optional ELPA download? The current `bat-generic-mode' provides surprisingly limited syntax-highlighting, and earlier we discussed that instead of submitting a patch for the generic mode, it would be better if I rewrite it as a derived mode. While doing that, my design goal was to write a minimalistic replacement of `bat-generic-mode' with the following improvements: - 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 studied other code inside progmodes to use a similar style, both internally and in the user interface, which has a menu with a few basic but useful commands. At 6333 bytes, I think it is a substantial improvement in Emacs support for Dos scripts. I believe it would make many Emacs users happy to have `auto-mode-alist' turn on `dos-mode' for the "bat" filename extension. Actually, the net increase in code should be less than 6333 bytes, because almost all remnants of `bat-generic-mode' could be deleted. An analogous improvement was when `js-mode' replaced the old `javascript-generic-mode'. I would of course be fine with `dos-mode' being an ELPA package (my initial proposal), but I just think Emacs should out-of-the-box have slightly better support for editing Dos scripts. They are an unpopular but necessary part of many free software projects, and developers would appreciate to at least see the common Dos keywords colored. Perhaps ELPA could be a stepping stone towards the venerable progmodes? A kind of a review process and a general call for a SMIE patch? In that case, we should probably change the header comment "This file is part of GNU Emacs". Just to be explicit, I'm happy to have the Emacs developers make any changes to the proposed http://www.emacswiki.org/emacs/download/dos.el. All the best, Arni P.S. I have received and signed the copyright assignment, and mailed it to the Assignment Administrator (D. Robertson) on 25 July. On Sun, 4 Aug 2013, Stefan Monnier wrote: > [ Slowly going back over some of that email backlog. ] > >> http://www.emacswiki.org/emacs/download/dos.el > > Thanks you. The code looks ready for ELPA (I'd use call-process a bit > more often than shell-command, to avoid quoting issues, tho). > > It would be nice to add some SMIE support to it. > >>> However, to accept such changes into Emacs, you will need to do legal >>> paperwork >> >> Great. I have signed an FSF agreement regarding Texinfo, and I'm more >> than willing to do the same for Emacs. > > Have you started this process? If not, then please fill the form below > and email it as instructed so the FSF can send you the relevant > paperwork to sign. > > > Stefan > From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 06 17:00:45 2013 Received: (at 14732) by debbugs.gnu.org; 6 Aug 2013 21:00:46 +0000 Received: from localhost ([127.0.0.1]:43761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6oN3-0005q4-5W for submit@debbugs.gnu.org; Tue, 06 Aug 2013 17:00:45 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:32785) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6oMy-0005pR-LJ for 14732@debbugs.gnu.org; Tue, 06 Aug 2013 17:00:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GsR+QDpEKA5JbA5IcgV6DEw X-IPAS-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GsR+QDpEKA5JbA5IcgV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20709257" Received: from 75-119-243-106.dsl.teksavvy.com (HELO ceviche.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Aug 2013 17:00:27 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 30C1366100; Tue, 6 Aug 2013 17:00:34 -0400 (EDT) From: Stefan Monnier To: Arni Magnusson Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> Date: Tue, 06 Aug 2013 17:00:34 -0400 In-Reply-To: (Arni Magnusson's message of "Mon, 5 Aug 2013 02:20:41 +0000 (GMT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Do you think that `dos-mode' could perhaps make it to Emacs core > (i.e. lisp/progmodes) instead of becoming an optional ELPA download? Oh, yes, right, that was the plan. > P.S. I have received and signed the copyright assignment, and mailed it to > the Assignment Administrator (D. Robertson) on 25 July. Great, so we're just waiting for the paperwork to get through. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 11:54:15 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 15:54:15 +0000 Received: from localhost ([127.0.0.1]:45714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V763y-0006Vn-Il for submit@debbugs.gnu.org; Wed, 07 Aug 2013 11:54:15 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:33084) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V763u-0006V9-8a for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 11:54:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IfAQVWIxALLQcSFBgNJIgkwS2NVYM1A5JbA5IcgV6DE4FTgTI X-IPAS-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IfAQVWIxALLQcSFBgNJIgkwS2NVYM1A5JbA5IcgV6DE4FTgTI X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20831476" Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 11:53:56 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0EF7166AF2; Wed, 7 Aug 2013 11:54:02 -0400 (EDT) From: Stefan Monnier To: Arni Magnusson Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> Date: Wed, 07 Aug 2013 11:54:02 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 06 Aug 2013 17:00:34 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Eli Zaretskii , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) OK, so I just installed your code into trunk. Thank you. I also added the patch below to it. I recommend you check my patch (100% untested), especially the FIXMEs. Also, I wonder now if we shouldn't rename it to bat-mode. After all, I expect most users of this mode don't use DOS, many of them may not even know what DOS really is. And the old name was bat-generic-mode. Send patches to bug-gnu-emacs, and/or ask write-access to the repository (by requesting the become a member of the "emacs" group from your savannah account). Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 12:07:56 2013 Received: (at control) by debbugs.gnu.org; 7 Aug 2013 16:07:56 +0000 Received: from localhost ([127.0.0.1]:45766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V76HD-00072J-6M for submit@debbugs.gnu.org; Wed, 07 Aug 2013 12:07:55 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:38530 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V76HA-000724-5W for control@debbugs.gnu.org; Wed, 07 Aug 2013 12:07:52 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V76H9-0002lI-UB for control@debbugs.gnu.org; Wed, 07 Aug 2013 12:07:51 -0400 Date: Wed, 07 Aug 2013 12:07:51 -0400 Message-Id: Subject: control message for bug 14732 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) close 14732 24.4 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 12:14:15 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 16:14:16 +0000 Received: from localhost ([127.0.0.1]:45783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V76NK-0007G6-PB for submit@debbugs.gnu.org; Wed, 07 Aug 2013 12:14:15 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:44503) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V76NH-0007Fo-Bc for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 12:14:12 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MR600C004ZWYU00@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 19:14:04 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MR600CJ553GX330@a-mtaout22.012.net.il>; Wed, 07 Aug 2013 19:14:04 +0300 (IDT) Date: Wed, 07 Aug 2013 19:14:16 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83bo59v5pj.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: arnima@hafro.is, 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: Eli Zaretskii , 14732@debbugs.gnu.org > Date: Wed, 07 Aug 2013 11:54:02 -0400 > > OK, so I just installed your code into trunk. Thank you. > I also added the patch below to it. I found no patch attached. > Also, I wonder now if we shouldn't rename it to bat-mode. Definitely. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 13:27:29 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 17:27:30 +0000 Received: from localhost ([127.0.0.1]:45858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V77WC-0002Q0-T9 for submit@debbugs.gnu.org; Wed, 07 Aug 2013 13:27:29 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:7788) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V77WA-0002PS-4W for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 13:27:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSQTiAsGwS2RCgOSWwOSHIFegxM X-IPAS-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSQTiAsGwS2RCgOSWwOSHIFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20859342" Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 13:27:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id B328F66AF2; Wed, 7 Aug 2013 13:27:19 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> <83bo59v5pj.fsf@gnu.org> Date: Wed, 07 Aug 2013 13:27:19 -0400 In-Reply-To: <83bo59v5pj.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Aug 2013 19:14:16 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: arnima@hafro.is, 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> OK, so I just installed your code into trunk. Thank you. >> I also added the patch below to it. > I found no patch attached. What are you, blind? Look again! Stefan "Geez!" === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2013-08-07 15:43:57 +0000 +++ lisp/ChangeLog 2013-08-07 15:50:16 +0000 @@ -1,3 +1,10 @@ +2013-08-07 Stefan Monnier + + * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode. + (dos-mode): Use setq-local. Add space after "rem". + (dos-mode-syntax-table): Don't use "w" for symbol chars. + (dos-font-lock-keywords): Try to adjust font-lock rules accordingly. + 2013-08-07 Arni Magnusson * progmodes/dos.el: New file. === modified file 'lisp/progmodes/dos.el' --- lisp/progmodes/dos.el 2013-08-07 15:43:57 +0000 +++ lisp/progmodes/dos.el 2013-08-07 15:50:16 +0000 @@ -79,24 +79,25 @@ "goto" "gtr" "if" "in" "leq" "lss" "neq" "not" "start")) (LINUX '("cat" "cp" "ls" "mv" "rm"))) - (list - '("\\<\\(call\\|goto\\)\\>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?" + `(("\\<_\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?" (2 font-lock-constant-face t)) - '("^[ \t]*\\(@?rem\\>\\|::\\).*" + ("^[ \t]*\\(@?rem\\_>\\|::\\).*" (0 font-lock-comment-face t)) - '("^:[^:].*" + ("^:[^:].*" . 'dos-label-face) - '("\\<\\(defined\\|set\\)\\>[ \t]*\\(\\w+\\)" + ("\\<_\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)" (2 font-lock-variable-name-face)) - '("%\\(\\w+\\)%?" + ("%\\(\\w+\\)%?" (1 font-lock-variable-name-face)) - '("!\\(\\w+\\)!?" ; delayed-expansion !variable! + ("!\\(\\w+\\)!?" ; delayed-expansion !variable! (1 font-lock-variable-name-face)) - '("[ =][-/]+\\(\\w+\\)" + ("[ =][-/]+\\(\\w+\\)" (1 font-lock-type-face append)) - (cons (regexp-opt COMMANDS 'words) font-lock-builtin-face) - (cons (regexp-opt CONTROLFLOW 'words) font-lock-keyword-face) - (cons (regexp-opt LINUX 'words) font-lock-warning-face))))) + (,(concat "\\_<" (regexp-opt COMMANDS) "\\_>") . font-lock-builtin-face) + (,(concat "\\_<" (regexp-opt CONTROLFLOW) "\\_>") + . font-lock-keyword-face) + (,(concat "\\_<" (regexp-opt LINUX) "\\_>") + . font-lock-warning-face))))) (defvar dos-menu '("Dos" @@ -114,7 +115,7 @@ (let ((map (make-sparse-keymap))) (easy-menu-define nil map nil dos-menu) (define-key map [?\C-c ?\C-.] 'dos-mode-help) - (define-key map [?\C-c ?\C-/] 'dos-cmd-help) + (define-key map [?\C-c ?\C-/] 'dos-cmd-help) ;FIXME: Why not C-c C-? ? (define-key map [?\C-c ?\C-a] 'dos-run-args) (define-key map [?\C-c ?\C-c] 'dos-run) (define-key map [?\C-c ?\C-t] 'dos-template) @@ -123,21 +124,24 @@ (defvar dos-mode-syntax-table (let ((table (make-syntax-table))) - (modify-syntax-entry ?~ "w" table) + ;; Beware: `w' should not be used for non-alphabetic chars. + (modify-syntax-entry ?~ "_" table) (modify-syntax-entry ?% "." table) - (modify-syntax-entry ?- "w" table) - (modify-syntax-entry ?_ "w" table) - (modify-syntax-entry ?{ "w" table) - (modify-syntax-entry ?} "w" table) + (modify-syntax-entry ?- "_" table) + (modify-syntax-entry ?_ "_" table) + ;; FIXME: { and } can appear in identifiers? Really? + (modify-syntax-entry ?{ "_" table) + (modify-syntax-entry ?} "_" table) (modify-syntax-entry ?\\ "." table) table)) ;; 4 User functions (defun dos-cmd-help (cmd) - "Show help for Dos command." + "Show help for Dos command CMD." (interactive "sHelp: ") (if (string-equal cmd "net") + ;; FIXME: liable to quoting nightmare. Use call-process? (shell-command "net /?") (shell-command (concat "help " cmd)))) (defun dos-mode-help () @@ -149,11 +153,13 @@ (defun dos-run () "Run Dos script." (interactive) + ;; FIXME: liable to quoting nightmare. Use call/start-process? (save-buffer) (shell-command buffer-file-name)) (defun dos-run-args (args) "Run Dos script with ARGS." (interactive "sArgs: ") + ;; FIXME: Use `compile'? (shell-command (concat buffer-file-name " " args))) (defun dos-template () @@ -161,6 +167,9 @@ (interactive) (goto-char (point-min)) (insert "@echo off\nsetlocal\n\n")) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.\\(bat\\|cmd\\)\\'" . dos-mode)) + ;; 5 Main function ;;;###autoload @@ -171,12 +180,11 @@ `dos-cmd-help'. Navigate between sections using `imenu'. Run script using `dos-run' and `dos-run-args'.\n \\{dos-mode-map}" - (set (make-local-variable 'comment-start) "rem") - (set (make-local-variable 'font-lock-defaults) + (setq-local comment-start "rem ") + (setq-local font-lock-defaults '(dos-font-lock-keywords nil t)) ; case-insensitive keywords - (set (make-local-variable 'imenu-generic-expression) '((nil "^:[^:].*" 0))) - (set (make-local-variable 'outline-regexp) ":[^:]") - (set-syntax-table dos-mode-syntax-table)) + (setq-local imenu-generic-expression '((nil "^:[^:].*" 0))) + (setq-local outline-regexp ":[^:]")) (provide 'dos) From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 13:27:31 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 17:27:31 +0000 Received: from localhost ([127.0.0.1]:45860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V77WE-0002QD-Tm for submit@debbugs.gnu.org; Wed, 07 Aug 2013 13:27:31 -0400 Received: from mail-ea0-f172.google.com ([209.85.215.172]:51962) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V77WC-0002Pd-Ei for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 13:27:28 -0400 Received: by mail-ea0-f172.google.com with SMTP id r16so980974ead.31 for <14732@debbugs.gnu.org>; Wed, 07 Aug 2013 10:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4bcvP1p+/73wxMbzlVHiDB1ePOe8NFYGV8psR1bU5UY=; b=QS1VnJL7jFqOYnCruNxkhZt+wZZW9DIOGbGjiRe0YOJInwA8GcVhPfWEgBhJg/AYTu Ps/ut8UAq2y/zVBrSJfSAv1ULfPHuRFy0ObDHlMLr29n4EUoLemsUj1hkJIE789dj8AM 1dyuD8fE5XGjSaVyK+bWJl9/vPRypjKqQHVosV/HFZYkJUOl8zgvYmHLy7LJUyNgqQov zS0NvlgWtd0Fg8JrBHSBIgULLBACLiE2xUwncIs3sBKpUK7w4FLPKqO9YtR0+a3uJZx8 +DjG81mN0hSxpKCjm/20fBjp5YB82wFPQFru1hZErZGk9dvRt/cHfTVorrbS++QINToa Blrg== X-Received: by 10.14.48.5 with SMTP id u5mr4112822eeb.89.1375896442583; Wed, 07 Aug 2013 10:27:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.133.15 with HTTP; Wed, 7 Aug 2013 10:26:42 -0700 (PDT) In-Reply-To: References: <83y59qb4xz.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 7 Aug 2013 19:26:42 +0200 Message-ID: Subject: Re: bug#14732: Package dos-mode for ELPA To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Aug 7, 2013 at 5:54 PM, Stefan Monnier wrote: > Also, I wonder now if we shouldn't rename it to bat-mode. > After all, I expect most users of this mode don't use DOS, many of them > may not even know what DOS really is. Of course, I suppose that if I try to add support (font-locking. mostly) for TCC, the proprietary command interpreter part of TakeCommand, I will be shoot down, even if CMD itself is not exactly free software... J From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 14:11:39 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 18:11:39 +0000 Received: from localhost ([127.0.0.1]:46013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V78Cx-000561-4R for submit@debbugs.gnu.org; Wed, 07 Aug 2013 14:11:39 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:57431) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V78Cv-00055d-56 for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 14:11:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlEJABK/CFFLd/Nq/2dsb2JhbABEvgsEBHsXc4IeAQEEAVYjBQsLDiYSFBgNEAETiB4GwS2RCgOSWgEDkhyBXoMT X-IPAS-Result: AlEJABK/CFFLd/Nq/2dsb2JhbABEvgsEBHsXc4IeAQEEAVYjBQsLDiYSFBgNEAETiB4GwS2RCgOSWgEDkhyBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20871964" Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 14:11:24 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3D19766AF2; Wed, 7 Aug 2013 14:11:31 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> Date: Wed, 07 Aug 2013 14:11:31 -0400 In-Reply-To: (Juanma Barranquero's message of "Wed, 7 Aug 2013 19:26:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Of course, I suppose that if I try to add support (font-locking. > mostly) for TCC, the proprietary command interpreter part of > TakeCommand, I will be shoot down, even if CMD itself is not exactly > free software... Right, support for DOS/Windows batch files is indeed borderline in this respect. I considered it acceptable on the basis that the GPL accepts linking with proprietary libraries as long as they are "part of the basic OS" and I think cmd.exe also fits this description of "the basic OS". So in this sense, it does not encourage installation of non-Free software (you're unlikely to install Windows just in order to run a batch file). That same argument wouldn't work for TCC. Stefan "who happened to =ABrun=BB his very first .bat file recently (did by hand, for lack of a .bat interpreter; that was to get root access on an Android device ;-)" From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 15:18:40 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 19:18:41 +0000 Received: from localhost ([127.0.0.1]:46088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79Fo-0008OD-JZ for submit@debbugs.gnu.org; Wed, 07 Aug 2013 15:18:40 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:50264) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79Fk-0008Ns-I2 for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 15:18:38 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MR600E00DDQCV00@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 22:18:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MR600EKFDMM1I80@a-mtaout22.012.net.il>; Wed, 07 Aug 2013 22:18:23 +0300 (IDT) Date: Wed, 07 Aug 2013 22:18:35 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <834nb1ux6c.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Date: Wed, 07 Aug 2013 14:11:31 -0400 > Cc: Arni Magnusson , 14732@debbugs.gnu.org > > > Of course, I suppose that if I try to add support (font-locking. > > mostly) for TCC, the proprietary command interpreter part of > > TakeCommand, I will be shoot down, even if CMD itself is not exactly > > free software... > > Right, support for DOS/Windows batch files is indeed borderline in > this respect. I considered it acceptable on the basis that the GPL > accepts linking with proprietary libraries as long as they are "part of > the basic OS" and I think cmd.exe also fits this description of "the > basic OS". Look at that this way: you don't support cmd, you support people who write batch files to build and run free software. > That same argument wouldn't work for TCC. Why does it work for csh, then? From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 15:39:56 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 19:39:56 +0000 Received: from localhost ([127.0.0.1]:46105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79aN-0000ic-JD for submit@debbugs.gnu.org; Wed, 07 Aug 2013 15:39:55 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:52387) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79aL-0000iN-KS for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 15:39:54 -0400 Received: by mail-ee0-f54.google.com with SMTP id e53so1079378eek.41 for <14732@debbugs.gnu.org>; Wed, 07 Aug 2013 12:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9kEYB5fpNKgEaCqluT3MpmYc+ofIs8hLSlFERbTBzVI=; b=ADz0T1rWAIyrlUIVx8eUhqtcrjtbxuiGTEt3W440HqYtvLxjIPk50LBQfNC36FnlGk 8lHeBmPtsVk3MFz/XVE1a2xKNCCj5MBzM62gQ6FW4sD6DIVXpp6HzyC/Df+G9cHacr5s xgoTDRtiaHCrkYyAQzsAatGBUjvux1E6rUSYyMd6a1szBzgMUPt0dncEnXr22rm7yhuZ /jkNZ9GjPiU93+Z2idCcwEbRVAGGyUNfIurLo/ACQ3HDAm6cBOR3eSCJ8dg/2GhRBl/X vdlmZGuPnipDPw5moF0uvlwMzO5fEPJ/ghh3YTSqf6xAVcEYh+UK79ydg7obsNG/Ee1G KbhQ== X-Received: by 10.14.102.72 with SMTP id c48mr4666173eeg.52.1375904387671; Wed, 07 Aug 2013 12:39:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.133.15 with HTTP; Wed, 7 Aug 2013 12:39:07 -0700 (PDT) In-Reply-To: References: <83y59qb4xz.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 7 Aug 2013 21:39:07 +0200 Message-ID: Subject: Re: bug#14732: Package dos-mode for ELPA To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Aug 7, 2013 at 8:11 PM, Stefan Monnier wrote: > So in this sense, it does not encourage installation of > non-Free software (you're unlikely to install Windows just in order to > run a batch file). That same argument wouldn't work for TCC. TakeCommand is a glorified CMD. Or, nowadays, TCC is a glorified CMD, and TakeCommand is a pretty interface that allows you to run multiple console programs (not just TCC / CMD) in a tabbed interface. So, no one would install Windows just to run TakeCommand. But I won't press the point. J From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 15:49:48 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 19:49:48 +0000 Received: from localhost ([127.0.0.1]:46119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79jw-00013C-74 for submit@debbugs.gnu.org; Wed, 07 Aug 2013 15:49:48 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:59385) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79ju-00012t-HM for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 15:49:47 -0400 Received: by mail-ee0-f54.google.com with SMTP id e53so1084752eek.41 for <14732@debbugs.gnu.org>; Wed, 07 Aug 2013 12:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=10Nr2uASMzZEPEhIMQ4+cejDvymD39wSe3c5grDixYs=; b=BJwwHsfNx6xF39pxYPrMcxJEyfYs+rTak++j9SiquFwegJ0y1fqiywgh/aTj3LhCC4 AMnNk025lM+hnrlzJiLwPh9qbpG4qoL4McqVY4kpvpDJwbiGf6Q+9uBhIhtn7CTH9ORc au+agxleeS18E4urgY7XW/XhCDSw1K8X1ZEj4a534y76rG5/BpTaAA4BguPIGyrwcFGW N5fWeXJQZ28dK+0TWEW4nb4nxkxB2yfqG8lbSuJjYygNs2yIc+csMtzQaN2H9INy/hcl McQ1k6J7e02VBXuA3mAnYe6fDqnajMnrckjMlBdSy12pm3NHhRUFPqiQhziyct8Fcj9q L8Ag== X-Received: by 10.14.48.5 with SMTP id u5mr4635887eeb.89.1375904980603; Wed, 07 Aug 2013 12:49:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.133.15 with HTTP; Wed, 7 Aug 2013 12:49:00 -0700 (PDT) In-Reply-To: <834nb1ux6c.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 7 Aug 2013 21:49:00 +0200 Message-ID: Subject: Re: bug#14732: Package dos-mode for ELPA To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Aug 7, 2013 at 9:18 PM, Eli Zaretskii wrote: > Why does it work for csh, then? Windows programs are discriminated. nt/INSTALL has had this comment for years: In addition, using 4NT or TCC as your shell is known to fail the build process, at least since 4NT version 3.01. The only "problem" is in this bit of nt/configure.bat: rem See if the environment is large enough. We need 43 (?) bytes. set $foo$=123456789_123456789_123456789_123456789_123 if not "%$foo$%" == "123456789_123456789_123456789_123456789_123" goto SmallEnv set $foo$= because of the "%$foo$" (in 4NT/TCC, %$ is a special variable). Just changing that test from using $foo$ to foo$ would have allowed 4NT to run configure.bat just fine. I proposed such a change, years ago, and was told not to. Which is particularly jarring because, AFAICS, that check is obsolete; modern CMD has no problem with big environments, and even if the check still makes sense in old COMMAND.COM, we've been adding things to configure.bat for a long time without bothering to check the environment space required. J From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 17:12:23 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 21:12:23 +0000 Received: from localhost ([127.0.0.1]:46226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7B1q-0003rq-Jx for submit@debbugs.gnu.org; Wed, 07 Aug 2013 17:12:22 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17817) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7B1o-0003rZ-86 for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 17:12:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNEAETiB4GwS2RCgOSWwOSHIFegxM X-IPAS-Result: Av8EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNEAETiB4GwS2RCgOSWwOSHIFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20910170" Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 17:12:07 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1E69062D75; Wed, 7 Aug 2013 17:12:14 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> Date: Wed, 07 Aug 2013 17:12:14 -0400 In-Reply-To: (Juanma Barranquero's message of "Wed, 7 Aug 2013 21:39:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > TakeCommand is a glorified CMD. Or, nowadays, TCC is a glorified CMD, > and TakeCommand is a pretty interface that allows you to run multiple > console programs (not just TCC / CMD) in a tabbed interface. So, no > one would install Windows just to run TakeCommand. You need to replace "install Windows" with "install TakeCommand" in the above sentence to see the problem. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 17:13:05 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 21:13:06 +0000 Received: from localhost ([127.0.0.1]:46233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7B2X-0003tP-MG for submit@debbugs.gnu.org; Wed, 07 Aug 2013 17:13:05 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:10287) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7B2V-0003sn-MG for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 17:13:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA5JbA5IcgV6DEw X-IPAS-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA5JbA5IcgV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20910255" Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 17:12:51 -0400 Received: by pastel.home (Postfix, from userid 20848) id D917A62D75; Wed, 7 Aug 2013 17:12:57 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> Date: Wed, 07 Aug 2013 17:12:57 -0400 In-Reply-To: <834nb1ux6c.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Aug 2013 22:18:35 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> That same argument wouldn't work for TCC. > Why does it work for csh, then? AFAIK csh is Free Software. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 17:20:02 2013 Received: (at 14732) by debbugs.gnu.org; 7 Aug 2013 21:20:02 +0000 Received: from localhost ([127.0.0.1]:46243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7B9F-00046r-Dd for submit@debbugs.gnu.org; Wed, 07 Aug 2013 17:20:02 -0400 Received: from mail-ea0-f170.google.com ([209.85.215.170]:59406) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7B9E-00046X-0Z for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 17:20:00 -0400 Received: by mail-ea0-f170.google.com with SMTP id h14so1064537eak.15 for <14732@debbugs.gnu.org>; Wed, 07 Aug 2013 14:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LTUm2+R1ydkMSD+7folyu0bfBQ1Rp1HhlwKy8agr99c=; b=VgzN0fuoUVqM3GmWv9orDPW+n1c6WwqwbSSn55DH1D8clMBagaH+L5Yz3xWY4azmr7 jiW2Z7OaUW1Auqu0TUkSFDEoi3q6vfivnI7A1sU6/Dr2jemuKw+nrEt6SSsAERqYdV8F 5Lxlpfm8SzG7oHCo0SRS36ucUdFw5wd4YjDx+UWx7G/TNHmzJvurSyiu+4CaYuYJz2tF ub/fJAJ8/vAWYjSOeURbNDb7jeAuafEByVxR6Eeh147BYGZ6xTz+xIWcI7KNeKAuv0wV 1Nu06ssXP72xxfR5pf1kgTW1r7Jhmz+BvP4AoYIAysBTe/9fyvTNXQdXOB1QQ1Yeeycm Fr/g== X-Received: by 10.15.76.71 with SMTP id m47mr4883062eey.70.1375910394253; Wed, 07 Aug 2013 14:19:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.133.15 with HTTP; Wed, 7 Aug 2013 14:19:13 -0700 (PDT) In-Reply-To: References: <83y59qb4xz.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 7 Aug 2013 23:19:13 +0200 Message-ID: Subject: Re: bug#14732: Package dos-mode for ELPA To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14732 Cc: Arni Magnusson , 14732@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Aug 7, 2013 at 11:12 PM, Stefan Monnier wrote: > > You need to replace "install Windows" with "install TakeCommand" in the > above sentence to see the problem. No, I don't see the problem. What no one is ever going to do is switch to GNU/Linux because Emacs does not highlight their TCC bat scripts. People who use TakeCommand are hardcore command-line oriented Windows users, or enterprises, and they won't switch for any petty reason, or at all. J From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 22:45:41 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 02:45:41 +0000 Received: from localhost ([127.0.0.1]:46603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7GEO-0007nA-RP for submit@debbugs.gnu.org; Wed, 07 Aug 2013 22:45:41 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:55009) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7GEK-0007mm-IA for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 22:45:38 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MR600400Y108M00@a-mtaout20.012.net.il> for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 05:45:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MR6004NTYB81V50@a-mtaout20.012.net.il>; Thu, 08 Aug 2013 05:45:09 +0300 (IDT) Date: Thu, 08 Aug 2013 05:45:22 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83y58cuchp.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: lekktu@gmail.com, arnima@hafro.is, 14732@debbugs.gnu.org > Date: Wed, 07 Aug 2013 17:12:57 -0400 > > >> That same argument wouldn't work for TCC. > > Why does it work for csh, then? > > AFAIK csh is Free Software. Nothing you find on a typical proprietary Unix these days is Free Software. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 23:40:43 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 03:40:43 +0000 Received: from localhost ([127.0.0.1]:46659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7H5f-0001Q8-6I for submit@debbugs.gnu.org; Wed, 07 Aug 2013 23:40:43 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48720 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7H5c-0001Pz-G6 for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 23:40:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V7H5a-0005Vi-I8; Wed, 07 Aug 2013 23:40:38 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> X-Spook: cracking Montenegro Dick Cheney Europol Albania bomb X-Ran: :DsEpLR0!-KR-Q(vM~]MDB~3^`T{BXpA*X5?b=MI0hm0%QRDs:rmSDB=3!l0vf X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 07 Aug 2013 23:40:38 -0400 Message-ID: <2biozg7suh.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, Stefan Monnier , arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Eli Zaretskii wrote: >> AFAIK csh is Free Software. > > Nothing you find on a typical proprietary Unix these days is Free > Software. I for one am totally confused as to what point you are trying to make. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 23:47:29 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 03:47:29 +0000 Received: from localhost ([127.0.0.1]:46668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7HCC-0001dH-Up for submit@debbugs.gnu.org; Wed, 07 Aug 2013 23:47:29 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:6497) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7HC9-0001cy-MM for 14732@debbugs.gnu.org; Wed, 07 Aug 2013 23:47:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IfAQVWIxALNBIUGA0kiCTBLZEKA5JbA5IcgV6DEw X-IPAS-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IfAQVWIxALNBIUGA0kiCTBLZEKA5JbA5IcgV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20950154" Received: from 75-119-243-106.dsl.teksavvy.com (HELO ceviche.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 23:47:12 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 4F4EF66084; Wed, 7 Aug 2013 23:47:19 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> Date: Wed, 07 Aug 2013 23:47:19 -0400 In-Reply-To: <83y58cuchp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Aug 2013 05:45:22 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> >> That same argument wouldn't work for TCC. >> > Why does it work for csh, then? >> AFAIK csh is Free Software. > Nothing you find on a typical proprietary Unix these days is Free > Software. Last time I checked, csh comes with a BSD license. If it's not Free Software, Trisquel and Debian would probably be interested to learn about it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 12:59:27 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 16:59:27 +0000 Received: from localhost ([127.0.0.1]:47681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7TYZ-00019M-FZ for submit@debbugs.gnu.org; Thu, 08 Aug 2013 12:59:27 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:59701) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7TYT-00018m-Oa for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 12:59:21 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MR8003001IN5200@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 19:58:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MR8002W41U6UT90@a-mtaout22.012.net.il>; Thu, 08 Aug 2013 19:58:55 +0300 (IDT) Date: Thu, 08 Aug 2013 19:59:09 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: <2biozg7suh.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83siykt8yq.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> <2biozg7suh.fsf@fencepost.gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, monnier@iro.umontreal.ca, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: Stefan Monnier , lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is > Date: Wed, 07 Aug 2013 23:40:38 -0400 > > Eli Zaretskii wrote: > > >> AFAIK csh is Free Software. > > > > Nothing you find on a typical proprietary Unix these days is Free > > Software. > > I for one am totally confused as to what point you are trying to make. The point is that we should discourage non-free software regardless of whether it comes from Microsoft, SCO, AT&T, or you-name-it. Currently, we are biased in that respect. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 13:06:47 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 17:06:47 +0000 Received: from localhost ([127.0.0.1]:47698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7Tfi-0001Ss-Ty for submit@debbugs.gnu.org; Thu, 08 Aug 2013 13:06:47 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:61624) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7Tfg-0001SQ-1s for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 13:06:45 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MR80030020RAJ00@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 20:05:38 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MR8003XY25E1P60@a-mtaout22.012.net.il>; Thu, 08 Aug 2013 20:05:38 +0300 (IDT) Date: Thu, 08 Aug 2013 20:05:52 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83r4e4t8nj.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: lekktu@gmail.com, arnima@hafro.is, 14732@debbugs.gnu.org > Date: Wed, 07 Aug 2013 23:47:19 -0400 > > >> >> That same argument wouldn't work for TCC. > >> > Why does it work for csh, then? > >> AFAIK csh is Free Software. > > Nothing you find on a typical proprietary Unix these days is Free > > Software. > > Last time I checked, csh comes with a BSD license. I guess I confused it with ksh, sorry. And ksh is not the worst offender: look in sh-script, and you will see there, in addition to ksh, also rc from Plan 9 and even (gasp!) SCO's oash. If we care so much about not supporting non-free shells, why do we have all those in sh-script? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 13:28:27 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 17:28:27 +0000 Received: from localhost ([127.0.0.1]:47729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7U0g-0003RQ-Sx for submit@debbugs.gnu.org; Thu, 08 Aug 2013 13:28:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36701 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7U0e-0003RE-Mw for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 13:28:25 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V7U0d-0001Oo-Bz; Thu, 08 Aug 2013 13:28:23 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> <83r4e4t8nj.fsf@gnu.org> X-Spook: Islam Abduganievich Karimov CDC AUTODIN world domination X-Ran: e[Xuq:ecI*u)ND8X65<)q\rQ#V^r,taA`ea+3-)A9#V&-&He|&<4wS|-k.&%/!Q_2.u{`p X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 08 Aug 2013 13:28:23 -0400 In-Reply-To: <83r4e4t8nj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Aug 2013 20:05:52 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, Stefan Monnier , arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Eli Zaretskii wrote: >> Last time I checked, csh comes with a BSD license. > > I guess I confused it with ksh, sorry. Which is also available as free software (CPL), and is packaged by Debian, Red Hat, etc. > And ksh is not the worst offender: look in sh-script, and you will see > there, in addition to ksh, also rc from Plan 9 and even (gasp!) SCO's > oash. > > If we care so much about not supporting non-free shells, why do we > have all those in sh-script? Accidents of ancient history, I guess. > The point is that we should discourage non-free software regardless of > whether it comes from Microsoft, SCO, AT&T, or you-name-it. Sure. > Currently, we are biased in that respect. I disagree. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 13:48:59 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 17:48:59 +0000 Received: from localhost ([127.0.0.1]:47739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7UKY-0004C6-NZ for submit@debbugs.gnu.org; Thu, 08 Aug 2013 13:48:59 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:35495) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7UKX-0004Bz-6Z for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 13:48:57 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r78HmubU013627; Thu, 8 Aug 2013 13:48:56 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 0FD79B48E6; Thu, 8 Aug 2013 13:48:56 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA Message-ID: References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> <83r4e4t8nj.fsf@gnu.org> Date: Thu, 08 Aug 2013 13:48:55 -0400 In-Reply-To: <83r4e4t8nj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Aug 2013 20:05:52 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4664=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4664> : streams <1015093> : uri <1500842> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> >> >> That same argument wouldn't work for TCC. >> >> > Why does it work for csh, then? >> >> AFAIK csh is Free Software. >> > Nothing you find on a typical proprietary Unix these days is Free >> > Software. >> Last time I checked, csh comes with a BSD license. > I guess I confused it with ksh, sorry. > And ksh is not the worst offender: look in sh-script, and you will see > there, in addition to ksh, also rc from Plan 9 and even (gasp!) SCO's > oash. "rc" is in Debian's "main" section, so I assume it's also Free Software. As for oash, yes, that makes no sense (how many people use that crap anyway?). Feel free to remove it. For ksh, there might be support in there for versions of ksh that still aren't Free Software, but the I doubt there's much of sh-script.el's ksh support which can't be used with a Free ksh. > If we care so much about not supporting non-free shells, why do we > have all those in sh-script? Historical accident. > The point is that we should discourage non-free software regardless of > whether it comes from Microsoft, SCO, AT&T, or you-name-it. Agreed. Although, there is a bit more to it than that: e.g. we rejected support for C# because the Mono version was so poor that it was clearly mostly supporting the proprietary version. I haven't followed Mono's development very closely, but I'd welcome C# support in Emacs. > Currently, we are biased in that respect. I try not to. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 13:52:11 2013 Received: (at 14732) by debbugs.gnu.org; 8 Aug 2013 17:52:11 +0000 Received: from localhost ([127.0.0.1]:47743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7UNe-0004IV-Ag for submit@debbugs.gnu.org; Thu, 08 Aug 2013 13:52:10 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:39942) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7UNb-0004I3-SZ for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 13:52:08 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MR800300424KU00@a-mtaout22.012.net.il> for 14732@debbugs.gnu.org; Thu, 08 Aug 2013 20:52:01 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MR80033I4APKK20@a-mtaout22.012.net.il>; Thu, 08 Aug 2013 20:52:01 +0300 (IDT) Date: Thu, 08 Aug 2013 20:52:16 +0300 From: Eli Zaretskii Subject: Re: bug#14732: Package dos-mode for ELPA In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83eha4t6i7.fsf@gnu.org> References: <83y59qb4xz.fsf@gnu.org> <834nb1ux6c.fsf@gnu.org> <83y58cuchp.fsf@gnu.org> <83r4e4t8nj.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14732 Cc: lekktu@gmail.com, 14732@debbugs.gnu.org, monnier@iro.umontreal.ca, arnima@hafro.is X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: Stefan Monnier , lekktu@gmail.com, 14732@debbugs.gnu.org, arnima@hafro.is > Date: Thu, 08 Aug 2013 13:28:23 -0400 > > Eli Zaretskii wrote: > > >> Last time I checked, csh comes with a BSD license. > > > > I guess I confused it with ksh, sorry. > > Which is also available as free software (CPL), and is packaged by > Debian, Red Hat, etc. But we don't check the license when we detect ksh. We support them all, free and non-free. > > The point is that we should discourage non-free software regardless of > > whether it comes from Microsoft, SCO, AT&T, or you-name-it. > > Sure. > > > Currently, we are biased in that respect. > > I disagree. I will agree with you when I will see all of the above removed from sh-script. From unknown Sat Aug 09 19:20:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 06 Sep 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator