From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Bienert Newsgroups: gmane.emacs.help Subject: font-lock-add-keywords problem Date: Sun, 05 Mar 2006 16:41:38 +0100 Organization: http://freemail.web.de/ Message-ID: <719707752@web.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141573326 14114 80.91.229.2 (5 Mar 2006 15:42:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Mar 2006 15:42:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 05 16:42:02 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFvMu-0001a5-1e for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Mar 2006 16:42:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFvN0-0001qR-Jt for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Mar 2006 10:42:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FFvMm-000168-Mt for help-gnu-emacs@gnu.org; Sun, 05 Mar 2006 10:41:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FFvMj-0000q3-7w for help-gnu-emacs@gnu.org; Sun, 05 Mar 2006 10:41:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFvMj-0000pc-39 for help-gnu-emacs@gnu.org; Sun, 05 Mar 2006 10:41:49 -0500 Original-Received: from [217.72.192.242] (helo=fmmailgate04.web.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FFvOn-0004Tk-02 for help-gnu-emacs@gnu.org; Sun, 05 Mar 2006 10:43:57 -0500 Original-Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id k25FfPjp015308 for ; Sun, 5 Mar 2006 16:41:39 +0100 Original-Received: from [134.100.209.143] by freemailng0205.web.de with HTTP; Sun, 05 Mar 2006 16:41:38 +0100 Original-To: help-gnu-emacs@gnu.org Precedence: fm-user X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: news.gmane.org gmane.emacs.help:33546 Archived-At: Hi there, I have a problem with the adding of own types to the c-mode in emacs. I have used: (font-lock-add-keywords 'c-mode '(("\\<\\(Shortint\\)\\>" 1 font-lock-type-face t))) to make emacs highlighting the type "Shortint". But now its also highlighted in comments /* Shortint */. What can I do to unhighlight it in comments? -- mit freundlichen Gruessen Stefan Bienert The box said, ----------------------------- |Requires Windows 98| | or better. | ----------------------------- SO I INSTALLED LINUX. ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193