thanks Nicolas - will go back and dig further. Not sure where to look next though. Tim On 26 February 2017 at 20:19, Nicolas Goaziou wrote: > Hello, > > Tim Cross writes: > > > There appers to be a compatibility issue between latest org-mode and > > goto-addr.el in emacs 25.1. Specifically, the 'goto-address-prog-mode > > funciton. When this function is added to prog-mode-hook, opening an org > > file with src blocks results in an org-mode fontification error. > > > > Minimal init.el used to reproduce this issue is > > > > ;; -------------- Start init.el --------------------------------------- > > (require 'package) > > > > (setq package-enable-at-startup nil) > > (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")) > > (package-initialize) > > > > (unless (package-installed-p 'org-plus-contrib) > > (package-refresh-contents) > > (package-install 'org-plus-contrib)) > > > > (require 'org) > > > > (require 'goto-addr) > > > > (add-hook 'prog-mode-hook 'goto-address-prog-mode) > > > > ;; ------------------------ End init.el ------------------------------ > > > > minimal test org file used to reporduce the problem > > > > ;; ----------------------- Start test.org ----------------------------- > > * Test > > This is a simple test org file > > > > #+BEGIN_SRC emacs-lisp > > (message "A Test") > > #+END_SRC > > > > ;; ------------------------ End test.org ----------------------------- > > FWIW, I cannot reproduce it. > > Regards, > > -- > Nicolas Goaziou > -- regards, Tim -- Tim Cross