From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: How to font-lock diffs? Date: Wed, 22 Aug 2018 10:51:17 +0200 Message-ID: <87muteg4xm.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsOsI-0001P4-Nw for emacs-orgmode@gnu.org; Wed, 22 Aug 2018 04:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsOsE-0003mY-PO for emacs-orgmode@gnu.org; Wed, 22 Aug 2018 04:52:22 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:43420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsOsE-0003kN-Ew for emacs-orgmode@gnu.org; Wed, 22 Aug 2018 04:52:18 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 9AEB6E6530 for ; Wed, 22 Aug 2018 10:52:14 +0200 (CEST) Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qpgdfT4F1IsV for ; Wed, 22 Aug 2018 10:52:10 +0200 (CEST) Received: from localhost (188.47.10.159.ipv4.supernova.orange.pl [188.47.10.159]) by mail.mojserwer.eu (Postfix) with ESMTPSA id A6FDAE652E for ; Wed, 22 Aug 2018 10:52:10 +0200 (CEST) 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: Org-Mode mailing list Hi all, I hoped this: #+begin_src diff @@ -1,5 +1,5 @@ -lorem +Lorem ipsum dolor sit -amet +amet. #+end_src would Just Work=E2=84=A2, i.e., the diff would be font-locked like in diff-mode. Well, it is not. How do I convince Org-mode to color my diffs? Best, --=20 Marcin Borkowski http://mbork.pl