From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wsnyder@wsnyder.org (Wilson Snyder) Newsgroups: gmane.emacs.devel Subject: Emacs 23.3 stops font-lock when have long face name Date: Wed, 25 Nov 2015 07:30:41 -0500 Message-ID: <7qr3jetg5q.fsf@emma.svaha.wsnyder.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1448454673 9153 80.91.229.3 (25 Nov 2015 12:31:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2015 12:31:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 25 13:31:07 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 1a1ZDz-0003kC-5g for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 13:31:03 +0100 Original-Received: from localhost ([::1]:44798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1ZE0-0000KZ-IS for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 07:31:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1ZDi-0000Je-RB for emacs-devel@gnu.org; Wed, 25 Nov 2015 07:30:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1ZDf-0001gX-D5 for emacs-devel@gnu.org; Wed, 25 Nov 2015 07:30:46 -0500 Original-Received: from vpo3.wsnyder.org ([173.230.154.183]:59627 helo=wsnyder.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1ZDf-0001gM-7P for emacs-devel@gnu.org; Wed, 25 Nov 2015 07:30:43 -0500 X-ssh-sendmail: true User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) 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:195223 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. There's a keyword list: (setq verilog-font-lock-keywords .... (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>") 'verilog-font-lock-fixme-face) this works correctly. Changing the face name used to 'verilog-font-lock-fixmefixmefixmefixmefixmefixmefixme-face) which has an identical face definition as the shorter name, makes the fontification break - font-lock simply stops highlighting using this face half way through the smallish buffer, but continues using other (shorter) face names. 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. Thanks