From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Li Shuai Newsgroups: gmane.emacs.help Subject: Re: Need help about octave integration on emacs 24.3 Date: Tue, 25 Nov 2014 21:00:50 +0800 Message-ID: References: <87sih8o7kx.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416920480 18721 80.91.229.3 (25 Nov 2014 13:01:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 13:01:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Leo Liu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 14:01:13 2014 Return-path: Envelope-to: geh-help-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 1XtFjz-0001PP-Vo for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 14:01:12 +0100 Original-Received: from localhost ([::1]:57042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtFjz-0006XX-GV for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 08:01:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtFjh-0006X6-Df for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 08:00:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtFjg-00068d-Av for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 08:00:53 -0500 Original-Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:44308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtFjf-00068U-UO for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 08:00:52 -0500 Original-Received: by mail-la0-f51.google.com with SMTP id ms9so460207lab.38 for ; Tue, 25 Nov 2014 05:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u0C5oZSkQOu/GUcHk286lYXYMifFZlU/kShh/q5uCYk=; b=Jp7Y1TFPVFK2hVmQKiORJ92dtUPIRzCEoyte0TNOXvLOQswqS5I3IBJLibxwVEWn4c fAqM1EqJOo93aOL6QiCu7R4Vv/lx/qqyUSucGll61oObkCPKt7Z378ZQVaCAjioyln6V OGbI29rZPdK2DGKdrkrT7Fo+0mWdgjiW6UHIXarjCKTvXyNTP92dSarwuMlzTWaVMJIl qKzyxSbHD2kl+FWbTU7SeW7Hw9Pr5IGI4ukyzpt7ffxpYbQX3ZrVIs35n5y46Ld3FVKY z67nyGKY7PfPrsm9g487AehfFrsu4jzM4g2bIHWmEEVUB3YkCnXr6EPRitWazi6sKzdX UX6g== X-Received: by 10.112.167.130 with SMTP id zo2mr26585197lbb.4.1416920450908; Tue, 25 Nov 2014 05:00:50 -0800 (PST) Original-Received: by 10.112.91.168 with HTTP; Tue, 25 Nov 2014 05:00:50 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101158 Archived-At: It could be that you configured emacs to load octave-mod.el. octave-mod and octave.inf are merged into one file octave.el. Try the test with `emacs -q=E2=80=99 i.e. without loading your init file. I think the file name is built in in emacs, and I have tried start emacs with -q. The same result. Also, I have tried to grep the source of emacs 24.3, and did not find any places where octave-mod gets loaded. Actually, in my limited knowledge emacs does not match file names, it only search for (provide =E2=80=98octav= e-mod). I do not understand why emacs is trying to load the file octave-mod.el this time. Am I wrong? =E2=80=8B On Tue, Nov 25, 2014 at 10:25 AM, Li Shuai wrote: > Thanks, emacs fellow. I have tried to use the octave.el from emacs 24.4. > This is what I did: > > 1. Download octave.el from emacs 24.4 source > 2. Put it where emacs can search for. > 3. Delete octave-mod.elc and octave-inf.elc in the origin distribution. > > But I got the following error: > > Cannot open load file: octave-mod > > I guess I need more change than that. What should I do? > > On Tue, Nov 25, 2014 at 1:02 AM, Leo Liu wrote: > >> On 2014-11-24 23:22 +0800, Li Shuai wrote: >> > Any suggestions to fix it? >> >> Use octave.el from emacs git repo. Should work on 24.x. >> >> Leo >> >> >> >