help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about bat-generic-mode


From: Pascal Quesseveur
Subject: Questions about bat-generic-mode
Date: Thu, 17 Jan 2013 19:25:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt)

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
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]