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
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <rp...@gm...> - 2011-03-13 09:01:19
|
I can reproduce that with the emacs version on ubuntu (23.1.1). I encounter a related problem when, while running matlab-shell, the connection to the licence server is dropped - emacs (all of it, not only the shell) remains completely unresponsive until the connection works again. This is a serious issue since I can't even save my stuff if the connection fails and I can't get it up again. Hans On Sun, Mar 13, 2011 at 9:40 AM, Leo Alekseyev <dn...@gm...> wrote: > Tested with Matlab mode 3.3.1, several recent versions of Emacs. > Steps to reproduce: > M-x matlab shell > pause(10) > RET RET RET > > Here, pause(10) can be any command that doesn't return immediate result. > > Expected result: Matlab command runs in matlab-shell buffer, Emacs can > be used as normal. Observed result: Emacs quits responding to > keyboard input until the command exits. > > This Is a serious problem, as it presents an easy way to accidentally > hose your Emacs session when working with long-running commands. > > Can anybody reproduce and/or comment? > > --Leo > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Leo A. <dn...@gm...> - 2011-03-13 08:40:53
|
Tested with Matlab mode 3.3.1, several recent versions of Emacs. Steps to reproduce: M-x matlab shell pause(10) RET RET RET Here, pause(10) can be any command that doesn't return immediate result. Expected result: Matlab command runs in matlab-shell buffer, Emacs can be used as normal. Observed result: Emacs quits responding to keyboard input until the command exits. This Is a serious problem, as it presents an easy way to accidentally hose your Emacs session when working with long-running commands. Can anybody reproduce and/or comment? --Leo |
From: Cláudia S. <cla...@gm...> - 2011-01-13 12:39:39
|
Update on the edit m-file issue: The data posted by me previously was incomplete; I forgot to mention that the error occurred only with MAC OS X. Another user found out that the code in matlab's edit.m to open files on a mac had a peculiar feature: it quoted the command line, performed a unix which on it and then tried to run the quoted command version. As we had entered clientcommand = 'emacsclient -n' the quoted version fails the which command and, of course, the unix shell execution. An initial correction action was to remove the quotes and not to invoke which, in the edit.m Does anyone have a better alternative? Thanks! Cláudia The best material model of a cat is another, or preferably the same, cat. A. Rosenblueth, Philosophy of Science, 1945 |
From: Cláudia S. <cla...@gm...> - 2011-01-13 12:12:18
|
Hello All, I just bumped into something looking suspiciously like a bug. symptoms: while running matlab-shell-run-region over matlab code including comments, all the code followed by the commented line is no executed. causes: In the definition 'matlab-shell-run-region @ matlab.el, while creating the 'command binding, there is a 'while loop labeled as ;; HACK FOR NOSHOW whose action is to replace '\n' by ',' regardless of the present line being or not a comment. aesthetic considerations: I do prefer to see the lines ran in the prompt as they were layered out by me in the code file. I can understand some people might wish to completely remove those lines from the matlab-shell buffer; that would certainly be another effort, different from simply concatenating everything in a big one-liner... the cure: Just comment the hack code... cheers, Cláudia The best material model of a cat is another, or preferably the same, cat. A. Rosenblueth, Philosophy of Science, 1945 |
From: Claudia S. <cla...@gm...> - 2011-01-12 17:19:44
|
Hi, I'd like to execute the edit command on the matlab prompt, inside the matlab-shell mode, and see a new emacs buffer with the contents of the edited file. How can this be done? Thanks! Claudia The best material model of a cat is another, or preferably the same, cat. A. Rosenblueth, Philosophy of Science, 1945 |
From: Guangran K. Z. <gua...@ma...> - 2011-01-05 03:19:47
|
Dear all, I would like to add some local key binding to the matlab-shell mode by adding the following code to my .emacs file ========================================================================= (defun my-matlab-hook () (local-set-key "M-p" '(matlab-shell-previous-matching-input-from-input n)) (local-set-key "M-n" '(matlab-shell-next-matching-input-from-input n)) ) (add-hook 'matlab-shell-mode-hook 'my-matlab-hook) ========================================================================= The matlab-shell-mode-hook is currently defined in matlab.el file. The code above does not link to the hook directly. Would anyone have any suggestion on this emacs problem? Thank you. -- Sincerely yours, Guangran Kevin Zhu (PhD Candidate) Computational Electromagnetics Lab McGill University Montreal, Canada Tel: 1-514-398-1533 |
From: Guangran Z. <gua...@ma...> - 2011-01-05 03:10:23
|
Thank you guys. Another play of two hours solved the problem. The matlab-shell talks back to the current buffer now. On 11-01-01 07:04 PM, Daniel wrote: >> Using emacsclient does not support the debugging and code evaluation, >> which I have relied on heavily. > > There should be no difference. Since everything emacsclient does is to > check if there is an emacs process running and open the file in this > existing process. > >> Currently, I am missing on the configuration of linking the matlab >> invoked in the buffer back to the current emacs session. > > I think your configuration should be fine if you add (server-start) to > your emacs config file and use emacsinit('emacsclient -n'). This will > provide the link back to emacs. > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss -- Sincerely yours, Kevin Guangran Zhu (PhD Candidate) Computational Electromagnetics Lab McGill University Montreal, Canada Tel: 1-514-398-1533 |
From: Daniel <sn...@gm...> - 2011-01-02 00:04:24
|
> Using emacsclient does not support the debugging and code evaluation, > which I have relied on heavily. There should be no difference. Since everything emacsclient does is to check if there is an emacs process running and open the file in this existing process. > Currently, I am missing on the configuration of linking the matlab > invoked in the buffer back to the current emacs session. I think your configuration should be fine if you add (server-start) to your emacs config file and use emacsinit('emacsclient -n'). This will provide the link back to emacs. |
From: Dineva, E. E <eve...@ui...> - 2011-01-01 21:54:42
|
Hi Kevin, your mail remind's me that I forgot to mention that one also needs to add for Ubuntu to .bashrc: export EDITOR="emacsclient" and, as Daniel mentioned earlier, one also needs to add to .emacs the line: (server-start) As for searching in the matlab-shell, you can type the initial letters of a command and then browse the history with the up/down arrow keys. Cheers, Evelina On Jan 1, 2011, at 4:38 PM, Guangran Kevin Zhu wrote: > Thank you for the pointer. > > Using emacsclient does not support the debugging and code evaluation, > which I have relied on heavily. > > changing ~/X11/app-defaults/Matlab > > *externalEditorCommand: $EDITOR $FILE & > > does not provide the debugging and evaluation support as well. Thus, > using emacs-shell, to the best of my knowledge, is my only option. I > followed the documentation > > http://blogs.mathworks.com/desktop/2009/09/14/matlab-emacs-integration-is-back/ > > Currently, I am missing on the configuration of linking the matlab > invoked in the buffer back to the current emacs session. > > In the meantime, I experimented with the matlab-shell. In comparison > with invoking the following on a command line, > > $ matlab -nodesktop -nosplash > > I found matlab-shell is nice to use, as I could edit the command in the > buffer. One improvement that I observe, is that if you type the first > letter of some previous command, alt-p will bring the immediate previous > command, but will not bring the previous command that starts with the > same letter. > > > On 11-01-01 03:54 PM, Daniel wrote: >> Please ignore my proposal about editing the emacsinit.m. This is >> nonsense, sorry. >> >>> emascsinit('emacs') >> >> Is equivalent to setting the Editor/Debugger in your matlab >> Preferences. You can place this in your startup.m file, but it won't >> help since it will always open a new process. >> >> I think the best way is to install an emacs version that comes with >> emacsclient (are you sure that your emacs on ubuntu has no >> emacsclient?). >> >> There is also an other advantage to use emacsclient. for e.g. in your .bashrc >>> alias "edit=emacsclient -n -a emacs" >> With this you can type 'edit somefile.txt' in a console and it will >> open the file in your existing emacs process, if there is one, >> otherwise it will start one. >> Don't forget to add (server-start) in your emacs config file. >> >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > > -- > Sincerely yours, > > Guangran Kevin Zhu (PhD Candidate) > Computational Electromagnetics Lab > McGill University > Montreal, Canada > Tel: 1-514-398-1533 > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Guangran K. Z. <gua...@ma...> - 2011-01-01 21:38:50
|
Thank you for the pointer. Using emacsclient does not support the debugging and code evaluation, which I have relied on heavily. changing ~/X11/app-defaults/Matlab *externalEditorCommand: $EDITOR $FILE & does not provide the debugging and evaluation support as well. Thus, using emacs-shell, to the best of my knowledge, is my only option. I followed the documentation http://blogs.mathworks.com/desktop/2009/09/14/matlab-emacs-integration-is-back/ Currently, I am missing on the configuration of linking the matlab invoked in the buffer back to the current emacs session. In the meantime, I experimented with the matlab-shell. In comparison with invoking the following on a command line, $ matlab -nodesktop -nosplash I found matlab-shell is nice to use, as I could edit the command in the buffer. One improvement that I observe, is that if you type the first letter of some previous command, alt-p will bring the immediate previous command, but will not bring the previous command that starts with the same letter. On 11-01-01 03:54 PM, Daniel wrote: > Please ignore my proposal about editing the emacsinit.m. This is > nonsense, sorry. > >> emascsinit('emacs') > > Is equivalent to setting the Editor/Debugger in your matlab > Preferences. You can place this in your startup.m file, but it won't > help since it will always open a new process. > > I think the best way is to install an emacs version that comes with > emacsclient (are you sure that your emacs on ubuntu has no > emacsclient?). > > There is also an other advantage to use emacsclient. for e.g. in your .bashrc >> alias "edit=emacsclient -n -a emacs" > With this you can type 'edit somefile.txt' in a console and it will > open the file in your existing emacs process, if there is one, > otherwise it will start one. > Don't forget to add (server-start) in your emacs config file. > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss -- Sincerely yours, Guangran Kevin Zhu (PhD Candidate) Computational Electromagnetics Lab McGill University Montreal, Canada Tel: 1-514-398-1533 |
From: Daniel <sn...@gm...> - 2011-01-01 20:54:57
|
Please ignore my proposal about editing the emacsinit.m. This is nonsense, sorry. > emascsinit('emacs') Is equivalent to setting the Editor/Debugger in your matlab Preferences. You can place this in your startup.m file, but it won't help since it will always open a new process. I think the best way is to install an emacs version that comes with emacsclient (are you sure that your emacs on ubuntu has no emacsclient?). There is also an other advantage to use emacsclient. for e.g. in your .bashrc > alias "edit=emacsclient -n -a emacs" With this you can type 'edit somefile.txt' in a console and it will open the file in your existing emacs process, if there is one, otherwise it will start one. Don't forget to add (server-start) in your emacs config file. |
From: Dineva, E. E <eve...@ui...> - 2011-01-01 16:33:36
|
I think one also need to tell matlab to use emacs as default editor one can do this via the matlab settings. sorry, do not have my Ubuntu at hand to look up details; on mac it's via preferences when you have a malab window open. e.g., calling 'doc edit' via the matlab-shell has Preference settings under the File menu 'doc edit' provides some info on setting up an alternative editor with the -nodisplay startup option unfortunately this does not work for aquamacs on the mac; but similar settings were just fine on ubuntu with (regular, snapshot) emacs hope this helps a bit and a Happy New Year! evelina On Jan 1, 2011, at 9:43 AM, Daniel wrote: > You could replace the line >> clientcommand = 'emacsclient -n'; > in the file 'emacsinit.m', which is located in > '/home/kzhu/devcode/matlab-emacs/toolbox', by >> clientcommand = 'emacs'; > > But in this case each time you call edit, the file will be opened in a > new emacs process, which is pretty useless when you want to use > matlab-emacs. > As far as I know the only possibility is to use emacsclient and add >> (server-start) > in your .emacs file. > > > On Thu, Dec 30, 2010 at 6:59 PM, Guangran Kevin Zhu > <gua...@ma...> wrote: >> Dear all, >> >> I am configuring matlab-emacs with >> >> Ubuntu 10.4, >> Emacs 23 >> CEDET-1.0pre7 >> MATLAB r2010a >> >> I intent to run Matlab within emacs through "matlab-shell". Currently, >> this command runs successfully. However, when I type "edit", nothing >> happens on the command prompt and there is no buffer created for the new >> file. I could not find any error message and matlab prompt is >> >> ==================================================== >> < M A T L A B (R) > >> Copyright 1984-2010 The MathWorks, Inc. >> Version 7.10.0.499 (R2010a) 64-bit (glnxa64) >> February 5, 2010 >> >> >> To get started, type one of these: helpwin, helpdesk, or demo. >> For product information, visit www.mathworks.com. >> >> >> addpath('/home/kzhu/devcode/matlab-emacs/toolbox','-begin'); rehash; >> emacsinit('emacsclient -n'); >> >> edit >> >> >> >> ==================================================== >> >> There is no "emacsclient" installed on my machine. Given the "addpath >> ..." command run at startup, I suspect that there is some configuration >> missing to link the matlab to the current emacs. >> >> Any comment on how to debug this problem? Thank you. >> >> >> -- >> Sincerely yours, >> >> Kevin Guangran Zhu (PhD Candidate) >> Computational Electromagnetics Lab >> McGill University >> Montreal, Canada >> Tel: 1-514-398-1533 >> >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Daniel <sn...@gm...> - 2011-01-01 14:43:25
|
You could replace the line > clientcommand = 'emacsclient -n'; in the file 'emacsinit.m', which is located in '/home/kzhu/devcode/matlab-emacs/toolbox', by > clientcommand = 'emacs'; But in this case each time you call edit, the file will be opened in a new emacs process, which is pretty useless when you want to use matlab-emacs. As far as I know the only possibility is to use emacsclient and add > (server-start) in your .emacs file. On Thu, Dec 30, 2010 at 6:59 PM, Guangran Kevin Zhu <gua...@ma...> wrote: > Dear all, > > I am configuring matlab-emacs with > > Ubuntu 10.4, > Emacs 23 > CEDET-1.0pre7 > MATLAB r2010a > > I intent to run Matlab within emacs through "matlab-shell". Currently, > this command runs successfully. However, when I type "edit", nothing > happens on the command prompt and there is no buffer created for the new > file. I could not find any error message and matlab prompt is > > ==================================================== > < M A T L A B (R) > > Copyright 1984-2010 The MathWorks, Inc. > Version 7.10.0.499 (R2010a) 64-bit (glnxa64) > February 5, 2010 > > > To get started, type one of these: helpwin, helpdesk, or demo. > For product information, visit www.mathworks.com. > > >> addpath('/home/kzhu/devcode/matlab-emacs/toolbox','-begin'); rehash; > emacsinit('emacsclient -n'); > >> edit > >> > > ==================================================== > > There is no "emacsclient" installed on my machine. Given the "addpath > ..." command run at startup, I suspect that there is some configuration > missing to link the matlab to the current emacs. > > Any comment on how to debug this problem? Thank you. > > > -- > Sincerely yours, > > Kevin Guangran Zhu (PhD Candidate) > Computational Electromagnetics Lab > McGill University > Montreal, Canada > Tel: 1-514-398-1533 > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Guangran K. Z. <gua...@ma...> - 2010-12-30 18:11:44
|
Dear all, I am configuring matlab-emacs with Ubuntu 10.4, Emacs 23 CEDET-1.0pre7 MATLAB r2010a I intent to run Matlab within emacs through "matlab-shell". Currently, this command runs successfully. However, when I type "edit", nothing happens on the command prompt and there is no buffer created for the new file. I could not find any error message and matlab prompt is ==================================================== < M A T L A B (R) > Copyright 1984-2010 The MathWorks, Inc. Version 7.10.0.499 (R2010a) 64-bit (glnxa64) February 5, 2010 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> addpath('/home/kzhu/devcode/matlab-emacs/toolbox','-begin'); rehash; emacsinit('emacsclient -n'); >> edit >> ==================================================== There is no "emacsclient" installed on my machine. Given the "addpath ..." command run at startup, I suspect that there is some configuration missing to link the matlab to the current emacs. Any comment on how to debug this problem? Thank you. -- Sincerely yours, Kevin Guangran Zhu (PhD Candidate) Computational Electromagnetics Lab McGill University Montreal, Canada Tel: 1-514-398-1533 |
From: Eric L. <Eri...@ma...> - 2010-12-14 15:15:18
|
Hi, The TAB key is hooked up to send those messages to MATLAB to get the list of completions. It works by putting the process filter (that Emacs uses to interpret process output) into a mode that waits for the next prompt, and collects all the output into a string which Emacs then processes to create a completion buffer. It appears to not work for you today. ;) I tried using the latest version of matlab-shell from CVS and completion worked for me. I tried hitting C-g in a couple spots to see if I could mess it up, but it worked like a champ. To debug, you will probably need to look at matlab-shell-collect-command-output. If it throws an error part-way through, the output you see would be easily explained. Eric -----Original Message----- From: Christopher Garay [mailto:cg...@bu...] Sent: Monday, December 13, 2010 5:56 PM To: mat...@li... Subject: [Matlab-emacs-discuss] matlab-emacs tab-completion problem Hi everyone, I'm currently using Emacs 23.1.1 with Matlab R2010b with the latest matlab-emacs. When trying to use tab completion, I'm seeing some output on the screen that appear to be commands for the Matlab MCR. For example, when I type ls into the Matlab shell in Emacs, then hit tab I see the following: >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR matlabMCRprocess = com.mathworks.jmi.MatlabMCR@1acfa31 >> matlabMCRprocess.mtFindAllTabCompletions('ls'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'ls' 'lscan' 'lscftsh' 'lscov' 'lsf2poly' 'lsim' 'lsiminfo' 'lsline' 'lsqcurvefit' 'lsqfcnchk' 'lsqlin' 'lsqncommon' 'lsqnonlin' 'lsqnonneg' 'lsqnsetup' 'lsqr' Does anybody have a solution for this? Thanks, Chris ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Christopher G. <cg...@bu...> - 2010-12-13 22:56:06
|
Hi everyone, I'm currently using Emacs 23.1.1 with Matlab R2010b with the latest matlab-emacs. When trying to use tab completion, I'm seeing some output on the screen that appear to be commands for the Matlab MCR. For example, when I type ls into the Matlab shell in Emacs, then hit tab I see the following: >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR matlabMCRprocess = com.mathworks.jmi.MatlabMCR@1acfa31 >> matlabMCRprocess.mtFindAllTabCompletions('ls'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'ls' 'lscan' 'lscftsh' 'lscov' 'lsf2poly' 'lsim' 'lsiminfo' 'lsline' 'lsqcurvefit' 'lsqfcnchk' 'lsqlin' 'lsqncommon' 'lsqnonlin' 'lsqnonneg' 'lsqnsetup' 'lsqr' Does anybody have a solution for this? Thanks, Chris |
From: Eric L. <Eri...@ma...> - 2010-12-06 14:49:01
|
Thanks! I've checked in that change. Eric -----Original Message----- From: Rüdiger Sonderfeld [mailto:rue...@c-...] Sent: Saturday, November 27, 2010 11:49 AM To: mat...@li... Subject: [Matlab-emacs-discuss] [PATCH] Menu: if matlab shell is active replace "Start MATLAB" with "Switch to MATLAB" Hello, I wrote a small patch to replace the "Start MATLAB" menu entry with a "Switch to MATLAB" entry when the matlab shell is active. This might look like a minor detail but I think it improves the usability. It makes it clear that "Start MATLAB" won't start another shell but switch to the existing one. Regards, Rüdiger diff --git a/matlab.el b/matlab.el index 2ab7cc5..45d18d1 100644 --- a/matlab.el +++ b/matlab.el @@ -4039,8 +4039,7 @@ desired. Optional argument FAST is not used." matlab-mode-map "MATLAB menu" '("MATLAB" - ["Start MATLAB" matlab-shell :active (not (or (matlab-with-emacs-link) (matlab-shell-active-p))) :visible (not (matlab-shell-active-p)) ] - ["Switch to MATLAB" matlab-shell :active (and (not (matlab-with-emacs- link)) (matlab-shell-active-p)) :visible (matlab-shell-active-p) ] + ["Start MATLAB" matlab-shell (not (matlab-with-emacs-link)) ] ["Save and go" matlab-shell-save-and-go t] ["Run Region" matlab-shell-run-region t] ["Run Cell" matlab-shell-run-cell t] ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Rüdiger S. <rue...@c-...> - 2010-11-27 17:05:14
|
Hello, I wrote a small patch to replace the "Start MATLAB" menu entry with a "Switch to MATLAB" entry when the matlab shell is active. This might look like a minor detail but I think it improves the usability. It makes it clear that "Start MATLAB" won't start another shell but switch to the existing one. Regards, Rüdiger diff --git a/matlab.el b/matlab.el index 2ab7cc5..45d18d1 100644 --- a/matlab.el +++ b/matlab.el @@ -4039,8 +4039,7 @@ desired. Optional argument FAST is not used." matlab-mode-map "MATLAB menu" '("MATLAB" - ["Start MATLAB" matlab-shell :active (not (or (matlab-with-emacs-link) (matlab-shell-active-p))) :visible (not (matlab-shell-active-p)) ] - ["Switch to MATLAB" matlab-shell :active (and (not (matlab-with-emacs- link)) (matlab-shell-active-p)) :visible (matlab-shell-active-p) ] + ["Start MATLAB" matlab-shell (not (matlab-with-emacs-link)) ] ["Save and go" matlab-shell-save-and-go t] ["Run Region" matlab-shell-run-region t] ["Run Cell" matlab-shell-run-cell t] |
From: Van Z. J. <jr...@mi...> - 2010-11-09 16:11:11
|
Im looking for a way to use standard Emacs GUD debugging commands (n, c, r, etc.) for Matlab debugging. Ive downloaded and installed matlab.el. I see the default customization uses GUD mode for Matlab shell mode. Executing a function opens a buffer on the source with the current location marked with an arrow. However, the GUD commands (in either buffer) dont work. I still have to use the verbose Matlab style debugging commands (though alt-P helps). In matlab.el I see some GUD key assignments: (gud-def gud-break "dbstop at %l in %f" "\C-b" "Set breakpoint at current line.") However, they dont seem to work in either matlab-mode or matlab-shell. (They just move point.) The GUD code may have suffered bit-rot (e.g. hasn't kept up with Emacs), but it's more likely I'm doing something wrong. Is there introductory documentation somewhere? Id expect it in the CSV server, or at least a link in the FAQ, but I dont see anything beyond "GUD support for debugging programs files". Otherwise, if "It's working for you", could someone start a debugging session, execute a few commands, run "M-x view-lossage" and post the result? :-) I'm using these versions: matlab.el version 3.3.1 Matlab 7.7.0.471 (R2008b) Emacs 22.2.1 Linux 2.6.32 - Jim Van Zandt |
From: Jean-Francois L. <jfl...@gm...> - 2010-10-06 13:55:25
|
Hi Eric, I just tried updating emacs to the most recent version (23.2.1) and I still get the same behavior... of course that's not to say there's no bug in emacs ;) but I'll take any idea you might have! Thanks again! JF On Wed, Oct 6, 2010 at 9:19 AM, Jean-Francois Lalonde <jfl...@gm...> wrote: > Hi Eric, > > Thanks a lot for your prompt answer! > > I tried pressing C-l after writing 'imsho<tab>' in matlab-shell, and > nothing happens. > > However, when I tried 'M-x matlab-shell-tab', then the auto-completion > works as expected. It just seems like the 'tab' key isn't working > properly? > > Maybe updating emacs will fix that, if it is indeed a bug in its > terminal version. I'll try that. > > JF > > On Wed, Oct 6, 2010 at 8:41 AM, Eric Ludlam <Eri...@ma...> wrote: >> This sounds like a bug in the terminal version of Emacs. If pressing C-l shows the missing text, then there isn't much the matlab-shell code can do about it. >> >> Eric >> >> -----Original Message----- >> From: Jean-François Lalonde [mailto:jfl...@gm...] >> Sent: Tuesday, October 05, 2010 11:12 PM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] Tab completion >> >> Hi, >> >> I'm trying to get tab completion in matlab-shell mode to work, but I'm hitting a wall right now. I'm running everything on Mac OSX 10.6. >> >> 1. Using Aquamacs works perfectly. I get the expected completion behavior when I hit <tab> after a half-spelled command on the Matlab prompt within the matlab-shell mode. >> >> 2. However, when I try to do the same in an emacs process launched within Terminal.app, hitting <tab> moves the cursor by a few spaces to the right, and does not display the auto-completion options. In fact, if I type: >> >> imsho<tab> <enter> >> >> then it displays >> >> imshow >> ??? Error using ==> imshow>preParseInputs at 309 >> ... >> >> which means that hitting <tab> does complete 'imsho' to 'imshow', but it does not actually display it. I've also tried using X11.app and I get the same results. I use emacs on a regular basis but only for simple text editing purposes, so my knowledge of Lisp and .emacs configuration settings is extremely limited... >> >> Any idea? >> >> Thanks in advance, >> JF >> >> PS: Keep up the awesome work, Eric! I can't wait to get rid of the matlab GUI, especially when I'm working remotely over slow Internet connections ;) >> ------------------------------------------------------------------------------ >> Beautiful is writing same markup. Internet Explorer 9 supports >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> Spend less time writing and rewriting code and more time creating great >> experiences on the web. Be a part of the beta today. >> http://p.sf.net/sfu/beautyoftheweb >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> > |
From: Eric L. <Eri...@ma...> - 2010-10-06 13:23:14
|
This sounds like a bug in the terminal version of Emacs. If pressing C-l shows the missing text, then there isn't much the matlab-shell code can do about it. Eric -----Original Message----- From: Jean-François Lalonde [mailto:jfl...@gm...] Sent: Tuesday, October 05, 2010 11:12 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Tab completion Hi, I'm trying to get tab completion in matlab-shell mode to work, but I'm hitting a wall right now. I'm running everything on Mac OSX 10.6. 1. Using Aquamacs works perfectly. I get the expected completion behavior when I hit <tab> after a half-spelled command on the Matlab prompt within the matlab-shell mode. 2. However, when I try to do the same in an emacs process launched within Terminal.app, hitting <tab> moves the cursor by a few spaces to the right, and does not display the auto-completion options. In fact, if I type: imsho<tab> <enter> then it displays imshow ??? Error using ==> imshow>preParseInputs at 309 ... which means that hitting <tab> does complete 'imsho' to 'imshow', but it does not actually display it. I've also tried using X11.app and I get the same results. I use emacs on a regular basis but only for simple text editing purposes, so my knowledge of Lisp and .emacs configuration settings is extremely limited... Any idea? Thanks in advance, JF PS: Keep up the awesome work, Eric! I can't wait to get rid of the matlab GUI, especially when I'm working remotely over slow Internet connections ;) ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Jean-Francois L. <jfl...@gm...> - 2010-10-06 13:19:50
|
Hi Eric, Thanks a lot for your prompt answer! I tried pressing C-l after writing 'imsho<tab>' in matlab-shell, and nothing happens. However, when I tried 'M-x matlab-shell-tab', then the auto-completion works as expected. It just seems like the 'tab' key isn't working properly? Maybe updating emacs will fix that, if it is indeed a bug in its terminal version. I'll try that. JF On Wed, Oct 6, 2010 at 8:41 AM, Eric Ludlam <Eri...@ma...> wrote: > This sounds like a bug in the terminal version of Emacs. If pressing C-l shows the missing text, then there isn't much the matlab-shell code can do about it. > > Eric > > -----Original Message----- > From: Jean-François Lalonde [mailto:jfl...@gm...] > Sent: Tuesday, October 05, 2010 11:12 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Tab completion > > Hi, > > I'm trying to get tab completion in matlab-shell mode to work, but I'm hitting a wall right now. I'm running everything on Mac OSX 10.6. > > 1. Using Aquamacs works perfectly. I get the expected completion behavior when I hit <tab> after a half-spelled command on the Matlab prompt within the matlab-shell mode. > > 2. However, when I try to do the same in an emacs process launched within Terminal.app, hitting <tab> moves the cursor by a few spaces to the right, and does not display the auto-completion options. In fact, if I type: > > imsho<tab> <enter> > > then it displays > > imshow > ??? Error using ==> imshow>preParseInputs at 309 > ... > > which means that hitting <tab> does complete 'imsho' to 'imshow', but it does not actually display it. I've also tried using X11.app and I get the same results. I use emacs on a regular basis but only for simple text editing purposes, so my knowledge of Lisp and .emacs configuration settings is extremely limited... > > Any idea? > > Thanks in advance, > JF > > PS: Keep up the awesome work, Eric! I can't wait to get rid of the matlab GUI, especially when I'm working remotely over slow Internet connections ;) > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Jean-François L. <jfl...@gm...> - 2010-10-06 03:11:56
|
Hi, I'm trying to get tab completion in matlab-shell mode to work, but I'm hitting a wall right now. I'm running everything on Mac OSX 10.6. 1. Using Aquamacs works perfectly. I get the expected completion behavior when I hit <tab> after a half-spelled command on the Matlab prompt within the matlab-shell mode. 2. However, when I try to do the same in an emacs process launched within Terminal.app, hitting <tab> moves the cursor by a few spaces to the right, and does not display the auto-completion options. In fact, if I type: imsho<tab> <enter> then it displays imshow ??? Error using ==> imshow>preParseInputs at 309 ... which means that hitting <tab> does complete 'imsho' to 'imshow', but it does not actually display it. I've also tried using X11.app and I get the same results. I use emacs on a regular basis but only for simple text editing purposes, so my knowledge of Lisp and .emacs configuration settings is extremely limited... Any idea? Thanks in advance, JF PS: Keep up the awesome work, Eric! I can't wait to get rid of the matlab GUI, especially when I'm working remotely over slow Internet connections ;) |
From: Simon B. <si...@cl...> - 2010-08-30 11:47:34
|
At Sun, 29 Aug 2010 16:30:35 -0500, Chad Baker <cal...@ma...> wrote: > Is currently in my matlab.el file, and if I put the -nodesktop flag first, > Matlab will not run because the -glnx86 flag doesn't get used for some > reason. If I put the -glnx86 flag first, Matlab will run, but it runs in > the desktop mode which doesn't work with the emacs matlab-shell mode. I > think this is a a syntax error. Does anyone know lisp well enough to help? In my customise settings I have: '(matlab-shell-command "matlab") '(matlab-shell-command-switches (quote ("-nodesktop" "-glnx86" "-nosplash"))) you have to quote each argument it seems. Simon |
From: Chad B. <cal...@ma...> - 2010-08-29 21:30:43
|
Update: (defcustom matlab-shell-command-switches '("-nodesktop -glnx86") > "*Command line parameters run with `matlab-shell-command'. > Command switches are a list of strings. Each entry is one switch." > :group 'matlab-shell > :type '(list :tag "Switch: ")) > Is currently in my matlab.el file, and if I put the -nodesktop flag first, Matlab will not run because the -glnx86 flag doesn't get used for some reason. If I put the -glnx86 flag first, Matlab will run, but it runs in the desktop mode which doesn't work with the emacs matlab-shell mode. I think this is a a syntax error. Does anyone know lisp well enough to help? Thanks, Chad Baker On Fri, Aug 27, 2010 at 1:51 PM, Chad Baker <cal...@ma...>wrote: > All, > > I'm attempting to use GNU Emacs 23 as my Matlab editor, but I find it is > unable to launch matlab (using C-c C-s) because of the following: > >> matlab: No MATLAB bin directory for this machine architecture. >> >> ARCH = glnxa64 >> >> >> M-Shell exited abnormally with code 1 >> > > I have no problem launching matlab because I have the command 'matlab' > aliased as "matlab -glnx86 -desktop", but this is apparently not the command > that emacs is using when it attempts to run my code. > > Do you know how to fix this? > > Thanks, > > Chad Baker > PhD Student > Thermal Fluids Systems > Mechanical Engineering > University of Texas at Austin > > |