emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to font-lock diffs?


From: John Kitchin
Subject: Re: [O] How to font-lock diffs?
Date: Wed, 22 Aug 2018 08:44:08 -0400

This does Just Work™ for me if I remove the two spaces at the front of each line. I never use the indentation, so I am not sure what the interplay there is.

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Wed, Aug 22, 2018 at 4:51 AM, Marcin Borkowski <address@hidden> wrote:
Hi all,

I hoped this:

#+begin_src diff
  @@ -1,5 +1,5 @@
  -lorem
  +Lorem
   ipsum
   dolor
   sit
  -amet
  +amet.
#+end_src

would Just Work™, 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,

--
Marcin Borkowski
http://mbork.pl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]