You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(9) |
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
(3) |
2010 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(13) |
May
(2) |
Jun
(4) |
Jul
(4) |
Aug
(4) |
Sep
|
Oct
(4) |
Nov
(2) |
Dec
(4) |
2011 |
Jan
(11) |
Feb
|
Mar
(18) |
Apr
|
May
(1) |
Jun
(12) |
Jul
(10) |
Aug
(4) |
Sep
(4) |
Oct
(5) |
Nov
|
Dec
(10) |
2012 |
Jan
(4) |
Feb
(26) |
Mar
|
Apr
(1) |
May
|
Jun
(8) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(14) |
Nov
(1) |
Dec
(2) |
2013 |
Jan
(5) |
Feb
(2) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
|
Jul
(8) |
Aug
(4) |
Sep
|
Oct
(7) |
Nov
(2) |
Dec
(7) |
2014 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
|
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(7) |
Oct
(9) |
Nov
(9) |
Dec
(5) |
2015 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
(10) |
Jul
(3) |
Aug
(4) |
Sep
(8) |
Oct
(1) |
Nov
(3) |
Dec
(3) |
2016 |
Jan
(12) |
Feb
(59) |
Mar
(23) |
Apr
(11) |
May
(4) |
Jun
(15) |
Jul
|
Aug
|
Sep
(9) |
Oct
(19) |
Nov
(12) |
Dec
(5) |
2017 |
Jan
(1) |
Feb
(5) |
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(5) |
Aug
|
Sep
(3) |
Oct
(12) |
Nov
(15) |
Dec
|
2018 |
Jan
(7) |
Feb
(6) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(2) |
Oct
(4) |
Nov
|
Dec
|
2019 |
Jan
(2) |
Feb
(9) |
Mar
(4) |
Apr
(9) |
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(6) |
Dec
(5) |
2020 |
Jan
(9) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(28) |
Dec
(5) |
2021 |
Jan
(11) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(15) |
Jun
(9) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(3) |
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(4) |
Jun
|
Jul
(22) |
Aug
(3) |
Sep
|
Oct
(1) |
Nov
|
Dec
(14) |
2024 |
Jan
|
Feb
|
Mar
|
Apr
(17) |
May
(35) |
Jun
(1) |
Jul
(18) |
Aug
(31) |
Sep
(5) |
Oct
(18) |
Nov
(20) |
Dec
(9) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <Bo...@gm...> - 2013-04-09 18:26:26
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hallo i got matlab-emacs run on my system without problems. Now i would like to read about all the posibillities of this mode. Is there a manual or something similar where i can find all shortcuts and special options?</div> <div> </div> <div>Thanks</div> <div>Seb</div></div></body></html> |
From: Eric L. <Eri...@ma...> - 2013-03-29 14:10:39
|
From: Mann [mailto:x6...@ya...] Sent: Friday, March 29, 2013 9:04 AM To: mat...@li... Subject: [Matlab-emacs-discuss] (no subject) I recently downloaded the matlab-mode and really loved every aspect of it except for one thing: the code completion does not work when editing a .m file. It only works when in the matlab shell mode. Is that what it is supposed to behave? If not, can someone help me solve this problem? Hi, The shell code completion works by asking MATLAB what the completions are. This gives you a really vast ability to complete. Completion in the shell has a hard-coded list of constants to complete with. See all the variables that start with `matlab-keywords-'. For matlab-mode, you can also install the CEDET extra for matlab-mode. This has a primitive parser that will complete your symbols, find variables, and a few other tricks I don't recall. It will probably hit to 70% accuracy for you. Good Luck Eric |
From: Mann <x6...@ya...> - 2013-03-29 13:04:14
|
I recently downloaded the matlab-mode and really loved every aspect of it except for one thing: the code completion does not work when editing a .m file. It only works when in the matlab shell mode. Is that what it is supposed to behave? If not, can someone help me solve this problem? |
From: Eric L. <Eri...@ma...> - 2013-02-27 21:12:49
|
Hi Shiquan, I don’t have a release plan for the Emacs MATLAB mode in terms of a release schedule. When I have small changes, and when I get a patch via email, I check them into CVS, which makes them available for others to download, and keep up to date with. Eric From: Shiquan Wang [mailto:shi...@gm...] Sent: Wednesday, February 27, 2013 9:34 AM To: mat...@li... Subject: [Matlab-emacs-discuss] How often does matlab-emacs update Hi All, I am curious how often does matlab-emacs update or is there a update plan? I've tried many times to find the answer by google or from the docs but no result. Best, -- 王时全 Shiquan Wang ************************************************************************************** National Laboratory of Pattern Recognition (NLPR) Institute of Automation, Chinese Academy of Sciences(CASIA) No.95 ZhongGuanCun East Road, HaiDian District, Beijing, China, 100190 Tel: +86-10-62653768 Fax: +86-10-62551993 Email: sq...@nl...<mailto:sq...@nl...> / shi...@gm...<mailto:shi...@gm...> Homepage: http://www.cbsr.ia.ac.cn/users/sqwang/ ************************************************************************************** |
From: Shiquan W. <shi...@gm...> - 2013-02-27 14:34:19
|
Hi All, I am curious how often does matlab-emacs update or is there a update plan? I've tried many times to find the answer by google or from the docs but no result. Best, -- 王时全 Shiquan Wang ************************************************************************************** National Laboratory of Pattern Recognition (NLPR) Institute of Automation, Chinese Academy of Sciences(CASIA) No.95 ZhongGuanCun East Road, HaiDian District, Beijing, China, 100190 Tel: +86-10-62653768 Fax: +86-10-62551993 Email: sq...@nl... / shi...@gm... Homepage: http://www.cbsr.ia.ac.cn/users/sqwang/ ************************************************************************************** |
From: newsboost <new...@gm...> - 2013-01-17 22:49:32
|
Hi, Aah, thank you very much for clearing this out... The information below is exactly what I had a little problems with. It seems like once in a while, the matlab-mode "loses sync" with indicating where it is debugging in the other window... I think the real strength of emacs is for people who are good at lisp and who can adjust all kinds of small settings... After having used this mode for some time, I'm not completely as sure, whether this is beneficial for me or not. The fact that it "loses sync" sometimes is a bit annoying. I'm not sure exactly how I would like the matlab-emacs-mode to work, if I was good enough at making emacs do exactly what I wanted. Maybe it would be a big improvement if it never lost this "sync" so I always knew which line I was debugging. The good thing about emacs is that I don't need to use the mouse so much - however, maybe the matlab editor is ok, after all... Not sure what I prefer - let me think about it and maybe get back with suggestions/ideas/questions, if something comes to my mind... Thanks a lot for taking the time to answer me, also! I know people use their spare time for such things, so I really appreciate your answer and the work that has been done with the matlab-emacs-stuff - thanks! On 01/15/2013 10:57 PM, Eric Ludlam wrote: > > Hi, > > The MATLAB command prompt and commands you type in is MATLAB. If you > went to an xterm, and type: > > matlab --nodesktop > > you would get the same interface to MATLAB. > > The prompt does not take gud commands. gud commands would go through > Emacs. For example, you would type: > > plot(1:10) > > at the >> prompt in the buffer to do some MATLAB thing, or: > > dbstop in myfcn > > at the same place to get to the K>> prompt. To do gud things, type: > > M-x gud-step RET > > to run the Emacs GUD command. The matlab shell is supposed to add > the GUD menu to matlab-mode buffers (where your source code is) when > it sees the K prompt. Unfortunately, MATLAB sometimes is updated > faster than I can keep the Emacs mode up to date, so it is possible > that broke. > > In the matlab shell, you can always use the keybindings though, such > as C-c C-n to do a 'next'. > > You can do C-h b to key mode bindings. > > Eric > > *From:*newsboost [mailto:new...@gm...] > *Sent:* Friday, January 04, 2013 5:45 AM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] debugging: GUD seems not to be working ? > > Hi, > > I'm totally new with matlab in emacs, but it looks great - I found a > good source of information here: > > http://blog.angjookanazawa.com/post/8815280589/productivity-matlab-emacs-integration-more > > What I did, was to use the package software tool (synaptic) in ubuntu > to dowload "matlab-support" and I didn't do all the CVS-stuff to > download anything other than this (maybe that's what I did wrong?). > > Anyway, I tried "M-x matlab-shell" and it seemed to work immediately! > What I found looked (=looks) so great and cool. I can now type things > exactly as in Matlab and plot graphs from inside of emacs using e.g. > "plot(1:5, 2:6)" etc. Last thing that would make me really happy is to > have debugging work in a nice way. > > I don't have a GUD-menu. I tried "dbstop matlabfile.m linenumber" and > then "run matlabfile" (without the .m-extension) and voila, it ran and > stopped at that place. So far so good. Then I typed: "dbstep" and I > can see that this works too. It steps a line ahead... > > But I think I should have a GUD-menu... I tried "M-x gud-step" and it > writes: > > K>> gud-step > gud-step > {??? Undefined function or variable 'gud'. > } > K>> if usejava('jvm'), > com.mathworks.services.Prefs.setBooleanPref('EditorGraphicalDebugging', false); > end > K>> gud-step > gud-step > {??? Undefined function or variable 'gud'. > } > > I want to assign a single key for "next", "step", "continue" etc... > Isn't something wrong here? > > Shouldn't I have a GUD menu ? > > Please comment on this, thank you very much... I would like single-key > debugging turned on and then I think maybe I'll get rid of this > matlab-stuff and only use emacs in the future (I hope)... > > Thanks for ANY comments/ideas/suggestions... > |
From: Eric L. <Eri...@ma...> - 2013-01-15 21:57:21
|
Hi, The MATLAB command prompt and commands you type in is MATLAB. If you went to an xterm, and type: matlab -nodesktop you would get the same interface to MATLAB. The prompt does not take gud commands. gud commands would go through Emacs. For example, you would type: plot(1:10) at the >> prompt in the buffer to do some MATLAB thing, or: dbstop in myfcn at the same place to get to the K>> prompt. To do gud things, type: M-x gud-step RET to run the Emacs GUD command. The matlab shell is supposed to add the GUD menu to matlab-mode buffers (where your source code is) when it sees the K prompt. Unfortunately, MATLAB sometimes is updated faster than I can keep the Emacs mode up to date, so it is possible that broke. In the matlab shell, you can always use the keybindings though, such as C-c C-n to do a 'next'. You can do C-h b to key mode bindings. Eric From: newsboost [mailto:new...@gm...] Sent: Friday, January 04, 2013 5:45 AM To: mat...@li... Subject: [Matlab-emacs-discuss] debugging: GUD seems not to be working ? Hi, I'm totally new with matlab in emacs, but it looks great - I found a good source of information here: http://blog.angjookanazawa.com/post/8815280589/productivity-matlab-emacs-integration-more What I did, was to use the package software tool (synaptic) in ubuntu to dowload "matlab-support" and I didn't do all the CVS-stuff to download anything other than this (maybe that's what I did wrong?). Anyway, I tried "M-x matlab-shell" and it seemed to work immediately! What I found looked (=looks) so great and cool. I can now type things exactly as in Matlab and plot graphs from inside of emacs using e.g. "plot(1:5, 2:6)" etc. Last thing that would make me really happy is to have debugging work in a nice way. I don't have a GUD-menu. I tried "dbstop matlabfile.m linenumber" and then "run matlabfile" (without the .m-extension) and voila, it ran and stopped at that place. So far so good. Then I typed: "dbstep" and I can see that this works too. It steps a line ahead... But I think I should have a GUD-menu... I tried "M-x gud-step" and it writes: K>> gud-step gud-step {??? Undefined function or variable 'gud'. } K>> if usejava('jvm'), com.mathworks.services.Prefs.setBooleanPref('EditorGraphicalDebugging', false); end K>> gud-step gud-step {??? Undefined function or variable 'gud'. } I want to assign a single key for "next", "step", "continue" etc... Isn't something wrong here? Shouldn't I have a GUD menu ? Please comment on this, thank you very much... I would like single-key debugging turned on and then I think maybe I'll get rid of this matlab-stuff and only use emacs in the future (I hope)... Thanks for ANY comments/ideas/suggestions... |
From: Eric L. <Eri...@ma...> - 2013-01-15 21:50:00
|
Hi Shiquan, Your best bet is to edit matlab.el, and remove the key-binding to matlab-complete-symbol, or you can write some code after matlab.el is loaded to remove the keybinding from matlab-mode-map. Once you do that, it won’t get in the way of the M-TAB keybinding anymore. I’m not familiar with using auto-complete & semantic, or why it might not work with matlab mode. It may be that ac-source-semantic depends on tags that are very similar to those from C or Java, and the matlab tags might be a little different. We’d have to figure out what the difference is. Eric From: Shiquan Wang [mailto:shi...@gm...] Sent: Friday, January 11, 2013 2:07 AM To: mat...@li... Subject: [Matlab-emacs-discuss] How to disable auto completion in matlab.el Hi, I want to use auto-complete for matlab-mode. Two ways can achieve this: 1. Extract matlab-complete-symbol from matlab.el as the candidates in auto-complete source, described in uhiaha888's blog<http://d.hatena.ne.jp/uhiaha888/20100815/1281888552>. 2. Use ac-source-semantic, ac-source-semantic-raw in auto-complete-config.el. Several drawbacks I find and don't know how to solve so I post this message: 1. ac-source-semantic seems not working, it's very similar to ac-source-semantic-raw 2. completion from matlab.el is blocking auto-complete showing candidates, I have to use M-x auto-complete to trigger the candidates drop-down list. So how to deal with the two issues. Best, Shiquan -- 王时全 Shiquan Wang ************************************************************************************** National Laboratory of Pattern Recognition (NLPR) Institute of Automation, Chinese Academy of Sciences(CASIA) No.95 ZhongGuanCun East Road, HaiDian District, Beijing, China, 100190 Tel: +86-10-62653768 Fax: +86-10-62551993 Email: sq...@nl...<mailto:sq...@nl...> / shi...@gm...<mailto:shi...@gm...> Homepage: http://www.cbsr.ia.ac.cn/users/sqwang/ ************************************************************************************** |
From: Shiquan W. <shi...@gm...> - 2013-01-11 07:06:41
|
Hi, I want to use auto-complete for matlab-mode. Two ways can achieve this: 1. Extract matlab-complete-symbol from matlab.el as the candidates in auto-complete source, described in uhiaha888's blog<http://d.hatena.ne.jp/uhiaha888/20100815/1281888552> . 2. Use ac-source-semantic, ac-source-semantic-raw in auto-complete-config.el. Several drawbacks I find and don't know how to solve so I post this message: 1. ac-source-semantic seems not working, it's very similar to ac-source-semantic-raw 2. completion from matlab.el is blocking auto-complete showing candidates, I have to use M-x auto-complete to trigger the candidates drop-down list. So how to deal with the two issues. Best, Shiquan -- 王时全 Shiquan Wang ************************************************************************************** National Laboratory of Pattern Recognition (NLPR) Institute of Automation, Chinese Academy of Sciences(CASIA) No.95 ZhongGuanCun East Road, HaiDian District, Beijing, China, 100190 Tel: +86-10-62653768 Fax: +86-10-62551993 Email: sq...@nl... / shi...@gm... Homepage: http://www.cbsr.ia.ac.cn/users/sqwang/ ************************************************************************************** |
From: newsboost <new...@gm...> - 2013-01-04 10:45:12
|
Hi, I'm totally new with matlab in emacs, but it looks great - I found a good source of information here: http://blog.angjookanazawa.com/post/8815280589/productivity-matlab-emacs-integration-more What I did, was to use the package software tool (synaptic) in ubuntu to dowload "matlab-support" and I didn't do all the CVS-stuff to download anything other than this (maybe that's what I did wrong?). Anyway, I tried "M-x matlab-shell" and it seemed to work immediately! What I found looked (=looks) so great and cool. I can now type things exactly as in Matlab and plot graphs from inside of emacs using e.g. "plot(1:5, 2:6)" etc. Last thing that would make me really happy is to have debugging work in a nice way. I don't have a GUD-menu. I tried "dbstop matlabfile.m linenumber" and then "run matlabfile" (without the .m-extension) and voila, it ran and stopped at that place. So far so good. Then I typed: "dbstep" and I can see that this works too. It steps a line ahead... But I think I should have a GUD-menu... I tried "M-x gud-step" and it writes: K>> gud-step gud-step {??? Undefined function or variable 'gud'. } K>> if usejava('jvm'), com.mathworks.services.Prefs.setBooleanPref('EditorGraphicalDebugging', false); end K>> gud-step gud-step {??? Undefined function or variable 'gud'. } I want to assign a single key for "next", "step", "continue" etc... Isn't something wrong here? Shouldn't I have a GUD menu ? Please comment on this, thank you very much... I would like single-key debugging turned on and then I think maybe I'll get rid of this matlab-stuff and only use emacs in the future (I hope)... Thanks for ANY comments/ideas/suggestions... |
From: Jordan K. <jor...@gm...> - 2012-12-21 14:48:52
|
I found a partial solution to my question that changes the initialization of CommandWindowSize, but can't update the parameter. Create a shell-script that sets stty rows and columns to your desired sizes and then calls MATLAB (making sure to pass along command line arguments). Then customize matlab-shell-command to call your script. Jordan On Dec 11, 2012, at 9:39 AM, Jordan Koss <jor...@gm...> wrote: > Hi, > > How can I configure the column width for MATLAB output in matlab-shell (either dynamically or upon startup)? The output is set at 80 characters wide, and I can't figure out how to change it. I am running MATLAB 2012a, emacs 23.1, and Ubuntu Linux 64-bit. > > Does anyone else have a configuration with an output width other than 80 characters? > > Thanks in advance, > Jordan > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Jordan K. <jor...@gm...> - 2012-12-11 16:17:10
|
Hi, How can I configure the column width for MATLAB output in matlab-shell (either dynamically or upon startup)? The output is set at 80 characters wide, and I can't figure out how to change it. I am running MATLAB 2012a, emacs 23.1, and Ubuntu Linux 64-bit. Does anyone else have a configuration with an output width other than 80 characters? Thanks in advance, Jordan |
From: Wei L. <wei...@gm...> - 2012-11-29 05:48:06
|
Dear matlab-emacs users, I have a quick question that probably has been asked before: how to run the .m file line by line in a matlab-shell? I know I can run the code in the region or cell, but I need a key binding that I can run one line at a time, and automatically move to next line. Thanks, Wei |
From: Eric L. <Eri...@ma...> - 2012-10-22 18:21:30
|
Hi, Sorry for being slow in responding. I'm guessing you are referring to the last picture. It is using ECB (http://ecb.sf.net) and displaying files, and tags within the file. It is a generic display that works with any language. ECB has its own notion of layout, and it is configurable with any of the many possible windows positioned however you like. Its manual explains how to do that. Unfortunately, ECB doesn't have an active maintainer, but if you check the mailing list, there is a branch that has gotten it to work with the latest versions of both Emacs and CEDET that should help. All the keybindings are in the MATLAB shell menu next to the things they do, otherwise they are standard Emacs keybindings, slightly modified. Debugging works by identifying the K>> prompt, and they reading the output buffer to position the point. Look at dbstop in MATLAB for ways to make the debugger do stuff. There was a thread after yours talking about this on the mailing list. Eric From: Dieter Van Eessen [mailto:die...@st...] Sent: Saturday, October 06, 2012 8:55 AM To: mat...@li... Subject: [Matlab-emacs-discuss] minor questions on matlab-emacs usage Hello, Since I've started using emacs, I use it more and more often (through ubuntu command window). Now i'd like to move matlab to emacs too. Installation is ok, just have some minor questions: - On the screenshot on [ http://blogs.mathworks.com/community/2009/09/14/matlab-emacs-integration-is-back/ ] you see the usage of 'a workspace' and 'file browser' inside emacs. I can use whos and what, but I'd prefer a fixed 'window/cell' (split command window in 2 or 3 parts) for the workspace variables. How do I do this? -Is there a cheat-sheet with quick key bindings available or do i have to define everything in ~/.emacs? -how does the debugging work? thanks in advance, Dieter |
From: Torben K. <tk...@es...> - 2012-10-15 08:36:57
|
Uwe I am using GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-21 on batsu, modified by Debian matlab-mode, version 3.3.1 I have also attached my .emacs if you can interpred something from this file. I would like to se your settings. Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es... Aalborg University Web : es.aau.dk/staff/~tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark ________________________________________ Fra: Uwe Brauer [oub...@gm...] på vegne af Uwe Brauer [ou...@ma...] Sendt: 11. oktober 2012 10:59 Til: Torben Knudsen Cc: Hera He; mat...@li... Emne: Re: SV: [Matlab-emacs-discuss] Debugging intro? >> On Thu, 11 Oct 2012 07:10:50 +0000, Torben Knudsen <tk...@es...> wrote: > Hera and Uwe > I am happy it works for you. Still, it doesn't work perfectly for me. > I can do the commands dbstop, dbstep etc. in the matlab-shell but > there is nothing showing in any other window. However if I do M-g n That sounds odd, what Emacs version and what matlab.el version do you use? If you want I can send you my setting offline. Uwe |
From: Cláudia S. <cla...@gm...> - 2012-10-12 17:37:46
|
Hi everyone, I usually work with 2 frames, one with the working matlab file and the other with the matlab-shell. When debugging by C-c C-s a very annoying matlab-shell window splits my file frame, so I get 2 views on matlab-shell. The counterpart of this also happens: when I call a script under debug in the matlab-shell prompt, the matlab-shell frame splits just to show yet another view on the file, which is open in the other frame... Does anyone know a way to stop this? Thanks, Claudia |
From: Ondra K. <ond...@gm...> - 2012-10-12 17:02:02
|
wow! That was draining my nerves as well. Very useful! BTW: the aggresivity of Matlab figures in stealing a focus is very anoying not only when working in matlab-shell. So Eric if you know a general mechanism to influence this, please, can you tell us? ondra On Oct 12, 2012 6:45 PM, "David Chappaz" <dav...@fr...> wrote: > Hi all,**** > > ** ** > > Quite some time ago, I had an offline discussion with Eric Ludlam about > the matlab-shell window loosing focus when you create a figure.**** > > It sounds a bit cosmetic, but it really gets on my nerves, as you > constantly have to use the mouse to restore focus to your emacs frame.**** > > ** ** > > It was a bit trial and error, but in the end he found a working solution, > so I thought I’d share that with you.**** > > Basically all you have to do, is before starting matlab-shell, to evaluate > with (M-:) or (M-x M-e) the following:**** > > ** ** > > (setenv "WINDOWID" (frame-parameter (selected-frame) 'outer-window-id))*** > * > > ** ** > > This one-liner can probably be added somewhere in matlab.el but I feel a > little lazy tonight, so I’ll leave it to someone else to figure out where > that should be !**** > > ** ** > > Hope that is useful. Enjoy !**** > > David.**** > > ** ** > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > |
From: David C. <dav...@fr...> - 2012-10-12 16:45:12
|
Hi all, Quite some time ago, I had an offline discussion with Eric Ludlam about the matlab-shell window loosing focus when you create a figure. It sounds a bit cosmetic, but it really gets on my nerves, as you constantly have to use the mouse to restore focus to your emacs frame. It was a bit trial and error, but in the end he found a working solution, so I thought I'd share that with you. Basically all you have to do, is before starting matlab-shell, to evaluate with (M-:) or (M-x M-e) the following: (setenv "WINDOWID" (frame-parameter (selected-frame) 'outer-window-id)) This one-liner can probably be added somewhere in matlab.el but I feel a little lazy tonight, so I'll leave it to someone else to figure out where that should be ! Hope that is useful. Enjoy ! David. |
From: Timothy W. H. <hi...@un...> - 2012-10-11 13:57:22
|
Hi all, I have found calling dbstack at the matlab debugger prompt within matlab-shell opens a new frame with an arrow at the debugger's current location. The matlab debug commands (dbstep, dbcont, etc.) as well as the GNU Unified Debugger keybindings then move the arrow around as expected. -Tim -- Timothy W. Hilton Postdoctoral Fellow, Department of Biology University of New Mexico hi...@un... |
From: Uwe B. <ou...@ma...> - 2012-10-11 09:00:08
|
>> On Thu, 11 Oct 2012 07:10:50 +0000, Torben Knudsen <tk...@es...> wrote: > Hera and Uwe > I am happy it works for you. Still, it doesn't work perfectly for me. > I can do the commands dbstop, dbstep etc. in the matlab-shell but > there is nothing showing in any other window. However if I do M-g n That sounds odd, what Emacs version and what matlab.el version do you use? If you want I can send you my setting offline. Uwe |
From: David C. <dav...@fr...> - 2012-10-11 08:47:01
|
Hera and everyone, If you want to use the GUD interface, then I suggest you fix a few cosmetic problems in matlab.el and just replace the current code with: (gud-def gud-finish "dbstep out" "\C-f" "Finish executing current function.") (gud-def gud-up "dbup(%p)" "<" "Up N stack frames (numeric arg).") (gud-def gud-down "dbdown(%p)" ">" "Down N stack frames (numeric arg).") If you feel that's useful, you can also add the following lines: (gud-def gud-stop-subobj "dbquit" "\C-k" "Kill execution of the current function") (gud-def gud-until "dbstop at %l in %f; dbcont; dbclear at %l in %f" "\C-u" "Run until cursor or first breakpoint") Hope that helps, David. _____ From: Hera He [mailto:nj...@gm...] Sent: 10 October 2012 23:11 To: Uwe Brauer Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] Debugging intro? Hi Uwe and Torben, Thank you so much for your replies!! It is working with me now! And I also found there is another way of debugging using GUD(Grand Unified Debugger), so we have all kinds of shortcuts for continue, step and next etc. you could check out the info page by M-x gud-goto-info. Thank you guys again!! Cheers, Hera On Wed, Oct 10, 2012 at 2:28 AM, Uwe Brauer <ou...@ma...> wrote: >> On Wed, 10 Oct 2012 07:30:50 +0000, Torben Knudsen <tk...@es...> wrote: > I have used matlab-mode for years. Never the less I am also missing a > short guide to setting up everything in a convenient way. I simply > use the matlab db commands in the matlab-shell window but I do not > know how to make some pointer follow the relevant source code. Also, > I tried to look into a good way of using ECB yesterday but kind of ran > out of time before figuring out something. Maybe I miss something elementary. I do the following. (Using Xemacs 21.5.32 (GNU emacs is a little nicer with debugging but anyhow) In my matlab file, say test.m I start the matlab shell Then I do in the shell: >> dbstop test dbstop test >> test test 3 clear all K>> dbstep dbstep 4 A=[0 1 -1;-3 4 -1;-1 1 2] K>> dbquit dbquit >> So the window is split and repeating dbstep I see an arrow advancing in the m file and the result in the shell. It is not as nice as the emacs edebug function for lisp, but it is good enough. Uwe Brauer |
From: Torben K. <tk...@es...> - 2012-10-11 07:11:05
|
Hera and Uwe I am happy it works for you. Still, it doesn't work perfectly for me. I can do the commands dbstop, dbstep etc. in the matlab-shell but there is nothing showing in any other window. However if I do M-g n (matlab-shell-last-error) then a buffer is show with the mark on the relevant linie. If I do dbstep nothing happens before I do M-g n again. Still I think it would be nice if there were a short up to date introduction to using matlab though emacs. Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es... Aalborg University Web : es.aau.dk/staff/~tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark ________________________________ Fra: her...@gm... [her...@gm...] på vegne af Hera He [nj...@gm...] Sendt: 11. oktober 2012 00:10 Til: Uwe Brauer Cc: Torben Knudsen; mat...@li... Emne: Re: [Matlab-emacs-discuss] Debugging intro? Hi Uwe and Torben, Thank you so much for your replies!! It is working with me now! And I also found there is another way of debugging using GUD(Grand Unified Debugger), so we have all kinds of shortcuts for continue, step and next etc. you could check out the info page by M-x gud-goto-info. Thank you guys again!! Cheers, Hera On Wed, Oct 10, 2012 at 2:28 AM, Uwe Brauer <ou...@ma...<mailto:ou...@ma...>> wrote: >> On Wed, 10 Oct 2012 07:30:50 +0000, Torben Knudsen <tk...@es...<mailto:tk...@es...>> wrote: > I have used matlab-mode for years. Never the less I am also missing a > short guide to setting up everything in a convenient way. I simply > use the matlab db commands in the matlab-shell window but I do not > know how to make some pointer follow the relevant source code. Also, > I tried to look into a good way of using ECB yesterday but kind of ran > out of time before figuring out something. Maybe I miss something elementary. I do the following. (Using Xemacs 21.5.32 (GNU emacs is a little nicer with debugging but anyhow) In my matlab file, say test.m I start the matlab shell Then I do in the shell: >> dbstop test dbstop test >> test test 3 clear all K>> dbstep dbstep 4 A=[0 1 -1;-3 4 -1;-1 1 2] K>> dbquit dbquit >> So the window is split and repeating dbstep I see an arrow advancing in the m file and the result in the shell. It is not as nice as the emacs edebug function for lisp, but it is good enough. Uwe Brauer |
From: Hera He <nj...@gm...> - 2012-10-10 22:10:43
|
Hi Uwe and Torben, Thank you so much for your replies!! It is working with me now! And I also found there is another way of debugging using GUD(Grand Unified Debugger), so we have all kinds of shortcuts for continue, step and next etc. you could check out the info page by M-x gud-goto-info. Thank you guys again!! Cheers, Hera On Wed, Oct 10, 2012 at 2:28 AM, Uwe Brauer <ou...@ma...> wrote: > >> On Wed, 10 Oct 2012 07:30:50 +0000, Torben Knudsen <tk...@es...> > wrote: > > > I have used matlab-mode for years. Never the less I am also missing a > > short guide to setting up everything in a convenient way. I simply > > use the matlab db commands in the matlab-shell window but I do not > > know how to make some pointer follow the relevant source code. Also, > > I tried to look into a good way of using ECB yesterday but kind of ran > > out of time before figuring out something. > > > Maybe I miss something elementary. I do the following. > (Using Xemacs 21.5.32 (GNU emacs is a little nicer with > debugging but anyhow) > In my matlab file, say test.m I start the matlab shell > > Then I do in the shell: > >> dbstop test > dbstop test > >> test > test > 3 clear all > K>> dbstep > dbstep > 4 A=[0 1 -1;-3 4 -1;-1 1 2] > K>> dbquit > dbquit > >> > So the window is split and repeating dbstep I see an arrow > advancing in the m file and the result in the shell. > > It is not as nice as the emacs edebug function for lisp, > but it is good enough. > > Uwe Brauer > > |
From: Uwe B. <ou...@ma...> - 2012-10-10 09:29:12
|
>> On Wed, 10 Oct 2012 07:30:50 +0000, Torben Knudsen <tk...@es...> wrote: > I have used matlab-mode for years. Never the less I am also missing a > short guide to setting up everything in a convenient way. I simply > use the matlab db commands in the matlab-shell window but I do not > know how to make some pointer follow the relevant source code. Also, > I tried to look into a good way of using ECB yesterday but kind of ran > out of time before figuring out something. Maybe I miss something elementary. I do the following. (Using Xemacs 21.5.32 (GNU emacs is a little nicer with debugging but anyhow) In my matlab file, say test.m I start the matlab shell Then I do in the shell: >> dbstop test dbstop test >> test test 3 clear all K>> dbstep dbstep 4 A=[0 1 -1;-3 4 -1;-1 1 2] K>> dbquit dbquit >> So the window is split and repeating dbstep I see an arrow advancing in the m file and the result in the shell. It is not as nice as the emacs edebug function for lisp, but it is good enough. Uwe Brauer |
From: Torben K. <tk...@es...> - 2012-10-10 07:46:10
|
I have used matlab-mode for years. Never the less I am also missing a short guide to setting up everything in a convenient way. I simply use the matlab db commands in the matlab-shell window but I do not know how to make some pointer follow the relevant source code. Also, I tried to look into a good way of using ECB yesterday but kind of ran out of time before figuring out something. Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es... Aalborg University Web : es.aau.dk/staff/~tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark ________________________________ Fra: Hera He [nj...@gm...] Sendt: 10. oktober 2012 09:10 Til: mat...@li... Emne: [Matlab-emacs-discuss] Debugging intro? Hi all, To keep it short, does anyone know how does debugging work? Are there any documentations for it? Thank you very much!! Hera |