all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Questions about bat-generic-mode
Date: Thu, 17 Jan 2013 22:58:49 +0200	[thread overview]
Message-ID: <87vcavr0fq.fsf@gavenkoa.example.com> (raw)
In-Reply-To: 86622vll9k.fsf@free.fr

On 2013-01-17, Pascal Quesseveur wrote:

> 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+\\)?"
>
Send a patch by M-x report-emacs-bug.

> 3. comment-start is set to REM. It would be interesting to be able to
>    set it to ::
>
Its nice thing but you know that :: is an very undocumented hack (invalid
label):

  http://xset.tripod.com/tip3.htm

> 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))
Send a patch by M-x report-emacs-bug.

I also provide improvement to bat-generic-mode:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5719
                 [patch] fix bat-generic-mode highlighting pattern for CLI
                 switch.

-- 
Best regards!




  reply	other threads:[~2013-01-17 20:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 18:25 Questions about bat-generic-mode Pascal Quesseveur
2013-01-17 20:58 ` Oleksandr Gavenko [this message]
     [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=87vcavr0fq.fsf@gavenkoa.example.com \
    --to=gavenkoa@gmail.com \
    --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.