From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Ryan Newsgroups: gmane.emacs.bugs Subject: bug#21143: 24.5; M-x octave-mode fails with: Cannot open load file: no such file or directory, octave-mod Date: Sun, 26 Jul 2015 23:47:43 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d67fe06dcbc051bd5bbf0 X-Trace: ger.gmane.org 1438011106 27061 80.91.229.3 (27 Jul 2015 15:31:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 15:31:46 +0000 (UTC) To: 21143@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 17:31:29 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZJkN7-0005qa-3O for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 17:31:21 +0200 Original-Received: from localhost ([::1]:54159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkN6-0000nK-Cm for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 11:31:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkM0-000871-IN for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:30:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkLy-0000Rd-KL for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:30:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkLy-0000RC-HY for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:30:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJkLx-0007YR-Ey for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 11:30:09 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Ryan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2015 15:30:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21143 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143801098228977 (code B ref -1); Mon, 27 Jul 2015 15:30:08 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2015 15:29:42 +0000 Original-Received: from localhost ([127.0.0.1]:60368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkLU-0007XI-UY for submit@debbugs.gnu.org; Mon, 27 Jul 2015 11:29:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51602) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJcCT-0000SN-DZ for submit@debbugs.gnu.org; Mon, 27 Jul 2015 02:47:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJcCR-0005za-Oh for submit@debbugs.gnu.org; Mon, 27 Jul 2015 02:47:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJcCR-0005zW-LI for submit@debbugs.gnu.org; Mon, 27 Jul 2015 02:47:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJcCP-0005ft-TK for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 02:47:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJcCO-0005yl-9p for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 02:47:45 -0400 Original-Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:35246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJcCO-0005yH-2q for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 02:47:44 -0400 Original-Received: by oihq81 with SMTP id q81so46768813oih.2 for ; Sun, 26 Jul 2015 23:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nDT2Pf4IMKCZjka8Tvz7QjgTsXQl4GuHpvKKmiT2OyE=; b=hynbXws5gMNk8zTY/y2r/Hj5bcUG0SzLiHXE2dM4bEhrGMPLN0+FXwYpIG9ecCMl+c M4RNQpef2LaRoveMDe0Bc+wQRthatBt42zm+mJZQghlMXgn9ZZ6+D+84ZLe1kM7dFWaO DEaCWvPPOzRMAQ/0B/XGV8+Ygex5VuvV0bYpCH3TPxIyKho+ps+knq3wMIPhsuYoNuPq T508H+ZOf4bl0Tv4J1DcKpzRN1Zseq7BYISW4B73bQEhvCyYPaxSbg9LYK25kz4SOn+Y RpDPuPW39IqGgXLjdJi5hOS8rADkSejFLgq33R/ey/7Q1Iiyyj2dq2S4A8oxAFfrsIW8 uNZg== X-Received: by 10.202.193.65 with SMTP id r62mr25114314oif.1.1437979663324; Sun, 26 Jul 2015 23:47:43 -0700 (PDT) Original-Received: by 10.76.74.200 with HTTP; Sun, 26 Jul 2015 23:47:43 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Mon, 27 Jul 2015 11:29:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105162 Archived-At: --001a113d67fe06dcbc051bd5bbf0 Content-Type: text/plain; charset=UTF-8 Do this: M-x octave mode Observe this error message: Cannot open load file: no such file or directory, octave-mod Author says these files should be installed: https://www.gnu.org/software/octave/doc/interpreter/Installing-EOS.html#Installing-EOS But they are not. Looks like the file got renamed. Here's how I fixed it: $cd /usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/progmodes $mv octave.el.gz octave-mod.el.gz $mv octave.elc octave-mod.elc I didn't see the authors other 2 files in distribution though. octave-inf.el, octave-hlp.el C-h a mode ... 519 octave-mode M-x ... RET 520 (not documented) In GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57) of 2015-05-19 on Alexs-MacBook-Pro-2.local Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --without-dbus --without-gnutls --with-ns --disable-ns-self-contained' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Octave Minor modes in effect: global-linum-mode: t linum-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: File mode specification error: (file-error "Cannot open load file" "no such file or directory" "octave-mod") End of buffer [2 times] Auto-saving... command-execute: Cannot open load file: no such file or directory, octave-mod Type C-x 4 C-o RET to restore the other window. Mark saved where search started Type "q" to restore previous buffer, M-x scroll-up to scroll help. Making completion list... [2 times] command-execute: Cannot open load file: no such file or directory, octave-mod Auto-saving...done Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils octave smie comint ansi-color ring pp help-fns misearch multi-isearch apropos help-mode easymenu xterm time-date linum tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 97306 5730) (symbols 48 18153 0) (miscs 40 482 228) (strings 32 12463 4587) (string-bytes 1 335911) (vectors 16 8319) (vector-slots 8 347347 22744) (floats 8 63 697) (intervals 56 4453 57) (buffers 960 17)) --001a113d67fe06dcbc051bd5bbf0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Do this:
M-x octave mode

Observe this e= rror message:
Cannot open load file: no such file or directory, octave-m= od

Author says these files should be installed:
https://www.gnu.org/software/octave/doc/interpreter/Installing-EOS.h= tml#Installing-EOS

But they are not.

Looks like th= e file got renamed.

Here's how I fixed it:

$cd /usr/local= /Cellar/emacs/24.5/share/emacs/24.5/lisp/progmodes
$mv octave.el.gz octa= ve-mod.el.gz
$mv octave.elc octave-mod.elc

I didn't see the a= uthors other 2 files in distribution though.
octave-inf.el, octave-hlp.e= l

C-h a mode
...
519 octave-mode =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 M-x ... RET
520 =C2=A0 =C2=A0(not doc= umented)




In GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0,= NS apple-appkit-1347.57)
=C2=A0of 2015-05-19 on Alexs-MacBook-Pro-2.loc= al
Configured using:
=C2=A0`configure --prefix=3D/usr/local/Cellar/em= acs/24.5
=C2=A0--enable-locallisppath=3D/usr/local/share/emacs/site-lisp=
=C2=A0--infodir=3D/usr/local/Cellar/emacs/24.5/share/info/emacs --witho= ut-dbus
=C2=A0--without-gnutls --with-ns --disable-ns-self-contained'= ;

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2= =A0 locale-coding-system: utf-8-unix

Major mode: Octave

Minor= modes in effect:
=C2=A0 global-linum-mode: t
=C2=A0 linum-mode: t=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-w= heel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2= =A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 f= ont-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encrypti= on-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t=
=C2=A0 transient-mark-mode: t

Recent messages:
File mode spec= ification error: (file-error "Cannot open load file" "no suc= h file or directory" "octave-mod")
End of buffer [2 times= ]
Auto-saving...
command-execute: Cannot open load file: no such file= or directory, octave-mod
Type C-x 4 C-o RET to restore the other window= . =C2=A0
Mark saved where search started
Type "q" to restor= e previous buffer, M-x scroll-up to scroll help.
Making completion list.= .. [2 times]
command-execute: Cannot open load file: no such file or dir= ectory, octave-mod
Auto-saving...done

Load-path shadows:
None = found.

Features:
(shadow sort gnus-util mail-extr emacsbug messag= e format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-pars= e rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-= drums mm-util
mail-prsvr mail-utils octave smie comint ansi-color ring p= p help-fns
misearch multi-isearch apropos help-mode easymenu xterm time-= date linum
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type= mwheel
ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-li= st
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow tim= er
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core<= br>frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-= viet lao korean japanese hebrew greek romanian slovak czech european
eth= iopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
sim= ple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
fi= les text-properties overlay sha1 md5 base64 format env code-pages mule
c= ustom widget hashtable-print-readable backquote make-network-process
coc= oa ns multi-tty emacs)

Memory information:
((conses 16 97306 5730= )
=C2=A0(symbols 48 18153 0)
=C2=A0(miscs 40 482 228)
=C2=A0(strin= gs 32 12463 4587)
=C2=A0(string-bytes 1 335911)
=C2=A0(vectors 16 831= 9)
=C2=A0(vector-slots 8 347347 22744)
=C2=A0(floats 8 63 697)
=C2= =A0(intervals 56 4453 57)
=C2=A0(buffers 960 17))
--001a113d67fe06dcbc051bd5bbf0--