help-gnu-emacs
[Top][All Lists]
Advanced

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

rec-mode initialization, emacs 25, org mode


From: Charles Millar
Subject: rec-mode initialization, emacs 25, org mode
Date: Fri, 10 Mar 2017 14:33:10 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

I can't recall if I posted this observation a while back; if so, then here it is - again.

Whle using rec-mode with recutils 1.7 and

GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Org mode version 9.0.5 (release_9.0.5-351-g0e0fda.dirty @ /usr/local/share/emacs/site-lisp/org-mode/lisp/)

emacs loaded no problem with the following in my init file

;;;;;;;;;;;;;;;;;;;;;;;;; Org mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/org-mode/lisp")
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/org-mode/contrib/lisp")

---snip---

 (org-babel-do-load-languages
     'org-babel-load-languages '((awk . t)
                  (calc . t)
                  (C . t)
                  (clojure . t)
                  (emacs-lisp . t)
                  (latex . t)
                  (ledger . t)
                  (lisp . t)
                  (org . t)
                  (rec . t)
                  (scheme . t)
                  (shell . t)
))

----snip----

;;;;;;;;;;;;;;;;;;;;;;;RecUtils;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-to-list 'load-path "/usr/share/emacs/site-lisp/")
(require 'rec-mode)
(add-to-list 'auto-mode-alist '("\\.rec\\'" . rec-mode))

;;;;;;;;;;;;;;;;;;;;;;;; etc ;;;;;;;;;;;;;;;;;;;;;;;;;

When I started emacs 25 using the same init file I received the following

File error: Cannot open load file, No such file or directory, ob-rec

I relocated the rec-mode stanza before the org mode stanzas and there was no problem.

GNU Emacs 25.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-07-21 Org mode version 9.0.5 (release_9.0.5-351-g0e0fda.dirty @ /usr/local/share/emacs/site-lisp/org-mode/lisp/)

Just bringing this to your attention if changes from Emacs 24 to 25 has affected the order in which rec mode must be loaded.

Best,

Charlie Millar




reply via email to

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