From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.devel Subject: Re: (font-lock-mode 1) does not always force font-lock Date: Sat, 25 Oct 2003 11:52:19 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87vfqffbwe.fsf@oak.pohoyda.family> <8765iephzh.fsf@oak.pohoyda.family> <87y8v9epmv.fsf@oak.pohoyda.family> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067075725 30273 80.91.224.253 (25 Oct 2003 09:55:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2003 09:55:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 25 11:55:23 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 1ADL8l-00079Z-00 for ; Sat, 25 Oct 2003 11:55:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ADL8l-0004d5-00 for ; Sat, 25 Oct 2003 11:55:23 +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 1ADL5z-0008CJ-TH for emacs-devel@quimby.gnus.org; Sat, 25 Oct 2003 05:52:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ADL5t-0008CE-Sx for emacs-devel@gnu.org; Sat, 25 Oct 2003 05:52:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ADL5N-0007rB-P1 for emacs-devel@gnu.org; Sat, 25 Oct 2003 05:52:24 -0400 Original-Received: from [213.191.128.10] (helo=mxout.iskon.hr) by monty-python.gnu.org with smtp (Exim 4.24) id 1ADL5N-0007r8-69 for emacs-devel@gnu.org; Sat, 25 Oct 2003 05:51:53 -0400 Original-Received: (qmail 14660 invoked from network); 25 Oct 2003 11:51:51 +0200 Original-Received: from mx.iskon.hr (213.191.128.12) by mxout.iskon.hr with SMTP; 25 Oct 2003 11:51:51 +0200 Original-Received: (qmail 27234 invoked from network); 25 Oct 2003 11:51:50 +0200 X-Remote-IP: 213.191.139.219 Original-Received: from hniksic.iskon.hr (213.191.139.219) by mx.iskon.hr with SMTP; 25 Oct 2003 11:51:50 +0200 Original-To: Alexander Pohoyda In-Reply-To: <87y8v9epmv.fsf@oak.pohoyda.family> (Alexander Pohoyda's message of "25 Oct 2003 09:35:20 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) 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:17417 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17417 Alexander Pohoyda writes: > Hrvoje Niksic writes: > >> > Yes, both cases work. If I comment out (font-lock-mode 1), things >> > still work. >> >> Please repeat the tests with `emacs -q' then. > > OK. There is no difference whether the buffer is named "*foo*" or just > "foo". Both cases work. I'm afraid you tested the wrong thing. You need to try "*foo*" and " *foo*", i.e. with and without the leading space in the buffer name. Whether the buffer name contains asterisks or not is, as you discovered, irrelevant. > If I comment out (font-lock-mode 1), both cases does not work: a > string is not fontified. There is no use in testing that. The code is not expected to fontify anything when you remove `(font-lock-mode 1)'. If you're not sure what to test, you should contact me privately with your findings, to prevent needless traffic on the development list.