unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rjp <richard.pauls@itt.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Fontifying function calls in emacs-lisp-mode
Date: Tue, 3 Jul 2007 06:12:10 -0700 (PDT)	[thread overview]
Message-ID: <11411888.post@talk.nabble.com> (raw)
In-Reply-To: <1177579293.771956.9570@n35g2000prd.googlegroups.com>


Hi Guys, I found this thread through a google search and it sounds very
similar to what I need to do.

I am trying to make all function calls blue in xemacs. I have already
changed the face for function names, but this only affects the function
definition line. I want to colorize the function call line as well. I am not
very familiar with customizing emacs but it sounds like this LISP code
discussed here is trying to do the same thing. Is this correct? Can you give
me something that I can just paste into my init.el file to do the trick?

Thanks very much,

Rich

Nordlöw wrote:
> 
> On 25 Apr, 08:36, martin rudalics <rudal...@gmx.at> wrote:
>> (defun pnw-emacs-lisp-mode-extra-font-locking ()
>>    (font-lock-add-keywords
>>     nil
>>     (list
>>      ...
>>     t)) ; Try to assign the third argument HOW here to anything but 'set
> 
> Brilliant!
> 
> I had forgot about that argument...
> 
> It just realized that my regexp does not correctly fontify quoted
> constructs. I guess you need a full emacs-lisp parser to do that. But
> it works good enough for my needs.
> 
> 
> Thanks,
> 
> Nordlöw
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 

-- 
View this message in context: http://www.nabble.com/Fontifying-function-calls-in-emacs-lisp-mode-tf3639819.html#a11411888
Sent from the Emacs - Help mailing list archive at Nabble.com.

  reply	other threads:[~2007-07-03 13:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2492.1177484258.7795.help-gnu-emacs@gnu.org>
2007-04-26  9:21 ` Fontifying function calls in emacs-lisp-mode Nordlöw
2007-07-03 13:12   ` rjp [this message]
     [not found]   ` <mailman.3007.1183472059.32220.help-gnu-emacs@gnu.org>
2007-07-04  9:10     ` Tim X
2007-04-25  6:36 martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2007-04-24 15:47 Nordlöw
2007-04-24 16:46 ` Peter Tury

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=11411888.post@talk.nabble.com \
    --to=richard.pauls@itt.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.
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).