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 14:10:01 -0700 Message-ID: <8F2C3E771C104B03B9926AB1AAFD02A5@us.oracle.com> References: <87ws2bfkyt.fsf@stupidchicken.com><87iqdvmk1j.fsf@stupidchicken.com><6ABF3195EEF74EB780205758FA68D61B@us.oracle.com> <87pr83th6b.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 1257024457 2158 80.91.229.12 (31 Oct 2009 21:27:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2009 21:27:37 +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 22:27:29 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 1N4LTt-00071c-GA for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2009 22:27:29 +0100 Original-Received: from localhost ([127.0.0.1]:37039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4LTt-0006r3-0m for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2009 17:27:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4LTn-0006p3-IJ for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 17:27:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4LTi-0006ls-BG for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 17:27:22 -0400 Original-Received: from [199.232.76.173] (port=51503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4LTi-0006lp-2x for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 17:27:18 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57703) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4LTh-0000OG-Hw for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 17:27:17 -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 n9VLRFTb002995; Sat, 31 Oct 2009 14:27:15 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9VLK5M4002042; Sat, 31 Oct 2009 14:20:05 -0700 Resent-Date: Sat, 31 Oct 2009 14:20:05 -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 21:20:05 +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.12570234201019 (code B ref 4835); Sat, 31 Oct 2009 21:20:05 +0000 Original-Received: (at 4835) by emacsbugs.donarmstrong.com; 31 Oct 2009 21:10:19 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VLAIkI000874 for <4835@emacsbugs.donarmstrong.com>; Sat, 31 Oct 2009 14:10:19 -0700 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9VL9wjN019067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 31 Oct 2009 21:09:59 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9VKwKwE027452; Sat, 31 Oct 2009 21:11:32 GMT Original-Received: from abhmt010.oracle.com by acsmt353.oracle.com with ESMTP id 20744018341257023403; Sat, 31 Oct 2009 14:10:03 -0700 Original-Received: from dradamslap1 (/141.144.80.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Oct 2009 14:10:03 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpabNWYi3JmtX3JSN6GbkHjASkuJgAALJiQ In-Reply-To: <87pr83th6b.fsf@stupidchicken.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4AECA7B1.00DF: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 17:27:22 -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:32326 Archived-At: > > We should make the right fix, not the easiest one based on our not > > being sure what the code does or why. > > It's pretty clear, from the doc string plus the various parts of > font-lock code that assume function names, that the code was not > intended to work with lambda expressions. It would be nice > if it worked with lambda expressions, but that would be a new > feature, not a bug fix. Nonsense. You could say that it's crystal clear from the Elisp manual that _function_ was meant (since that's what is says) and not symbol function or "function name" (which would be a string). The code is bugged wrt its mission as documented in the manual, which is the closest thing we have to a spec. Kidding aside, this is a chance to DTRT, not just sidestep the problem because the code might be unclear or it takes some studying to understand it. At any rate, as I said, the bug (`Invalid face reference' messages and the attendant slowdown) seems to be there even when I use a symbol function. Unless I'm doing something wrong (which is why I asked for help).