From: Pascal Quesseveur <pascal.quesseveur@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Questions about bat-generic-mode
Date: Thu, 17 Jan 2013 19:25:27 +0100 [thread overview]
Message-ID: <86622vll9k.fsf@free.fr> (raw)
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
next reply other threads:[~2013-01-17 18:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 18:25 Pascal Quesseveur [this message]
2013-01-17 20:58 ` Questions about bat-generic-mode 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86622vll9k.fsf@free.fr \
--to=pascal.quesseveur@free.fr \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.