* [tury.peter@gmail.com: add .cmd support to generic-x.el]
@ 2006-06-10 19:32 Richard Stallman
2006-06-11 10:09 ` Mathias Dahl
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2006-06-10 19:32 UTC (permalink / raw)
------- Start of forwarded message -------
Date: Fri, 9 Jun 2006 20:51:36 +0200
From: "Peter Tury" <tury.peter@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: add .cmd support to generic-x.el
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed
version=3.0.4
Hi,
I was told that this is the right address to send such requests to: my
generic-x.el doesn't know MS Windows' .cmd extension. As far as I know
this is the same as .bat files, so I added
"\\.[cC][mM][dD]\\'"
to the file extension list of bat-generic-mode's define-generic-mode.
It works now fine for me (as I usually create .cmd files).
Please do the same to the official version also.
Thanks,
P
PS.
I think it is irrelevant, but:
I use EmacsW32 P060501
(GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
of 2006-05-01 on W2ONE
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include')
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [tury.peter@gmail.com: add .cmd support to generic-x.el]
2006-06-10 19:32 [tury.peter@gmail.com: add .cmd support to generic-x.el] Richard Stallman
@ 2006-06-11 10:09 ` Mathias Dahl
2006-06-11 20:52 ` Lennart Borgman
0 siblings, 1 reply; 3+ messages in thread
From: Mathias Dahl @ 2006-06-11 10:09 UTC (permalink / raw)
Cc: emacs-devel
> I was told that this is the right address to send such requests to: my
> generic-x.el doesn't know MS Windows' .cmd extension. As far as I know
> this is the same as .bat files, so I added
> "\\.[cC][mM][dD]\\'"
> to the file extension list of bat-generic-mode's define-generic-mode.
> It works now fine for me (as I usually create .cmd files).
.cmd files has existed as far back as in Windows NT4, maybe even
Windows NT 3.X, so if this extension is not included in generic-x yet,
I think it should be included now.
Also, there are some differences in how .bat and .cmd files are
handles but I do not remember what it was right now.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [tury.peter@gmail.com: add .cmd support to generic-x.el]
2006-06-11 10:09 ` Mathias Dahl
@ 2006-06-11 20:52 ` Lennart Borgman
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2006-06-11 20:52 UTC (permalink / raw)
Cc: rms, emacs-devel
Mathias Dahl wrote:
>> I was told that this is the right address to send such requests to: my
>> generic-x.el doesn't know MS Windows' .cmd extension. As far as I know
>> this is the same as .bat files, so I added
>> "\\.[cC][mM][dD]\\'"
>> to the file extension list of bat-generic-mode's define-generic-mode.
>> It works now fine for me (as I usually create .cmd files).
>
> .cmd files has existed as far back as in Windows NT4, maybe even
> Windows NT 3.X, so if this extension is not included in generic-x yet,
> I think it should be included now.
>
> Also, there are some differences in how .bat and .cmd files are
> handles but I do not remember what it was right now.
Maybe it is worth noting that there is a cmd-mode.el available at
EmacsWiki.
If someone wants to contact the author for papers or other matters,
please notice that he does not understand English very well.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-11 20:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-10 19:32 [tury.peter@gmail.com: add .cmd support to generic-x.el] Richard Stallman
2006-06-11 10:09 ` Mathias Dahl
2006-06-11 20:52 ` Lennart Borgman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).