unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Minor enhancement to font-look keywords of perl-mode
Date: Tue, 22 Mar 2005 14:46:17 -0500	[thread overview]
Message-ID: <jwvd5tro46q.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m38y4f7gy3.fsf@kaliban.madrid.ecid.cig.mot.com> (JUAN-LEON Lahoz Garcia's message of "Tue, 22 Mar 2005 18:01:40 +0100")

> -    '("&\\(\\sw+\\)" 1 font-lock-function-name-face)
> +    '("&\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-function-name-face)
>      ;; Additionally underline non-scalar variables.  Maybe this is a bad idea.
>      ;;'("[$@%*][#{]?\\(\\sw+\\)" 1 font-lock-variable-name-face)
> -    '("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face)
> +    '("[$*]{?\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-variable-name-face)

Installed, thanks.  I also correspondingly updated the regexp below:

>      '("\\([@%]\\|\\$#\\)\\(\\sw+\\)"
>        (2 (cons font-lock-variable-name-face '(underline))))
>      '("<\\(\\sw+\\)>" 1 font-lock-constant-face)


-- Stefan

      reply	other threads:[~2005-03-22 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 17:01 Minor enhancement to font-look keywords of perl-mode JUAN-LEON Lahoz Garcia
2005-03-22 19:46 ` Stefan Monnier [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvd5tro46q.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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