From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.help Subject: Re: Debugging matlab with emacs and avoiding matlab editor Date: Fri, 11 Sep 2009 13:36:16 +0200 Message-ID: References: <878wgn6msm.fsf@es.aau.dk> <87ljklykhi.fsf@es.aau.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252671717 505 80.91.229.12 (11 Sep 2009 12:21:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2009 12:21:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 14:21:50 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mm58P-0007SZ-9Z for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 14:21:49 +0200 Original-Received: from localhost ([127.0.0.1]:57656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm58N-0002fe-05 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 08:21:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mm4Qs-0008Nd-EH for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:36:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mm4Ql-0008BX-5h for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:36:48 -0400 Original-Received: from [199.232.76.173] (port=40803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm4Qk-0008BB-Vb for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:36:43 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:39887) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mm4Qk-0000e4-CM for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 07:36:42 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mm4Qg-0002oO-IN for help-gnu-emacs@gnu.org; Fri, 11 Sep 2009 13:36:38 +0200 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 13:36:38 +0200 Original-Received: from deng by kafka.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 13:36:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: kafka.physik3.gwdg.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:y+SUuoaSISWVxf7R8lS84xsW6Mo= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68043 Archived-At: Torben Knudsen writes: > David Engster writes: >> Torben Knudsen writes: >>> I am using matlab mode in emacs to run matlab without using any of the >>> matlab buildt in GUI. However, when I use debugging eg. "dbstop >>> error" the matlab editor opens. Does anyone know how to avoid this? >> >> com.mathworks.services.Prefs.setBooleanPref('EditorGraphicalDebugging', >> false); > > I have use the above as a matlab command but it does not stop the > matlab editor from opening on errors when debugging. I don't know any other method. You can disable usage of Java completely by appending "-nojvm" to the Matlab command switches (M-x customize-variable RET matlab-shell-command-switches RET), but then you also won't be able to use anything else that requires Java. >> If you use the latest matlab-mode (http://matlab-emacs.sf.net), it >> should insert that line for you automatically. > > I use matlab.el 3.0.1. What is the differense between this version > and the one above you suggest? It works better with recent Matlab versions, for example. -David