unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rec-mode initialization, emacs 25, org mode
@ 2017-03-10 19:33 Charles Millar
  0 siblings, 0 replies; only message in thread
From: Charles Millar @ 2017-03-10 19:33 UTC (permalink / raw)
  To: bug-recutils, help-gnu-emacs

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-10 19:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-10 19:33 rec-mode initialization, emacs 25, org mode Charles Millar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).