From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Wilson Snyder" Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.3 stops font-lock when have long face name Date: Thu, 26 Nov 2015 09:13:18 -0500 Message-ID: <2656428d1586829c3a3613575704dd1e.squirrel@mail.wsnyder.org> References: <7qr3jetg5q.fsf@emma.svaha.wsnyder.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448547290 19045 80.91.229.3 (26 Nov 2015 14:14:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 14:14:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 26 15:14:39 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1xIr-0007bF-Qn for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 15:13:41 +0100 Original-Received: from localhost ([::1]:51478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1xIu-0002oo-5L for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 09:13:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1xIa-0002mE-Qf for emacs-devel@gnu.org; Thu, 26 Nov 2015 09:13:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1xIW-0000ip-DJ for emacs-devel@gnu.org; Thu, 26 Nov 2015 09:13:24 -0500 Original-Received: from vpo3.wsnyder.org ([173.230.154.183]:41260 helo=wsnyder.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1xIW-0000iC-93 for emacs-devel@gnu.org; Thu, 26 Nov 2015 09:13:20 -0500 Original-Received: by wsnyder.org (Postfix, from userid 33) id B028511608; Thu, 26 Nov 2015 14:13:18 +0000 (UTC) In-Reply-To: <7qr3jetg5q.fsf@emma.svaha.wsnyder.org> User-Agent: SquirrelMail/1.4.22 X-Priority: 3 (Normal) Importance: Normal X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 173.230.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195281 Archived-At: > I'm trying to fix a font-lock issue with long face names > reported against Emacs 23.3, which I've confirmed is fixed > in Emacs 25. > >... > > This is not affected by font-lock-maximum-size. > > Can anyone please suggest what version this was fixed and > suggest a workaround for the older Emacsen? > > I would prefer not to rename the long face's name (really > it's verilog-font-grouping-keywords-face) since that name > has been stable for several versions of Emacs and may be in > user's customizations. A very small tarball showing this issue is at http://www.veripool.org/attachments/download/703/test.tgz To run this, using Emacs 24.3 (and 23.3 and probably others but not 25.0)= , extract and type ./test.sh You'll see the first four "new" keywords are highlighted. Later ones are incorrectly not highlighted. If you then edit test.el to change v-font-long-name-here-here-here-here-face to v-font-short-face, which has an identical definition, you'll see the fontification works correctly.