From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.devel Subject: Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer? Date: Mon, 22 Feb 2016 09:56:58 +0100 Message-ID: References: <56CA94A8.3000205@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143dd18eb70ed052c580365 X-Trace: ger.gmane.org 1456131432 672 80.91.229.3 (22 Feb 2016 08:57:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 08:57:12 +0000 (UTC) Cc: Emacs developers To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 09:57:12 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 1aXmIh-0003tK-HV for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 09:57:03 +0100 Original-Received: from localhost ([::1]:47815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXmIh-0005iv-2A for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 03:57:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXmId-0005ip-LB for emacs-devel@gnu.org; Mon, 22 Feb 2016 03:57:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXmIc-0001lN-Op for emacs-devel@gnu.org; Mon, 22 Feb 2016 03:56:59 -0500 Original-Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]:33677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXmIc-0001lC-Hq for emacs-devel@gnu.org; Mon, 22 Feb 2016 03:56:58 -0500 Original-Received: by mail-vk0-x22d.google.com with SMTP id k196so124555872vka.0 for ; Mon, 22 Feb 2016 00:56:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GyFMFpVVFz9jIuqBEf9QF8fUJd9Iwqd0/cUSx9Jd5wI=; b=PC2ZmDemTADdL1rAEVTtxuyUavBoT7r/DBqUs6JxmvCsldJl79BM9Io+G0IpaTiPKL EuWCDalzc6GSIZ8fWpFu72pUtREPEuiOcgnmRbg23Oajz5SrtkvxE289itdiMagp38dv +lHACChAuRcu78UNyvKTXupfEU7hW9lGVjlqOxUEAwQc++KmwclV7ZzPmbAcroElwBBP Sx0T4hoiHnWyU43Q+fwnsLkEoRGzrlhQHn8K6H/Im8qRtIrJbrOjVyZyiMVBGBsV8Btk x4yb9EwUYwoX2tRWWqGQ5lgfeMCI/A3/H9NNSflNwzzK3pK40gzY8DPih6v+fb7absm8 rL0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GyFMFpVVFz9jIuqBEf9QF8fUJd9Iwqd0/cUSx9Jd5wI=; b=Yp3pyG5KjXzONX88GGhVB3B8NEWhNWdQG3U+8NTzvPuVG0xv1k/LvjbhTyKMGC5eiu uNP6kTHY8FM596WlCBosDdFL6rrRuV+RA9s7vBug8HD/Vzadxx2iB066oRJpAFcwjggU Gp5QuUuAvx6Q1vArK4BSUp/wsPpiTkS2+4KwPRltPMfhG9zGeA3XrOqb0r0lNoO0X/U5 5XSgpp9Z5NPCsbmczmBqCcsD+NSS8eNZD+9fNLQWje/iH8ITGJ0UYtHunDV/LD80iyjF eDGt9CESRYFKnZlfyMzXRMDlyV/1uzbZArQmTSfZHIeelLHJF7jxpipRBP9UstPTQ7Jl AAiA== X-Gm-Message-State: AG10YOR2ZU6W4oZi50T8TC7miWkBO0apx3+qHWkUl6j6rbr7gUI3o1CcFb8V2xhxctk3ia6etgg59cvqM1GCMA== X-Received: by 10.31.138.73 with SMTP id m70mr22189540vkd.70.1456131418056; Mon, 22 Feb 2016 00:56:58 -0800 (PST) Original-Received: by 10.31.214.131 with HTTP; Mon, 22 Feb 2016 00:56:58 -0800 (PST) In-Reply-To: <56CA94A8.3000205@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22d 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:200444 Archived-At: --001a1143dd18eb70ed052c580365 Content-Type: text/plain; charset=UTF-8 > > What's the proper way to mark a buffer for refontification (and refontify > the visible portion) immediately in 25? > I've been using `(font-lock-region (point-min) (point-max))' to force a refontification of the entire buffer, for my htmlize-like packages (`faceup' and `e2ani'). I'm not sure if it's the "right way" to do it, but it works in practice. -- Anders Lindgren --001a1143dd18eb70ed052c580365 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What's the proper way to mark a buffer for r= efontification (and refontify the visible portion) immediately in 25?

I've been using `(font-lock-region (poin= t-min) (point-max))' to force a refontification of the entire buffer, f= or my htmlize-like packages (`faceup' and `e2ani'). I'm not sur= e if it's the "right way" to do it, but it works in practice.=

=C2=A0 =C2=A0 -- Anders Lindgren

--001a1143dd18eb70ed052c580365--