From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Quesseveur Newsgroups: gmane.emacs.help Subject: Questions about bat-generic-mode Date: Thu, 17 Jan 2013 19:25:27 +0100 Organization: Les Enchantements de Miraldra Message-ID: <86622vll9k.fsf@free.fr> Reply-To: pascal.quesseveur@free.fr NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1358447414 20167 80.91.229.3 (17 Jan 2013 18:30:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 18:30:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 19:30:33 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvuES-0006dN-G5 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 19:30:32 +0100 Original-Received: from localhost ([::1]:57559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvuE8-00021P-N3 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 13:30:12 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!feed.xsnews.nl!border-2.ams.xsnews.nl!news.osn.de!diablo2.news.osn.de!proxad.net!feeder2-2.proxad.net!cleanfeed3-a.proxad.net!nnrp4-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) X-Attribution: PQsr Cancel-Lock: sha1:xM9v6wExpP96YsbXcjSF/pSbj7I= Original-Lines: 34 Original-NNTP-Posting-Date: 17 Jan 2013 19:25:30 CET Original-NNTP-Posting-Host: 78.241.156.15 Original-X-Trace: 1358447130 news-3.free.fr 6123 78.241.156.15:59422 Original-X-Complaints-To: abuse@proxad.net Original-Xref: usenet.stanford.edu gnu.emacs.help:196390 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88685 Archived-At: 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