From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#4835: 23.1; Improper `Invalid face reference' messages. Performance degraded. Date: Sat, 31 Oct 2009 12:51:46 -0700 Message-ID: <6ABF3195EEF74EB780205758FA68D61B@us.oracle.com> References: <87ws2bfkyt.fsf@stupidchicken.com> <87iqdvmk1j.fsf@stupidchicken.com> Reply-To: Drew Adams , 4835@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1257019678 21525 80.91.229.12 (31 Oct 2009 20:07:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2009 20:07:58 +0000 (UTC) Cc: 4835@emacsbugs.donarmstrong.com To: "'Chong Yidong'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 31 21:07:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N4KEn-00023X-ON for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2009 21:07:50 +0100 Original-Received: from localhost ([127.0.0.1]:36695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4KEn-0003iE-9O for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2009 16:07:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4KEO-0003XR-J5 for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 16:07:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4KEJ-0003WO-Fc for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 16:07:23 -0400 Original-Received: from [199.232.76.173] (port=41724 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4KEJ-0003WD-7b for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 16:07:19 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44489) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4KEH-0006Hu-Ts for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 16:07:18 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VK7Ftu025540; Sat, 31 Oct 2009 13:07:15 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9VK04Bu023858; Sat, 31 Oct 2009 13:00:04 -0700 Resent-Date: Sat, 31 Oct 2009 13:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 31 Oct 2009 20:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4835 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4835-submit@emacsbugs.donarmstrong.com id=B4835.125701876123162 (code B ref 4835); Sat, 31 Oct 2009 20:00:03 +0000 Original-Received: (at 4835) by emacsbugs.donarmstrong.com; 31 Oct 2009 19:52:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rgminet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VJqeUd023155 for <4835@emacsbugs.donarmstrong.com>; Sat, 31 Oct 2009 12:52:41 -0700 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9VJs9i4031131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 31 Oct 2009 19:54:10 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9VJrQUg002567; Sat, 31 Oct 2009 19:53:53 GMT Original-Received: from abhmt013.oracle.com by acsmt353.oracle.com with ESMTP id 20744820661257018708; Sat, 31 Oct 2009 12:51:48 -0700 Original-Received: from dradamslap1 (/141.144.80.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Oct 2009 12:51:48 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpaYaWX0YuWWFG1S3i41ZYODv3rAwAAPs0g In-Reply-To: <87iqdvmk1j.fsf@stupidchicken.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4AEC957F.0111:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 31 Oct 2009 16:07:23 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32321 Archived-At: > > Why is it necessary to restrict the function to a symbol - > > why disallow lambda forms? IOW, why can't we use > > (functionp keywords) instead of (fboundp keywords)? > > In principle, I don't see why matchers can't be lambda > expressions. The main concern I have is that other parts > of font lock might have subtle assumptions about the > matcher being a function name. It seems easier to > make this implicit assumption an explicit one. Easier is not better. We should make the right fix, not the easiest one based on our not being sure what the code does or why. It would be good if someone knowledgeable in font-lock took a close look and DTRT. Perhaps Stefan? If we change `fboundp' to `functionp' here and it turns out that subtle assumptions are thereby broken, at least we will have discovered those assumptions, and we can then either comment them clearly or change the code to use different assumptions (if appropriate). As it is now, it sounds like we don't really know what the design is or why.