From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "James H. Cloos Jr." Newsgroups: gmane.emacs.help Subject: Re: disallow font-lock-mode for a given buffer Date: 29 May 2003 07:13:02 -0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <843ciynoo5.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054206954 5688 80.91.224.249 (29 May 2003 11:15:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 11:15:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 13:15:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LLNw-0001Tb-00 for ; Thu, 29 May 2003 13:15:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LLQ1-0002vW-91 for gnu-help-gnu-emacs@m.gmane.org; Thu, 29 May 2003 07:18:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19LLPi-0002mN-HP for help-gnu-emacs@gnu.org; Thu, 29 May 2003 07:17:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19LLNa-0001Tr-76 for help-gnu-emacs@gnu.org; Thu, 29 May 2003 07:15:31 -0400 Original-Received: from ore.jhcloos.com ([64.240.156.239]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LLLP-0000AQ-Qf for help-gnu-emacs@gnu.org; Thu, 29 May 2003 07:13:15 -0400 Original-Received: from lugabout.jhcloos.org (ppp543.tc-1.buf-ch.ny.localnet.com [207.251.210.226]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))OK)) by ore.jhcloos.com (Postfix) with ESMTP id B19CB1C5ED for ; Thu, 29 May 2003 06:13:09 -0500 (CDT) Original-Received: from lugabout.jhcloos.org (localhost [127.0.0.1]) id D1A9325812 for ; Thu, 29 May 2003 11:13:02 +0000 (GMT) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <843ciynoo5.fsf@lucy.is.informatik.uni-duisburg.de> Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10330 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10330 >>>>> "Kai" == Kai Großjohann writes: Kai> You need a function Kai> Then, add the function to the hooks: OK. I was trying for an anon function, but a defun it’ll be.... Kai> Note that the article *display* is not done with font-lock. Unfortunately, if font-lock-mode gets turned on in -- as it is when an article gets edited -- the colours font-lock chooses override the ones gnus chooses. This may be specific the emacs HEAD (w/o ding HEAD). Danke, -JimC