|
From: | Tim Cross |
Subject: | Re: [O] Bug: Latest org and goto-addr problems [9.0.5 (9.0.5-elpaplus @ /home/tim/.emacs.d/elpa/org-plus-contrib-20170210/)] |
Date: | Sun, 26 Feb 2017 21:59:25 +1100 |
Hello,
FWIW, I cannot reproduce it.
Tim Cross <address@hidden> 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 -----------------------------
Regards,
--
Nicolas Goaziou
[Prev in Thread] | Current Thread | [Next in Thread] |