From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: 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 10:19:04 +0100 Message-ID: <87efylux6f.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chuz1-0000RD-01 for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 04:19:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chuyx-0006Cj-RO for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 04:19:10 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60906) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1chuyx-0006C9-Ln for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 04:19:07 -0500 In-Reply-To: (Tim Cross's message of "Sun, 26 Feb 2017 11:31:56 +1100") 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: Tim Cross Cc: emacs-orgmode@gnu.org 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