emacs-devel
[Top][All Lists]
Advanced

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

Possible compatibility issue with emacs 25.1 and latest org-mode


From: Tim Cross
Subject: Possible compatibility issue with emacs 25.1 and latest org-mode
Date: Sun, 26 Feb 2017 13:20:55 +1100

This is really just an FYI as I've reported this issue to the org developers. 

Most recent org-plus-contrib package from org generates an org-mode fontification error when you also use goto-address-prog-mode in a prog-mode-hook.  Details, with minimal init.el file to reproduce follows 

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 -----------------------------

used emacs -Q -l .emacs.d/init.el to load the init after ensuring .emacs.d/elpa is empty.  After startup and download/install of org-plus-contrib, open test.org and get the org-mode fontificaiton error message


--
regards,

Tim

--
Tim Cross


reply via email to

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