From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.help Subject: Re: Syntax Highlighting Latency in Emacs Date: Wed, 22 Dec 2004 21:55:31 GMT Organization: x Message-ID: References: <9badnW_9ItZTWSHcRVn-iw@comcast.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103752770 6450 80.91.229.6 (22 Dec 2004 21:59:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2004 21:59:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 22 22:59:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ChEVw-0007nh-00 for ; Wed, 22 Dec 2004 22:59:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ChEgV-0005Gb-Ui for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Dec 2004 17:10:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!newsswing.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!404941e6!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:niz5MY4q6rQ1wpbp3tKwSqXduWc= Original-Lines: 11 Original-NNTP-Posting-Host: 66.194.80.196 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr11.news.prodigy.com 1103752531 ST000 66.194.80.196 (Wed, 22 Dec 2004 16:55:31 EST) Original-NNTP-Posting-Date: Wed, 22 Dec 2004 16:55:31 EST X-UserInfo1: [[PGGVSEAJWMAP\YKBCB^]\@PJ_^PBQLGPQRJVMHQAVTUZ]CLNTCPFK[WDXDHV[K^FCGJCJLPF_D_NCC@FUG^Q\DINVAXSLIFXYJSSCCALP@PB@\OS@BITWAH\CQZKJMMD^SJA^NXA\GVLSRBD^M_NW_F[YLVTWIGAXAQBOATKBBQRXECDFDMQ\DZFUE@\JM Original-Xref: shelby.stanford.edu gnu.emacs.help:127482 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22935 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22935 >>>> jab3 writes: jab3> Ah. That seems to be doing what I want. What if I just put the commands in jab3> my .emacs file? How would I type the command for that file? jab3> (highlight-regexp "\%s" 'font-lock-function-name-face) ??? maybe something like: (global-set-key (kbd "C-c m") (lambda () (interactive) (highlight-regexp "\%s" "hi-yellow")))