From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: (font-lock-mode 1) does not always force font-lock Date: Thu, 23 Oct 2003 14:38:38 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066935176 9794 80.91.224.253 (23 Oct 2003 18:52:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2003 18:52:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 23 20:52:52 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ACkZo-0001eo-00 for ; Thu, 23 Oct 2003 20:52:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ACkZo-00014W-00 for ; Thu, 23 Oct 2003 20:52:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACkVD-0004CZ-W6 for emacs-devel@quimby.gnus.org; Thu, 23 Oct 2003 14:48:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ACkQf-0003Fb-4E for emacs-devel@gnu.org; Thu, 23 Oct 2003 14:43:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ACkQQ-0003Cq-Oi for emacs-devel@gnu.org; Thu, 23 Oct 2003 14:43:22 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACkQP-0003CY-Db for emacs-devel@gnu.org; Thu, 23 Oct 2003 14:43:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1ACkM2-0004mL-5n; Thu, 23 Oct 2003 14:38:38 -0400 Original-To: Hrvoje Niksic In-reply-to: (message from Hrvoje Niksic on Thu, 23 Oct 2003 01:52:11 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17381 This returns nil because `(font-lock-mode 1)' does not force font-lock, contrary to the docstring which, in GNU Emacs 21.2.1, states: With arg, turn Font Lock mode off if and only if arg is a non-positive number; if arg is nil, toggle Font Lock mode; anything else turns Font Lock on. I assume the problem is that the buffer is that the buffer in question is temporary. that seems like a bug to me. perhaps it is a consequence of a feature meant for some other case. what code tests this? can u suggest a patch?