From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Charles Millar Newsgroups: gmane.emacs.help Subject: rec-mode initialization, emacs 25, org mode Date: Fri, 10 Mar 2017 14:33:10 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1489178081 26349 195.159.176.226 (10 Mar 2017 20:34:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2017 20:34:41 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 To: bug-recutils@gnu.org, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 10 21:34:37 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmRFD-0006Aw-SH for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 21:34:35 +0100 Original-Received: from localhost ([::1]:40888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmRFK-00083W-15 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 15:34:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmREs-00081q-3i for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 15:34:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmREr-0000pi-18 for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 15:34:14 -0500 Original-Received: from vms173009pub.verizon.net ([206.46.173.9]:58112) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmREm-0007sZ-ER; Fri, 10 Mar 2017 15:34:08 -0500 Original-Received: from vz-proxy-m001.mx.aol.com ([64.236.83.14]) by vms173009.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0OMM002BH6BBOXC0@vms173009.mailsrvcs.net>; Fri, 10 Mar 2017 13:33:11 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=JcfMlQCV c=1 sm=1 tr=0 a=MJxOpqxZADbEbEImuSX/mw==:117 a=IkcTkHD0fZMA:10 a=9ikN3WehYqkA:10 a=6Iz7jQTuP9IA:10 a=AMAfHYYYotNdNvvmX8YA:9 a=QEXdDO2ut3YA:10 Original-Received: by 74.106.194.12 with SMTP id 7dd8d2d6; Fri, 10 Mar 2017 19:33:11 GMT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.46.173.9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112525 Archived-At: 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