From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Monnier Subject: bug#22399: org-mode fontification Date: Tue, 26 Jan 2016 08:06:29 -0500 Message-ID: References: <87oacjng36.fsf@russet.org.uk> <87ziw36khb.fsf@gmx.us> <87a8o2zrtm.fsf@russet.org.uk> <87bn8i7mha.fsf@gmx.us> <87d1syvgc7.fsf@kyleam.com> <8737tu13la.fsf__5430.1016768024$1453185240$gmane$org@kyleam.com> <87d1sy54vt.fsf@gmx.us> <87wpr5zirr.fsf@kyleam.com> <871t9d4cg3.fsf@gmx.us> <874me8pjii.fsf__7050.42196573249$1453290031$gmane$org@russet.org.uk> <87ziw0goel.fsf_-_@kyleam.com> <87oacf92wl.fsf@kyleam.com> <87lh7cu8r0.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO3L0-0001Dj-7g for emacs-orgmode@gnu.org; Tue, 26 Jan 2016 08:07:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO3Ku-00045Q-Gy for emacs-orgmode@gnu.org; Tue, 26 Jan 2016 08:07:14 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lh7cu8r0.fsf@kyleam.com> (Kyle Meyer's message of "Tue, 26 Jan 2016 01:58:59 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kyle Meyer Cc: 22399@debbugs.gnu.org, Rasmus , Phillip Lord >> I see the problem. org-src-font-lock-fontify-block is using buffers >> named " org-src-fontification:" in an unusual way: >> they're updated via normal buffer modifications, but they're not put in >> font-lock-mode, so all the font-lock machinery which tries to keep the >> fontification up-to-date is short-circuited, so it triggers a bug in >> font-lock-ensure where we made incorrect assumptions. >> I installed the patch below into emacs-25, which should fix this >> problem, > Thank you. That seems to work nicely. > Is there anything else I need to do for the first patch? No, it's good to go. If you don't have commit rights, I can install it for you into emacs-25, unless the Org guys prefer to do it via the Org tree. Stefan