From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer? Date: Wed, 24 Feb 2016 13:55:42 -0500 Message-ID: References: <56CA94A8.3000205@gmail.com> <83bn76hw1o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456340162 29269 80.91.229.3 (24 Feb 2016 18:56:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 18:56:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 24 19:55:54 2016 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 1aYebH-00074f-SJ for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2016 19:55:52 +0100 Original-Received: from localhost ([::1]:37736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYebH-0000wp-2B for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2016 13:55:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYebD-0000wY-7t for emacs-devel@gnu.org; Wed, 24 Feb 2016 13:55:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYeb9-0000VL-Qw for emacs-devel@gnu.org; Wed, 24 Feb 2016 13:55:47 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYeb9-0000VH-Jl; Wed, 24 Feb 2016 13:55:43 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id u1OIttRb020134; Wed, 24 Feb 2016 13:55:55 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 20CEA6020E; Wed, 24 Feb 2016 13:55:42 -0500 (EST) In-Reply-To: <83bn76hw1o.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 24 Feb 2016 19:12:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5591=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5591> : inlines <4381> : streams <1592867> : uri <2150522> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:200633 Archived-At: > Actually, in this particular case I think this is a bug in > prettify-symbols-mode: it should define its own > font-lock-ensure-function. The default value doesn't cover the kind > of stuff that this mode uses font-lock for. Hmm... I don't see any reason why that should be the case. IOW I think that if a change is needed it should be font-lock.el because prettify-symbols-mode seems to be using font-lock in a "normal" way. Stefan