unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Questions about bat-generic-mode
@ 2013-01-17 18:25 Pascal Quesseveur
  2013-01-17 20:58 ` Oleksandr Gavenko
       [not found] ` <mailman.17754.1358458783.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Pascal Quesseveur @ 2013-01-17 18:25 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

Here my questions:

1. In bat-generic-mode-compile compile fails when w32-shell-name
   returns a string containing a space as in
   C:/Program Files/GNU/...

   Setting w32-shell-name using short name solve the problem but are
   there other solutions besides install emacs in a directory whose
   name doesn't contain spaces?

2. Labels starting with ':' in goto statements are not
   fontified. There are some cases where the ':' is required as in
   goto :EOF. Perhaps the regexp used for fontification could be
   modified as follows:
 
   "[ \t\n|]\\<\\([gG][oO][tT][oO]\\)\\>[ \t]*\\(:?\\sw+\\)?"

3. comment-start is set to REM. It would be interesting to be able to
   set it to ::

4. echo can be followed by a space or a dot (to prevent newline). In
   the later case fontification fails. One modification could be:

     '("^[@ \t]*\\([eE][cC][hH][oO]\\)\\([ \t]+\\|[.]\\)\\(\\([oO]\\([nN]\\|[fF][fF]\\)\\)\\|\\([^>|\r\n]+\\)\\)"
       (1 font-lock-builtin-face)
       (4 font-lock-constant-face t t)
       (6 font-lock-string-face t t))


-- 
Pascal Quesseveur
pascal.quesseveur@free.fr


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-21 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17 18:25 Questions about bat-generic-mode Pascal Quesseveur
2013-01-17 20:58 ` Oleksandr Gavenko
     [not found] ` <mailman.17754.1358458783.855.help-gnu-emacs@gnu.org>
2013-01-18 16:36   ` Pascal Quesseveur
2013-01-20 20:00     ` Oleksandr Gavenko
     [not found]     ` <mailman.17972.1358712041.855.help-gnu-emacs@gnu.org>
2013-01-21 10:18       ` Pascal Quesseveur
2013-01-21 10:40         ` Pascal Quesseveur

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).