From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Subject: Re: Bug: Strike-through messes with heading face [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/27.0.50/lisp/org/)] Date: Sun, 28 Apr 2019 18:31:18 +0200 Message-ID: <87o94q9jmx.fsf@gmail.com> References: <87r2a4ztt2.fsf@gmail.com> <87pnp7fkvv.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKmiS-0007bf-Ga for emacs-orgmode@gnu.org; Sun, 28 Apr 2019 12:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKmiR-0006kt-Hw for emacs-orgmode@gnu.org; Sun, 28 Apr 2019 12:31:48 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKmiR-0006kN-Cf for emacs-orgmode@gnu.org; Sun, 28 Apr 2019 12:31:47 -0400 Received: by mail-wr1-x42d.google.com with SMTP id a9so12143575wrp.6 for ; Sun, 28 Apr 2019 09:31:46 -0700 (PDT) In-Reply-To: <87pnp7fkvv.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 27 Apr 2019 18:55:32 +0200") 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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Thank you for applying the patch, although after discussing with Stefan Monnier on help-gnu-emacs[1], I believe the correct fix should go in Emacs's font-lock.el. font-lock-prepend-text-property should work just as well as font-lock-append-text-property, and my patch relies on undefined behaviour IIUC. I am currently writing a proper bug report, which I will submit to bug-gnu-emacs. https://lists.gnu.org/archive/html/help-gnu-emacs/2019-04/msg00248.html