From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Barnett Newsgroups: gmane.emacs.help Subject: emacs hangs when executing M-x run-octave Date: Mon, 26 Jan 2015 11:17:58 -0500 Message-ID: <54C668B6.60500@verizon.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1422290885 11398 80.91.229.3 (26 Jan 2015 16:48:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 16:48:05 +0000 (UTC) To: help-octave@octave.org, "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 17:48:00 2015 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 1YFmpT-0000BQ-0a for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 17:47:59 +0100 Original-Received: from localhost ([::1]:42868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFmpS-00063g-8d for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 11:47:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFmKl-0007QQ-AT for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 11:16:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFmKg-0001QU-6p for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 11:16:15 -0500 Original-Received: from vms173023pub.verizon.net ([206.46.173.23]:49733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFmKg-0001P2-19 for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 11:16:10 -0500 Original-Received: from [192.168.1.5] ([173.66.29.191]) by vms173023.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NIS00M5NL65HW30@vms173023.mailsrvcs.net> for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 10:15:42 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=b6gFOWC0 c=1 sm=1 tr=0 a=yf98WfEnfhV7833JNPD47Q==:117 a=cmpKiNEfRqcA:10 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=gZbpxnkM3yUA:10 a=ojV8EbLLAAAA:8 a=a9DZkYzKqXE8rC880I8A:9 a=QEXdDO2ut3YA:10 a=jTFjQPTn9V0A:10 a=McKLNElF6pUA:10 a=SqjrKKlN2AM6Nv1g9ScA:9 a=j-tDywfyFL65ioYy:21 a=_W_S_7VecoQA:10 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.46.173.23 X-Mailman-Approved-At: Mon, 26 Jan 2015 11:47:42 -0500 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:102291 Archived-At: I want to run octave from emacs as an inferior process. I'm running emacs 23.3.1 on Ubuntu 14.04. My .emacs file contains the lines (autoload 'octave-mode "octave-mod" nil t) (setq auto-mode-alist (cons '("\\.m$" . octave-mode) auto-mode-alist)) (add-hook 'octave-mode-hook (lambda () (abbrev-mode 1) (auto-fill-mode 1) (if (eq window-system 'x) (font-lock-mode 1)))) (autoload 'run-octave "octave-inf" nil t) Octave is installed on my machine: cavu{asb}118: which octave /usr/bin/octave Octave starts properly from the terminal: cavu{asb}119: octave GNU Octave, version 3.8.1 Copyright (C) 2014 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. Octave was configured for "x86_64-pc-linux-gnu". Additional information about Octave is available at http://www.octave= .org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/get-involved.html Read http://www.octave.org/bugs.html to learn how to submit bug repor= ts. For information about changes from previous versions, type 'news'. octave:1> When I run emacs and type M-x run-octave the cursor turns into a circle with a rotating dotted arc inside. oct= ave=20 doesn't start, and emacs is unresponsive (I have to kill it from the= =20 command line.) Any ideas? Thanks.