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: Simon B. <si...@cl...> - 2010-08-28 19:02:34
|
At Fri, 27 Aug 2010 13:51:19 -0500, Chad Baker <cal...@ma...> wrote: > 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? Do a customise group matlab and have a dig, there are options in there. Simon |
From: Chad B. <cal...@ma...> - 2010-08-27 18:51:26
|
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 |
From: Jonathan H. <JON...@sa...> - 2010-07-29 18:53:20
|
I have been using matlab-emacs and I love it, and I am just wondering if there is a way to customize a couple features 1) I would like to turn off the feature that automatically puts in '...' and a newline; even when I do put those in matlab-emacs puts them in in different places from where I would. 2) I would like to be able to press <space> or something to get rid of the Completions buffer, or better to make it disappear automatically on typing, leaving behind the buffer it replaced (or if it didn't replace a buffer killing the frame); it is very annoying that when I want to kill it without selecting it I have to switch to it as manually C-x k after it replaces a source file I am editing, particularly when I am running it in a terminal (e.g. when I am running a process on a remote machine through screen). Is that possible? I am sorry; I do not know emacs Lisp and do not currently have time to learn it, so I cannot do too much to help myself... Thanks, Jonathan |
From: Eric L. <Eri...@ma...> - 2010-07-13 18:19:47
|
Thanks for the info. I know there have been reports of some error handling being broken but I hadn't figured it out. Thanks for this! Eric From: Eric W [mailto:eri...@gm...] Sent: Thursday, July 08, 2010 12:41 PM To: mat...@li... Subject: [Matlab-emacs-discuss] gud-matlab-error-regexp Hi - Running R2009b in emacs via matlab-shell on linux, in order to match this error ??? Undefined function or variable 'a'. Error in ==> foo at 3 z=a I had to change gud-matlab-error-regexp from (concat "\\(Error \\(?:in\\|using\\) ==>\\|Syntax error in ==>\\|In\\) " "\\([-@.a-zA-Z_0-9/ \\\\:]+\\)\\(?:>[^ ]+\\).*[\n ]\\(?:On\\|at\\)\\(?: line\\)? " "\\([0-9]+\\) ?")) to (concat "\\(Error \\(?:in\\|using\\) ==>\\|Syntax error in ==>\\|In\\) " "\\([-@.a-zA-Z_0-9/ \\\\:]+\\)\\(?:>[^ ]+\\)?.*[\n ]\\(?:On\\|at\\)\\(?: line\\)? " "\\([0-9]+\\) ?")) Seems like requiring the parenthetical expression in the middle of second line is a problem. That makes it work for this one error, but don't know what its purpose is and so don't know if it'll break it for other error msgs. Another weird thing .. with the modified version, it doesn't detect the error message and linkify it until the 2nd or 3rd time I run foo.m (starting from a fresh matlab session). Is that normal? Eric |
From: Eric W <eri...@gm...> - 2010-07-08 16:41:17
|
Hi - Running R2009b in emacs via matlab-shell on linux, in order to match this error ??? Undefined function or variable 'a'. Error in ==> foo at 3 z=a I had to change gud-matlab-error-regexp from (concat "\\(Error \\(?:in\\|using\\) ==>\\|Syntax error in ==>\\|In\\) " "\\([-@.a-zA-Z_0-9/ \\\\:]+\\)\\(?:>[^ ]+\\).*[\n ]\\(?:On\\|at\\)\\(?: line\\)? " "\\([0-9]+\\) ?")) to (concat "\\(Error \\(?:in\\|using\\) ==>\\|Syntax error in ==>\\|In\\) " "\\([-@.a-zA-Z_0-9/ \\\\:]+\\)\\(?:>[^ ]+\\)?.*[\n ]\\(?:On\\|at\\)\\(?: line\\)? " "\\([0-9]+\\) ?")) Seems like requiring the parenthetical expression in the middle of second line is a problem. That makes it work for this one error, but don't know what its purpose is and so don't know if it'll break it for other error msgs. Another weird thing .. with the modified version, it doesn't detect the error message and linkify it until the 2nd or 3rd time I run foo.m (starting from a fresh matlab session). Is that normal? Eric |
From: Eli O. <oe...@cs...> - 2010-07-06 09:02:58
|
Eric, thank you very much for your help. It seems the default CEDET version in Ubuntu is outdated. I installed the latest one and now everything works fine. Thank you. On 06/27/2010 05:09 PM, Eric Ludlam wrote: > Hi, > > You can either not load the 'matlab-cedet' package (via the matlab-cedet-setup function), or you can download and install CEDET. If you are just starting with Emacs and MATLAB, then your best bet is to skip the CEDET extensions. If you want the more advanced tools, installing CEDET is advantageous. > > Eric > > -----Original Message----- > From: Eli Osherovich [mailto:oe...@cs...] > Sent: Saturday, June 26, 2010 8:46 AM > To: mat...@li... > Subject: [Matlab-emacs-discuss] cannot find srecode-map > > Hello, > > Thank you very much for your effort. I downloaded the latest CVS version > of matlab-emacs (June 26 2010). However, there are some problems with > certain CEDET files. > > I get an error that srecode-map cannot be found. It is not surprising > since there is no such file in Ubuntu which uses version 1.0pre4 of CEDET. > > Shall I install a newer version of CEDET? > > Thank you. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2010-06-27 14:09:53
|
Hi, You can either not load the 'matlab-cedet' package (via the matlab-cedet-setup function), or you can download and install CEDET. If you are just starting with Emacs and MATLAB, then your best bet is to skip the CEDET extensions. If you want the more advanced tools, installing CEDET is advantageous. Eric -----Original Message----- From: Eli Osherovich [mailto:oe...@cs...] Sent: Saturday, June 26, 2010 8:46 AM To: mat...@li... Subject: [Matlab-emacs-discuss] cannot find srecode-map Hello, Thank you very much for your effort. I downloaded the latest CVS version of matlab-emacs (June 26 2010). However, there are some problems with certain CEDET files. I get an error that srecode-map cannot be found. It is not surprising since there is no such file in Ubuntu which uses version 1.0pre4 of CEDET. Shall I install a newer version of CEDET? Thank you. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eli O. <oe...@cs...> - 2010-06-26 12:46:09
|
Hello, Thank you very much for your effort. I downloaded the latest CVS version of matlab-emacs (June 26 2010). However, there are some problems with certain CEDET files. I get an error that srecode-map cannot be found. It is not surprising since there is no such file in Ubuntu which uses version 1.0pre4 of CEDET. Shall I install a newer version of CEDET? Thank you. |
From: Eric L. <Eri...@ma...> - 2010-06-08 12:20:53
|
Hi, This is an issue with the Emacs configuration for font-lock. If you examine the doc for this variable with C-h v: font-lock-maximum-decoration It shows that if you set it to t, it will use higher levels of font locking. Matlab.el uses this variable to highlight only a minimal amount of stuff with the default configuration. Eric -----Original Message----- From: aptenom Lv [mailto:ap...@gm...] Sent: Friday, June 04, 2010 12:47 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Syntax Highlight doesn't work well Hello everyone, I am new to Matlab/emacs, and I really appreciate the work. After the installation, I find that the syntax highlight is a little weird. In the function body, only the comments and a few keywords(such as if, else, etc) are colored. It is not very convenient to view and edit long codes. I read Mike's post on mathworks.com, but have no idea how to config the emacs to have the full syntax highlight. PS: I use emacs22 on debian lenny, and I added this lines to my .emacs. (add-to-list 'load-path "~/.emacs.d/plugins/matlab-emacs") (require 'matlab-load) and it does enter matlab-fill mode when I edit .m files. Thank you. aptenom 2010.6.5 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: aptenom Lv <ap...@gm...> - 2010-06-04 16:46:40
|
Hello everyone, I am new to Matlab/emacs, and I really appreciate the work. After the installation, I find that the syntax highlight is a little weird. In the function body, only the comments and a few keywords(such as if, else, etc) are colored. It is not very convenient to view and edit long codes. I read Mike's post on mathworks.com, but have no idea how to config the emacs to have the full syntax highlight. PS: I use emacs22 on debian lenny, and I added this lines to my .emacs. (add-to-list 'load-path "~/.emacs.d/plugins/matlab-emacs") (require 'matlab-load) and it does enter matlab-fill mode when I edit .m files. Thank you. aptenom 2010.6.5 |
From: David C. <dav...@fr...> - 2010-05-24 09:54:55
|
Hi Assaf, I'm not a matlab-emacs expert, so there might be a way to just do that with matlab-emacs. However, the way I do it relies on emacs tags, which brings other advantages (and surely drawbacks). Download and install the latest version of exhuberant ctags (http://ctags.sourceforge.net) as it natively supports matlab now (with older versions I had to use complex regexps to parse matlab source files) Then you can generate a tags table in the current directory with the following shell command (do not remove the final "-") In Windows: dir /b/s *.m | ctags -e -o TAGS -L - Or in Linux/Unix: find . -follow -type f -name "*.m" | ctags -e -o TAGS -L - Then instruct emacs to use this file, with M-x visit-tags-table. Now you can jump to a function definition with M-x find-tag If you want to just point to a function and open the source code for it, you can just add to your .emacs something like: (define-key matlab-mode-map [(C-return)] (lambda () (interactive) (find-tag(find-tag-default)))) What I find very convenient is that you can come back to the point where you invoked the find-tag command with something like (define-key matlab-mode-map [(C-backspace)] 'pop-tag-mark) Now (C-return) and (C-backspace) respectively allow you to go lower and higher in the functions call tree ! Hope that helps, David. -----Original Message----- From: Assaf B. Shpanier [mailto:shp...@gm...] Sent: 23 May 2010 11:37 To: mat...@li... Subject: [Matlab-emacs-discuss] open selection. Hi, Is there a way to point on a function-name in the source-code and open it -- like the open-selection (F4) option in matlab ? A-ssaf p.s: matlab-emacs is great! ---------------------------------------------------------------------------- -- _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Assaf B. S. <shp...@gm...> - 2010-05-23 10:36:54
|
Hi, Is there a way to point on a function-name in the source-code and open it -- like the open-selection (F4) option in matlab ? A-ssaf p.s: matlab-emacs is great! |
From: Laurent J. <lau...@uc...> - 2010-04-30 09:52:38
|
On 29/04/10 20:04, Eric Ludlam wrote: > Hi, > What you see is a side-effect of the fact that MATLAB is parsing that string and displaying all those prompts. I suppose it would be possible to replace all the CRs with , or something, such as the patch I attach, but this won't work if you have ..., or other things that mess with line continuations. > Thanks for your fast answer. It's a beginning of solution. Appending all the commands with commas is not really equivalent to fully hiding the commands but it helps to decouple the commands printing from their outputs. Perhaps something equivalent but slightly more robust would be to embed the cell into a kind of multiple lines eval(). For instance, if the cell is <code> %% Cell 1 cmd1; cmd2; cmd3; %% Cell 2 ... </code> the Matlab shell (through the lisp file matlab.el) would have to launch eval(sprintf(cellstr)) where cellstr is the full string containing the text "%% Cell 1 cmd1; cmd2; cmd3;" i.e., cellstr = '%% Cell 1\n cmd1;\n cmd2;\n cmd3;\n' with perhaps some care for doubling the apostrophes inside. Another point I was wondering, perhaps easier to implement, is how to program the "Run Cell and Advance" of Matlab, i.e. running the current cell and make the pointer jump to the beginning of next cell in the editing of the script file. I regret that I'm not sufficiently specialized in lisp to program myself these two features. My emails could be interpreted simply as a wish list for your mode. If it is too hard to implement, no problem. This mode is already very handy as it. Best regards, Laurent > Perhaps someone else on the list has a clever idea for turning off MATLAB echoing values. > > Eric > > -----Original Message----- > From: Laurent Jacques [mailto:lau...@uc...] > Sent: Thursday, April 29, 2010 11:34 AM > To: mat...@li... > Subject: [Matlab-emacs-discuss] "Run Cell/Region" in quiet mode > > Dear all, > > I have just discovered your matlab emacs mode. > Very nice work!, specially the "cell mode" which was missing from the > previous matlab modes for emacs. > > About this mode, how can I modify the configuration so that the "Run > Cell/Region" is done in a quiet mode (as in Matlab)? > I mean, currently, if in a given matlab script I have > > <code> > %% Cell 1 > > cmd1; > cmd2; > cmd3; > > %% Cell 2 > ... > </code> > > when I run Cell 1 by launching "Run Cell" inside it, the "Matlab Shell" > display > > >> cmd1; > <output cmd1> > >> cmd2; > <output cmd2> > >> cmd3; > <output cmd3> > > However, I'd like to restrict the Matlab Shell display to the only > outputs of the Cell 1, i.e. > > >> > <output cmd1> > <output cmd2> > <output cmd3> > > > Do you think it is possible? > Displaying the cmds induces sometimes a mess in the output of a cell. > > Thanks a lot for your help, > > L. Jacques > > > -- Dr. Laurent JACQUES Postdoctoral Researcher, FRS-FNRS, Belgium Communications and Remote Sensing Laboratory University of Louvain Batiment Stévin Place du Levant, 2 1348 Louvain-la-Neuve, Belgium Office: a.131 Tel: +32 10 47 23 16 Fax: +32 10 47 20 89 http://www.tele.ucl.ac.be/~jacques |
From: Eric L. <Eri...@ma...> - 2010-04-29 18:04:22
|
Hi, What you see is a side-effect of the fact that MATLAB is parsing that string and displaying all those prompts. I suppose it would be possible to replace all the CRs with , or something, such as the patch I attach, but this won't work if you have ..., or other things that mess with line continuations. Perhaps someone else on the list has a clever idea for turning off MATLAB echoing values. Eric -----Original Message----- From: Laurent Jacques [mailto:lau...@uc...] Sent: Thursday, April 29, 2010 11:34 AM To: mat...@li... Subject: [Matlab-emacs-discuss] "Run Cell/Region" in quiet mode Dear all, I have just discovered your matlab emacs mode. Very nice work!, specially the "cell mode" which was missing from the previous matlab modes for emacs. About this mode, how can I modify the configuration so that the "Run Cell/Region" is done in a quiet mode (as in Matlab)? I mean, currently, if in a given matlab script I have <code> %% Cell 1 cmd1; cmd2; cmd3; %% Cell 2 ... </code> when I run Cell 1 by launching "Run Cell" inside it, the "Matlab Shell" display >> cmd1; <output cmd1> >> cmd2; <output cmd2> >> cmd3; <output cmd3> However, I'd like to restrict the Matlab Shell display to the only outputs of the Cell 1, i.e. >> <output cmd1> <output cmd2> <output cmd3> Do you think it is possible? Displaying the cmds induces sometimes a mess in the output of a cell. Thanks a lot for your help, L. Jacques -- Dr. Laurent JACQUES Postdoctoral Researcher, FRS-FNRS, Belgium Communications and Remote Sensing Laboratory University of Louvain Batiment Stévin Place du Levant, 2 1348 Louvain-la-Neuve, Belgium Office: a.131 Tel: +32 10 47 23 16 Fax: +32 10 47 20 89 http://www.tele.ucl.ac.be/~jacques ------------------------------------------------------------------------------ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Laurent J. <lau...@uc...> - 2010-04-29 15:35:08
|
Dear all, I have just discovered your matlab emacs mode. Very nice work!, specially the "cell mode" which was missing from the previous matlab modes for emacs. About this mode, how can I modify the configuration so that the "Run Cell/Region" is done in a quiet mode (as in Matlab)? I mean, currently, if in a given matlab script I have <code> %% Cell 1 cmd1; cmd2; cmd3; %% Cell 2 ... </code> when I run Cell 1 by launching "Run Cell" inside it, the "Matlab Shell" display >> cmd1; <output cmd1> >> cmd2; <output cmd2> >> cmd3; <output cmd3> However, I'd like to restrict the Matlab Shell display to the only outputs of the Cell 1, i.e. >> <output cmd1> <output cmd2> <output cmd3> Do you think it is possible? Displaying the cmds induces sometimes a mess in the output of a cell. Thanks a lot for your help, L. Jacques -- Dr. Laurent JACQUES Postdoctoral Researcher, FRS-FNRS, Belgium Communications and Remote Sensing Laboratory University of Louvain Batiment Stévin Place du Levant, 2 1348 Louvain-la-Neuve, Belgium Office: a.131 Tel: +32 10 47 23 16 Fax: +32 10 47 20 89 http://www.tele.ucl.ac.be/~jacques |
From: Daniel H. <dan...@gm...> - 2010-04-14 13:02:07
|
On 9 Apr 2010, at 11:29, David Chappaz wrote: > > Eric Ludlam wrote: >> Hi, >> >> I'm not sure why adding "-n" to your emacsclient script causes it >> to not be found. If the problem is related to the space in the >> command, a simple workaround is to create a shell script like this: >> >> myemacsclient.sh >> -------------- >> #!/bin/sh >> emacsclient -n $* >> -------------- >> >> And then use that shell script instead. >> > > > I have encountered the same problem on windows, where adding "-n" to > the emacsclient options causes it not to be found, most likely due > to the space in the command. > The workaround I have found on windows is to change startup.m as > follows: > > if (ispc) > emacsinit('"emacsclient --alternate-editor emacs -n"'); > else > emacsinit; > end > > Notice the double quotes within the single quotes... I haven't tried > it on linux, but Eric's suggestion should certainly work. > > As far as the links for error messages are concerned, I'm also > experiencing problems, with all matlab releases (R2006a, R2008a, > R2009a). > In particular error messages of the kind: > > ??? Error: File: myscript.m Line: 57 Column: 15 > > do not seem to be covered by the regexp. > > But great work, Eric ! You don't know how much I value what you've > done, but I really, really regret Mathworks' decision to have > dropped EmacsLink support... > > Cheers, > David. > > Hi all, Sorry for the late reply, I have been busy and didn't want to report back before I had done my best to make both solutions work. I could not make your solution work David but Eric's shell script did the job. For os x users with the same problem: I created the shell script described above Added the folder to the search path Changed the file permission Added these lines: % Personal change to handle the space in emacsclient -n % ------------------------------------------------------- clientcommand = 'myEmacsclient.sh'; % ------------------------------------------------------- in the emacsinit file located in /some/path/matlab-emacs/toolbox/ just above the line com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', clientcommand); I should mention that there are still problems with the all the links (If i find a solution i will post it), but the edit command now works as it should. Cheers Daniel |
From: David C. <dav...@fr...> - 2010-04-09 09:29:24
|
Eric Ludlam wrote: > Hi, > > I'm not sure why adding "-n" to your emacsclient script causes it to not be found. If the problem is related to the space in the command, a simple workaround is to create a shell script like this: > > myemacsclient.sh > -------------- > #!/bin/sh > emacsclient -n $* > -------------- > > And then use that shell script instead. > I have encountered the same problem on windows, where adding "-n" to the emacsclient options causes it not to be found, most likely due to the space in the command. The workaround I have found on windows is to change startup.m as follows: if (ispc) emacsinit('"emacsclient --alternate-editor emacs -n"'); else emacsinit; end Notice the double quotes within the single quotes... I haven't tried it on linux, but Eric's suggestion should certainly work. As far as the links for error messages are concerned, I'm also experiencing problems, with all matlab releases (R2006a, R2008a, R2009a). In particular error messages of the kind: ??? Error: File: myscript.m Line: 57 Column: 15 do not seem to be covered by the regexp. But great work, Eric ! You don't know how much I value what you've done, but I really, really regret Mathworks' decision to have dropped EmacsLink support... Cheers, David. |
From: evelina d. <eve...@ui...> - 2010-04-07 21:41:12
|
Hi Eric, thanks a lot for the developing and updating of the matlab-emacs code. It sometimes works fine for me -- in matlab-shell under emacs some error messages are links, other are still not. Funnily, errors with more dependencies seem to work. Simple errors in dump test files do not (like one-line files [1+1+ ]). One hint for other users who have problems with the emacs matlab shell. I had to do some cleaning! First, updated to the new Matlab R2010a (was using the test version sill) and eliminated old toolboxes. The problem was that still an old opentoline.m was used. Now matlab uses the one provided in matlab-emacs/toolbox (test: error messages in the native matlab command window all link to and open emacs perfectly!!!). Second, I had to clean matlab.el and matlab.elc from the emacs-goodies-el folder --I guess these have been used instead of the updated matlab.el. Hope this helps. Thanks, Evelina Eric Ludlam wrote: > Hi, > > I had posted yesterday about the change you found yesterday, but I didn't get a copy of my email back from the mailing list. In effect, the output text of MATLAB changes, so I updated the matlab-shell code to be (I hope) robust to that class of change. > > I'm not sure why adding "-n" to your emacsclient script causes it to not be found. If the problem is related to the space in the command, a simple workaround is to create a shell script like this: > > myemacsclient.sh > -------------- > #!/bin/sh > emacsclient -n $* > -------------- > > And then use that shell script instead. > > Eric > > -----Original Message----- > From: Daniel Haugstvedt [mailto:dan...@gm...] > Sent: Tuesday, April 06, 2010 2:14 PM > To: Eric Ludlam > Cc: Dineva, Evelina E; mat...@li... > Subject: Re: [Matlab-emacs-discuss] Links and tab completion in matlab-shell > > Hi, > I had no idea that the development was so dynamic. Last update 3 hours > ago, nice. Anyway, I have the latest CVS so I do not believe my > problem is there. It might be that I and Evelna have different issues. > > Testing some more with regard to the edit function in matlab: > > >> emacsinit('emacsclient'); > >> edit ls <-- works fine, > but opens a buffer that needs to be closed using C-x # > >> emacsinit('emacsclient -n '); > >> edit ls > ??? Error using ==> edit at 57 > Could not find external editor > > > Trying the same in terminal > > emacsclient test.txt <-- works fine, but opens a buffer that > needs to be closed using C-x # > emacsclient -n test.txt <-- works fine, normal buffer > > > From the manual I have this > > -n, --no-wait > returns immediately without waiting for you to > "finish" the > buffer in Emacs. > > which sounds like the behavior one wants when debugging. I will > continue my search, but to be honest I am quite far from home. Hope > the updated matlab-emacs works for you Evelna. Thanks for the help Eric. > > Best > Daniel > On 6 Apr 2010, at 17:20, Eric Ludlam wrote: > >> Hi, >> >> In the past, I know I've posted that this worked for me. I'm not >> sure what changed, but my MATLAB is now outputting something >> different, so I was able to reproduce the problem as described here. >> >> The issue I see is that errors for me used to be prefixed like this: >> >> {??? Error in >> >> And now they are not. >> >> I've re-written and checked in a series of changes that are robust >> to this lack of error text prefix, and I ran some error and >> debugging samples through my MALTLAB shell, and got the errors to >> get hyperlinked, and the debugging is also still working for me all >> in the matlab-shell. >> >> If you experienced this problem, you can get the latest from CVS and >> give it a try. Hopefully it will work with both variations of >> output. Let me know if there are any more issues. >> >> Thanks >> Eric >> >> -----Original Message----- >> From: Dineva, Evelina E [mailto:eve...@ui...] >> Sent: Monday, April 05, 2010 3:20 PM >> To: Daniel Haugstvedt >> Cc: Eric Ludlam; mat...@li... >> Subject: Re: [Matlab-emacs-discuss] Links and tab completion in >> matlab-shell >> >> Hello. Thanks for the hints and all the work on this packages. Here >> is a just my two cents: >> Both, "$ emacsclient foo.txt" in the terminal and ">> edit >> someting.m" in matlab-shell (via emacs) or in the native matlab >> command window both open my default emacs client (aqua on mac, >> snapshot on linux). Also, warnings do provide correct clickable >> links for emacs. However, the error messages in the matlab-shell >> provide no links. In the native matlab command window there are >> links that open the matlab editor, not emacs (although edit opens >> emacs!). So probably there is something wrong with >> editorservices.openAndGoToLine functions ?? -- beats me. >> >> Evelna >> >> On Apr 5, 2010, at 1:37 PM, Daniel Haugstvedt wrote: >> >>> Thanks for the quick response Eric. >>> I think you are on to something. Running the edit test fails. >>> >>>>> edit ls >>> ??? Error using ==> edit at 57 >>> Could not find external editor >>> >>> Before running server-start emacsclient does not work, after running >>> it starts a new emacs buffer as expected. Starting the matlab-shell >>> after the server is started does not help. >>> >>> However, after I start the matlab-shell there is a line printet in >>> the >>> matlab promt: >>> >>>>> addpath('/Path/to/Matlab/Emacs/Matlab/toolbox,'-begin'); rehash; >>> emacsinit('emacsclient -n'); >>> >>> I am suspecting it is the last one that is the perpetrator. I hunted >>> it down to line 4160 in matlab.el >>> >>> (defvar matlab-shell-emacsclient-command "emacsclient -n" >>> "The command to use as an external editor for MATLAB. >>> Using emacsclient allows the currently running Emacs to also be the >>> external editor for MATLAB.") >>> >>> Checkin what is does in emacsinit.el i found this on line 11-14 >>> >>> if nargin == 0 >>> clientcommand = 'emacsclient -n'; >>> end >>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', >>> clientcommand); >>> >>> Simply running >>> >>>>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', >>> 'emacsclient'); >>> >>> fixed so that edit opens a buffer in emacs. I changed line 4160 in >>> matlab.el and 12 in emacsinit.el and hoped this would solve all my >>> problems. Now edit works but the error links are still missing. >>> Testing the old configuration again I don't think they ever where >>> there. It is only the statements that appear clickable (makes the >>> mouse change when I scroll over) not the errors. Sorry for the >>> misinformation in the previous mail. >>> >>> I have no Idea what to do next >>> Cheers >>> Daniel >>> >>> >>> >>> On 5 Apr 2010, at 14:39, Eric Ludlam wrote: >>> >>>> Hi, >>>> >>>> The links in the shell buffer may do one of two things. They will >>>> either cause local code to run, like 'find-file-other-window', or it >>>> will ask MATLAB to execute the 'opentoline' or 'edit' commands. If >>>> the anchor in the output text is a matlab: style anchor it may cause >>>> MATLAB to run that code. If so, MATLAB will execute 'emacsclient' >>>> with some arguments and then your running emacs will pick up on >>>> that. This is similar to if you ran MATLAB and Emacs separately, >>>> and changed the editor to be emacsclient. >>>> >>>> Anyway, a simple test is at the >> prompt in matlab-shell to type: >>>> >>>>>> edit ls >>>> And see if that brings up ls.m in Emacs. If not, you may need to >>>> start the Emacs server with >>>> >>>> M-x server-start >>>> >>>> Or some equivalent in you .emacs. >>>> >>>> Then try from the Unix shell to type: >>>> >>>> $ emacsclient foo.txt >>>> >>>> And see if that works. >>>> >>>> Eric >>>> >>>> -----Original Message----- >>>> From: Daniel Haugstvedt [mailto:dan...@gm...] >>>> Sent: Sunday, April 04, 2010 4:53 PM >>>> To: mat...@li... >>>> Subject: [Matlab-emacs-discuss] Links and tab completion in matlab- >>>> shell >>>> >>>> Hi all, >>>> During my six years at the university matlab-emacs have been my >>>> weapon of choice for editing. During christmas I saw the matlab- >>>> shell >>>> in action and I definitely want to change my workflow to incorporate >>>> it. Sadly I am unable to get it to function without major >>>> limitations. >>>> Assuming that I was just making an obvious beginner mistake I have >>>> been watching the mailing list since new year hoping to get some >>>> pointers on how to go about. >>>> >>>> It looks like others are having similar problems, but I have yet to >>>> see a solution to my main problem: All links are present (mouse >>>> changes when i scroll over them) but pressing have no effect. I >>>> suspect the reason can be found in the error messages I receive when >>>> starting up matlab-shell: >>>> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >>>> - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- >>>> hooks' >>>> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >>>> Googling has not helped, and I really don't know where to start. >>>> >>>> In addition to this there is the problem of tab completion. When >>>> trying it I only get the message: >>>> - ad-Orig-error: No tags table loaded; try M-x visit-tags-table >>>> >>>> My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version >>>> 1.6.0) >>>> of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 >>>> with matlab 7.9.0.529 (R2009b) and I presume the latest version of >>>> matlab-emacs >>>> >>>> All help is greatly appreciated! >>>> Cheers >>>> /Daniel >>>> >>>> ------------------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Matlab-emacs-discuss mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Matlab-emacs-discuss mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Eric L. <Eri...@ma...> - 2010-04-07 13:18:30
|
Hi, I had posted yesterday about the change you found yesterday, but I didn't get a copy of my email back from the mailing list. In effect, the output text of MATLAB changes, so I updated the matlab-shell code to be (I hope) robust to that class of change. I'm not sure why adding "-n" to your emacsclient script causes it to not be found. If the problem is related to the space in the command, a simple workaround is to create a shell script like this: myemacsclient.sh -------------- #!/bin/sh emacsclient -n $* -------------- And then use that shell script instead. Eric -----Original Message----- From: Daniel Haugstvedt [mailto:dan...@gm...] Sent: Tuesday, April 06, 2010 2:14 PM To: Eric Ludlam Cc: Dineva, Evelina E; mat...@li... Subject: Re: [Matlab-emacs-discuss] Links and tab completion in matlab-shell Hi, I had no idea that the development was so dynamic. Last update 3 hours ago, nice. Anyway, I have the latest CVS so I do not believe my problem is there. It might be that I and Evelna have different issues. Testing some more with regard to the edit function in matlab: >> emacsinit('emacsclient'); >> edit ls <-- works fine, but opens a buffer that needs to be closed using C-x # >> emacsinit('emacsclient -n '); >> edit ls ??? Error using ==> edit at 57 Could not find external editor Trying the same in terminal emacsclient test.txt <-- works fine, but opens a buffer that needs to be closed using C-x # emacsclient -n test.txt <-- works fine, normal buffer From the manual I have this -n, --no-wait returns immediately without waiting for you to "finish" the buffer in Emacs. which sounds like the behavior one wants when debugging. I will continue my search, but to be honest I am quite far from home. Hope the updated matlab-emacs works for you Evelna. Thanks for the help Eric. Best Daniel On 6 Apr 2010, at 17:20, Eric Ludlam wrote: > Hi, > > In the past, I know I've posted that this worked for me. I'm not > sure what changed, but my MATLAB is now outputting something > different, so I was able to reproduce the problem as described here. > > The issue I see is that errors for me used to be prefixed like this: > > {??? Error in > > And now they are not. > > I've re-written and checked in a series of changes that are robust > to this lack of error text prefix, and I ran some error and > debugging samples through my MALTLAB shell, and got the errors to > get hyperlinked, and the debugging is also still working for me all > in the matlab-shell. > > If you experienced this problem, you can get the latest from CVS and > give it a try. Hopefully it will work with both variations of > output. Let me know if there are any more issues. > > Thanks > Eric > > -----Original Message----- > From: Dineva, Evelina E [mailto:eve...@ui...] > Sent: Monday, April 05, 2010 3:20 PM > To: Daniel Haugstvedt > Cc: Eric Ludlam; mat...@li... > Subject: Re: [Matlab-emacs-discuss] Links and tab completion in > matlab-shell > > Hello. Thanks for the hints and all the work on this packages. Here > is a just my two cents: > Both, "$ emacsclient foo.txt" in the terminal and ">> edit > someting.m" in matlab-shell (via emacs) or in the native matlab > command window both open my default emacs client (aqua on mac, > snapshot on linux). Also, warnings do provide correct clickable > links for emacs. However, the error messages in the matlab-shell > provide no links. In the native matlab command window there are > links that open the matlab editor, not emacs (although edit opens > emacs!). So probably there is something wrong with > editorservices.openAndGoToLine functions ?? -- beats me. > > Evelna > > On Apr 5, 2010, at 1:37 PM, Daniel Haugstvedt wrote: > >> Thanks for the quick response Eric. >> I think you are on to something. Running the edit test fails. >> >>>> edit ls >> ??? Error using ==> edit at 57 >> Could not find external editor >> >> Before running server-start emacsclient does not work, after running >> it starts a new emacs buffer as expected. Starting the matlab-shell >> after the server is started does not help. >> >> However, after I start the matlab-shell there is a line printet in >> the >> matlab promt: >> >>>> addpath('/Path/to/Matlab/Emacs/Matlab/toolbox,'-begin'); rehash; >> emacsinit('emacsclient -n'); >> >> I am suspecting it is the last one that is the perpetrator. I hunted >> it down to line 4160 in matlab.el >> >> (defvar matlab-shell-emacsclient-command "emacsclient -n" >> "The command to use as an external editor for MATLAB. >> Using emacsclient allows the currently running Emacs to also be the >> external editor for MATLAB.") >> >> Checkin what is does in emacsinit.el i found this on line 11-14 >> >> if nargin == 0 >> clientcommand = 'emacsclient -n'; >> end >> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', >> clientcommand); >> >> Simply running >> >>>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', >> 'emacsclient'); >> >> fixed so that edit opens a buffer in emacs. I changed line 4160 in >> matlab.el and 12 in emacsinit.el and hoped this would solve all my >> problems. Now edit works but the error links are still missing. >> Testing the old configuration again I don't think they ever where >> there. It is only the statements that appear clickable (makes the >> mouse change when I scroll over) not the errors. Sorry for the >> misinformation in the previous mail. >> >> I have no Idea what to do next >> Cheers >> Daniel >> >> >> >> On 5 Apr 2010, at 14:39, Eric Ludlam wrote: >> >>> Hi, >>> >>> The links in the shell buffer may do one of two things. They will >>> either cause local code to run, like 'find-file-other-window', or it >>> will ask MATLAB to execute the 'opentoline' or 'edit' commands. If >>> the anchor in the output text is a matlab: style anchor it may cause >>> MATLAB to run that code. If so, MATLAB will execute 'emacsclient' >>> with some arguments and then your running emacs will pick up on >>> that. This is similar to if you ran MATLAB and Emacs separately, >>> and changed the editor to be emacsclient. >>> >>> Anyway, a simple test is at the >> prompt in matlab-shell to type: >>> >>>>> edit ls >>> >>> And see if that brings up ls.m in Emacs. If not, you may need to >>> start the Emacs server with >>> >>> M-x server-start >>> >>> Or some equivalent in you .emacs. >>> >>> Then try from the Unix shell to type: >>> >>> $ emacsclient foo.txt >>> >>> And see if that works. >>> >>> Eric >>> >>> -----Original Message----- >>> From: Daniel Haugstvedt [mailto:dan...@gm...] >>> Sent: Sunday, April 04, 2010 4:53 PM >>> To: mat...@li... >>> Subject: [Matlab-emacs-discuss] Links and tab completion in matlab- >>> shell >>> >>> Hi all, >>> During my six years at the university matlab-emacs have been my >>> weapon of choice for editing. During christmas I saw the matlab- >>> shell >>> in action and I definitely want to change my workflow to incorporate >>> it. Sadly I am unable to get it to function without major >>> limitations. >>> Assuming that I was just making an obvious beginner mistake I have >>> been watching the mailing list since new year hoping to get some >>> pointers on how to go about. >>> >>> It looks like others are having similar problems, but I have yet to >>> see a solution to my main problem: All links are present (mouse >>> changes when i scroll over them) but pressing have no effect. I >>> suspect the reason can be found in the error messages I receive when >>> starting up matlab-shell: >>> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >>> - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- >>> hooks' >>> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >>> Googling has not helped, and I really don't know where to start. >>> >>> In addition to this there is the problem of tab completion. When >>> trying it I only get the message: >>> - ad-Orig-error: No tags table loaded; try M-x visit-tags-table >>> >>> My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version >>> 1.6.0) >>> of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 >>> with matlab 7.9.0.529 (R2009b) and I presume the latest version of >>> matlab-emacs >>> >>> All help is greatly appreciated! >>> Cheers >>> /Daniel >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Matlab-emacs-discuss mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Daniel H. <dan...@gm...> - 2010-04-06 18:14:14
|
Hi, I had no idea that the development was so dynamic. Last update 3 hours ago, nice. Anyway, I have the latest CVS so I do not believe my problem is there. It might be that I and Evelna have different issues. Testing some more with regard to the edit function in matlab: >> emacsinit('emacsclient'); >> edit ls <-- works fine, but opens a buffer that needs to be closed using C-x # >> emacsinit('emacsclient -n '); >> edit ls ??? Error using ==> edit at 57 Could not find external editor Trying the same in terminal emacsclient test.txt <-- works fine, but opens a buffer that needs to be closed using C-x # emacsclient -n test.txt <-- works fine, normal buffer From the manual I have this -n, --no-wait returns immediately without waiting for you to "finish" the buffer in Emacs. which sounds like the behavior one wants when debugging. I will continue my search, but to be honest I am quite far from home. Hope the updated matlab-emacs works for you Evelna. Thanks for the help Eric. Best Daniel On 6 Apr 2010, at 17:20, Eric Ludlam wrote: > Hi, > > In the past, I know I've posted that this worked for me. I'm not > sure what changed, but my MATLAB is now outputting something > different, so I was able to reproduce the problem as described here. > > The issue I see is that errors for me used to be prefixed like this: > > {??? Error in > > And now they are not. > > I've re-written and checked in a series of changes that are robust > to this lack of error text prefix, and I ran some error and > debugging samples through my MALTLAB shell, and got the errors to > get hyperlinked, and the debugging is also still working for me all > in the matlab-shell. > > If you experienced this problem, you can get the latest from CVS and > give it a try. Hopefully it will work with both variations of > output. Let me know if there are any more issues. > > Thanks > Eric > > -----Original Message----- > From: Dineva, Evelina E [mailto:eve...@ui...] > Sent: Monday, April 05, 2010 3:20 PM > To: Daniel Haugstvedt > Cc: Eric Ludlam; mat...@li... > Subject: Re: [Matlab-emacs-discuss] Links and tab completion in > matlab-shell > > Hello. Thanks for the hints and all the work on this packages. Here > is a just my two cents: > Both, "$ emacsclient foo.txt" in the terminal and ">> edit > someting.m" in matlab-shell (via emacs) or in the native matlab > command window both open my default emacs client (aqua on mac, > snapshot on linux). Also, warnings do provide correct clickable > links for emacs. However, the error messages in the matlab-shell > provide no links. In the native matlab command window there are > links that open the matlab editor, not emacs (although edit opens > emacs!). So probably there is something wrong with > editorservices.openAndGoToLine functions ?? -- beats me. > > Evelna > > On Apr 5, 2010, at 1:37 PM, Daniel Haugstvedt wrote: > >> Thanks for the quick response Eric. >> I think you are on to something. Running the edit test fails. >> >>>> edit ls >> ??? Error using ==> edit at 57 >> Could not find external editor >> >> Before running server-start emacsclient does not work, after running >> it starts a new emacs buffer as expected. Starting the matlab-shell >> after the server is started does not help. >> >> However, after I start the matlab-shell there is a line printet in >> the >> matlab promt: >> >>>> addpath('/Path/to/Matlab/Emacs/Matlab/toolbox,'-begin'); rehash; >> emacsinit('emacsclient -n'); >> >> I am suspecting it is the last one that is the perpetrator. I hunted >> it down to line 4160 in matlab.el >> >> (defvar matlab-shell-emacsclient-command "emacsclient -n" >> "The command to use as an external editor for MATLAB. >> Using emacsclient allows the currently running Emacs to also be the >> external editor for MATLAB.") >> >> Checkin what is does in emacsinit.el i found this on line 11-14 >> >> if nargin == 0 >> clientcommand = 'emacsclient -n'; >> end >> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', >> clientcommand); >> >> Simply running >> >>>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', >> 'emacsclient'); >> >> fixed so that edit opens a buffer in emacs. I changed line 4160 in >> matlab.el and 12 in emacsinit.el and hoped this would solve all my >> problems. Now edit works but the error links are still missing. >> Testing the old configuration again I don't think they ever where >> there. It is only the statements that appear clickable (makes the >> mouse change when I scroll over) not the errors. Sorry for the >> misinformation in the previous mail. >> >> I have no Idea what to do next >> Cheers >> Daniel >> >> >> >> On 5 Apr 2010, at 14:39, Eric Ludlam wrote: >> >>> Hi, >>> >>> The links in the shell buffer may do one of two things. They will >>> either cause local code to run, like 'find-file-other-window', or it >>> will ask MATLAB to execute the 'opentoline' or 'edit' commands. If >>> the anchor in the output text is a matlab: style anchor it may cause >>> MATLAB to run that code. If so, MATLAB will execute 'emacsclient' >>> with some arguments and then your running emacs will pick up on >>> that. This is similar to if you ran MATLAB and Emacs separately, >>> and changed the editor to be emacsclient. >>> >>> Anyway, a simple test is at the >> prompt in matlab-shell to type: >>> >>>>> edit ls >>> >>> And see if that brings up ls.m in Emacs. If not, you may need to >>> start the Emacs server with >>> >>> M-x server-start >>> >>> Or some equivalent in you .emacs. >>> >>> Then try from the Unix shell to type: >>> >>> $ emacsclient foo.txt >>> >>> And see if that works. >>> >>> Eric >>> >>> -----Original Message----- >>> From: Daniel Haugstvedt [mailto:dan...@gm...] >>> Sent: Sunday, April 04, 2010 4:53 PM >>> To: mat...@li... >>> Subject: [Matlab-emacs-discuss] Links and tab completion in matlab- >>> shell >>> >>> Hi all, >>> During my six years at the university matlab-emacs have been my >>> weapon of choice for editing. During christmas I saw the matlab- >>> shell >>> in action and I definitely want to change my workflow to incorporate >>> it. Sadly I am unable to get it to function without major >>> limitations. >>> Assuming that I was just making an obvious beginner mistake I have >>> been watching the mailing list since new year hoping to get some >>> pointers on how to go about. >>> >>> It looks like others are having similar problems, but I have yet to >>> see a solution to my main problem: All links are present (mouse >>> changes when i scroll over them) but pressing have no effect. I >>> suspect the reason can be found in the error messages I receive when >>> starting up matlab-shell: >>> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >>> - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- >>> hooks' >>> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >>> Googling has not helped, and I really don't know where to start. >>> >>> In addition to this there is the problem of tab completion. When >>> trying it I only get the message: >>> - ad-Orig-error: No tags table loaded; try M-x visit-tags-table >>> >>> My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version >>> 1.6.0) >>> of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 >>> with matlab 7.9.0.529 (R2009b) and I presume the latest version of >>> matlab-emacs >>> >>> All help is greatly appreciated! >>> Cheers >>> /Daniel >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Matlab-emacs-discuss mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: Eric L. <Eri...@ma...> - 2010-04-06 15:21:00
|
Hi, In the past, I know I've posted that this worked for me. I'm not sure what changed, but my MATLAB is now outputting something different, so I was able to reproduce the problem as described here. The issue I see is that errors for me used to be prefixed like this: {??? Error in And now they are not. I've re-written and checked in a series of changes that are robust to this lack of error text prefix, and I ran some error and debugging samples through my MALTLAB shell, and got the errors to get hyperlinked, and the debugging is also still working for me all in the matlab-shell. If you experienced this problem, you can get the latest from CVS and give it a try. Hopefully it will work with both variations of output. Let me know if there are any more issues. Thanks Eric -----Original Message----- From: Dineva, Evelina E [mailto:eve...@ui...] Sent: Monday, April 05, 2010 3:20 PM To: Daniel Haugstvedt Cc: Eric Ludlam; mat...@li... Subject: Re: [Matlab-emacs-discuss] Links and tab completion in matlab-shell Hello. Thanks for the hints and all the work on this packages. Here is a just my two cents: Both, "$ emacsclient foo.txt" in the terminal and ">> edit someting.m" in matlab-shell (via emacs) or in the native matlab command window both open my default emacs client (aqua on mac, snapshot on linux). Also, warnings do provide correct clickable links for emacs. However, the error messages in the matlab-shell provide no links. In the native matlab command window there are links that open the matlab editor, not emacs (although edit opens emacs!). So probably there is something wrong with editorservices.openAndGoToLine functions ?? -- beats me. Evelna On Apr 5, 2010, at 1:37 PM, Daniel Haugstvedt wrote: > Thanks for the quick response Eric. > I think you are on to something. Running the edit test fails. > >>> edit ls > ??? Error using ==> edit at 57 > Could not find external editor > > Before running server-start emacsclient does not work, after running > it starts a new emacs buffer as expected. Starting the matlab-shell > after the server is started does not help. > > However, after I start the matlab-shell there is a line printet in the > matlab promt: > >>> addpath('/Path/to/Matlab/Emacs/Matlab/toolbox,'-begin'); rehash; > emacsinit('emacsclient -n'); > > I am suspecting it is the last one that is the perpetrator. I hunted > it down to line 4160 in matlab.el > > (defvar matlab-shell-emacsclient-command "emacsclient -n" > "The command to use as an external editor for MATLAB. > Using emacsclient allows the currently running Emacs to also be the > external editor for MATLAB.") > > Checkin what is does in emacsinit.el i found this on line 11-14 > > if nargin == 0 > clientcommand = 'emacsclient -n'; > end > com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', > clientcommand); > > Simply running > >>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', > 'emacsclient'); > > fixed so that edit opens a buffer in emacs. I changed line 4160 in > matlab.el and 12 in emacsinit.el and hoped this would solve all my > problems. Now edit works but the error links are still missing. > Testing the old configuration again I don't think they ever where > there. It is only the statements that appear clickable (makes the > mouse change when I scroll over) not the errors. Sorry for the > misinformation in the previous mail. > > I have no Idea what to do next > Cheers > Daniel > > > > On 5 Apr 2010, at 14:39, Eric Ludlam wrote: > >> Hi, >> >> The links in the shell buffer may do one of two things. They will >> either cause local code to run, like 'find-file-other-window', or it >> will ask MATLAB to execute the 'opentoline' or 'edit' commands. If >> the anchor in the output text is a matlab: style anchor it may cause >> MATLAB to run that code. If so, MATLAB will execute 'emacsclient' >> with some arguments and then your running emacs will pick up on >> that. This is similar to if you ran MATLAB and Emacs separately, >> and changed the editor to be emacsclient. >> >> Anyway, a simple test is at the >> prompt in matlab-shell to type: >> >>>> edit ls >> >> And see if that brings up ls.m in Emacs. If not, you may need to >> start the Emacs server with >> >> M-x server-start >> >> Or some equivalent in you .emacs. >> >> Then try from the Unix shell to type: >> >> $ emacsclient foo.txt >> >> And see if that works. >> >> Eric >> >> -----Original Message----- >> From: Daniel Haugstvedt [mailto:dan...@gm...] >> Sent: Sunday, April 04, 2010 4:53 PM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] Links and tab completion in matlab- >> shell >> >> Hi all, >> During my six years at the university matlab-emacs have been my >> weapon of choice for editing. During christmas I saw the matlab-shell >> in action and I definitely want to change my workflow to incorporate >> it. Sadly I am unable to get it to function without major limitations. >> Assuming that I was just making an obvious beginner mistake I have >> been watching the mailing list since new year hoping to get some >> pointers on how to go about. >> >> It looks like others are having similar problems, but I have yet to >> see a solution to my main problem: All links are present (mouse >> changes when i scroll over them) but pressing have no effect. I >> suspect the reason can be found in the error messages I receive when >> starting up matlab-shell: >> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >> - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- >> hooks' >> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >> Googling has not helped, and I really don't know where to start. >> >> In addition to this there is the problem of tab completion. When >> trying it I only get the message: >> - ad-Orig-error: No tags table loaded; try M-x visit-tags-table >> >> My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version >> 1.6.0) >> of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 >> with matlab 7.9.0.529 (R2009b) and I presume the latest version of >> matlab-emacs >> >> All help is greatly appreciated! >> Cheers >> /Daniel >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Dineva, E. E <eve...@ui...> - 2010-04-05 19:32:15
|
Hello. Thanks for the hints and all the work on this packages. Here is a just my two cents: Both, "$ emacsclient foo.txt" in the terminal and ">> edit someting.m" in matlab-shell (via emacs) or in the native matlab command window both open my default emacs client (aqua on mac, snapshot on linux). Also, warnings do provide correct clickable links for emacs. However, the error messages in the matlab-shell provide no links. In the native matlab command window there are links that open the matlab editor, not emacs (although edit opens emacs!). So probably there is something wrong with editorservices.openAndGoToLine functions ?? -- beats me. Evelna On Apr 5, 2010, at 1:37 PM, Daniel Haugstvedt wrote: > Thanks for the quick response Eric. > I think you are on to something. Running the edit test fails. > >>> edit ls > ??? Error using ==> edit at 57 > Could not find external editor > > Before running server-start emacsclient does not work, after running > it starts a new emacs buffer as expected. Starting the matlab-shell > after the server is started does not help. > > However, after I start the matlab-shell there is a line printet in the > matlab promt: > >>> addpath('/Path/to/Matlab/Emacs/Matlab/toolbox,'-begin'); rehash; > emacsinit('emacsclient -n'); > > I am suspecting it is the last one that is the perpetrator. I hunted > it down to line 4160 in matlab.el > > (defvar matlab-shell-emacsclient-command "emacsclient -n" > "The command to use as an external editor for MATLAB. > Using emacsclient allows the currently running Emacs to also be the > external editor for MATLAB.") > > Checkin what is does in emacsinit.el i found this on line 11-14 > > if nargin == 0 > clientcommand = 'emacsclient -n'; > end > com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', > clientcommand); > > Simply running > >>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', > 'emacsclient'); > > fixed so that edit opens a buffer in emacs. I changed line 4160 in > matlab.el and 12 in emacsinit.el and hoped this would solve all my > problems. Now edit works but the error links are still missing. > Testing the old configuration again I don't think they ever where > there. It is only the statements that appear clickable (makes the > mouse change when I scroll over) not the errors. Sorry for the > misinformation in the previous mail. > > I have no Idea what to do next > Cheers > Daniel > > > > On 5 Apr 2010, at 14:39, Eric Ludlam wrote: > >> Hi, >> >> The links in the shell buffer may do one of two things. They will >> either cause local code to run, like 'find-file-other-window', or it >> will ask MATLAB to execute the 'opentoline' or 'edit' commands. If >> the anchor in the output text is a matlab: style anchor it may cause >> MATLAB to run that code. If so, MATLAB will execute 'emacsclient' >> with some arguments and then your running emacs will pick up on >> that. This is similar to if you ran MATLAB and Emacs separately, >> and changed the editor to be emacsclient. >> >> Anyway, a simple test is at the >> prompt in matlab-shell to type: >> >>>> edit ls >> >> And see if that brings up ls.m in Emacs. If not, you may need to >> start the Emacs server with >> >> M-x server-start >> >> Or some equivalent in you .emacs. >> >> Then try from the Unix shell to type: >> >> $ emacsclient foo.txt >> >> And see if that works. >> >> Eric >> >> -----Original Message----- >> From: Daniel Haugstvedt [mailto:dan...@gm...] >> Sent: Sunday, April 04, 2010 4:53 PM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] Links and tab completion in matlab- >> shell >> >> Hi all, >> During my six years at the university matlab-emacs have been my >> weapon of choice for editing. During christmas I saw the matlab-shell >> in action and I definitely want to change my workflow to incorporate >> it. Sadly I am unable to get it to function without major limitations. >> Assuming that I was just making an obvious beginner mistake I have >> been watching the mailing list since new year hoping to get some >> pointers on how to go about. >> >> It looks like others are having similar problems, but I have yet to >> see a solution to my main problem: All links are present (mouse >> changes when i scroll over them) but pressing have no effect. I >> suspect the reason can be found in the error messages I receive when >> starting up matlab-shell: >> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >> - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- >> hooks' >> - Error in menu-bar-update-hook: (void-variable gdb-active-process) >> Googling has not helped, and I really don't know where to start. >> >> In addition to this there is the problem of tab completion. When >> trying it I only get the message: >> - ad-Orig-error: No tags table loaded; try M-x visit-tags-table >> >> My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version >> 1.6.0) >> of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 >> with matlab 7.9.0.529 (R2009b) and I presume the latest version of >> matlab-emacs >> >> All help is greatly appreciated! >> Cheers >> /Daniel >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Daniel H. <dan...@gm...> - 2010-04-05 18:37:35
|
Thanks for the quick response Eric. I think you are on to something. Running the edit test fails. >> edit ls ??? Error using ==> edit at 57 Could not find external editor Before running server-start emacsclient does not work, after running it starts a new emacs buffer as expected. Starting the matlab-shell after the server is started does not help. However, after I start the matlab-shell there is a line printet in the matlab promt: >> addpath('/Path/to/Matlab/Emacs/Matlab/toolbox,'-begin'); rehash; emacsinit('emacsclient -n'); I am suspecting it is the last one that is the perpetrator. I hunted it down to line 4160 in matlab.el (defvar matlab-shell-emacsclient-command "emacsclient -n" "The command to use as an external editor for MATLAB. Using emacsclient allows the currently running Emacs to also be the external editor for MATLAB.") Checkin what is does in emacsinit.el i found this on line 11-14 if nargin == 0 clientcommand = 'emacsclient -n'; end com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', clientcommand); Simply running >> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', 'emacsclient'); fixed so that edit opens a buffer in emacs. I changed line 4160 in matlab.el and 12 in emacsinit.el and hoped this would solve all my problems. Now edit works but the error links are still missing. Testing the old configuration again I don't think they ever where there. It is only the statements that appear clickable (makes the mouse change when I scroll over) not the errors. Sorry for the misinformation in the previous mail. I have no Idea what to do next Cheers Daniel On 5 Apr 2010, at 14:39, Eric Ludlam wrote: > Hi, > > The links in the shell buffer may do one of two things. They will > either cause local code to run, like 'find-file-other-window', or it > will ask MATLAB to execute the 'opentoline' or 'edit' commands. If > the anchor in the output text is a matlab: style anchor it may cause > MATLAB to run that code. If so, MATLAB will execute 'emacsclient' > with some arguments and then your running emacs will pick up on > that. This is similar to if you ran MATLAB and Emacs separately, > and changed the editor to be emacsclient. > > Anyway, a simple test is at the >> prompt in matlab-shell to type: > >>> edit ls > > And see if that brings up ls.m in Emacs. If not, you may need to > start the Emacs server with > > M-x server-start > > Or some equivalent in you .emacs. > > Then try from the Unix shell to type: > > $ emacsclient foo.txt > > And see if that works. > > Eric > > -----Original Message----- > From: Daniel Haugstvedt [mailto:dan...@gm...] > Sent: Sunday, April 04, 2010 4:53 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Links and tab completion in matlab- > shell > > Hi all, > During my six years at the university matlab-emacs have been my > weapon of choice for editing. During christmas I saw the matlab-shell > in action and I definitely want to change my workflow to incorporate > it. Sadly I am unable to get it to function without major limitations. > Assuming that I was just making an obvious beginner mistake I have > been watching the mailing list since new year hoping to get some > pointers on how to go about. > > It looks like others are having similar problems, but I have yet to > see a solution to my main problem: All links are present (mouse > changes when i scroll over them) but pressing have no effect. I > suspect the reason can be found in the error messages I receive when > starting up matlab-shell: > - Error in menu-bar-update-hook: (void-variable gdb-active-process) > - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- > hooks' > - Error in menu-bar-update-hook: (void-variable gdb-active-process) > Googling has not helped, and I really don't know where to start. > > In addition to this there is the problem of tab completion. When > trying it I only get the message: > - ad-Orig-error: No tags table loaded; try M-x visit-tags-table > > My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version > 1.6.0) > of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 > with matlab 7.9.0.529 (R2009b) and I presume the latest version of > matlab-emacs > > All help is greatly appreciated! > Cheers > /Daniel > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2010-04-05 12:39:56
|
Hi, The links in the shell buffer may do one of two things. They will either cause local code to run, like 'find-file-other-window', or it will ask MATLAB to execute the 'opentoline' or 'edit' commands. If the anchor in the output text is a matlab: style anchor it may cause MATLAB to run that code. If so, MATLAB will execute 'emacsclient' with some arguments and then your running emacs will pick up on that. This is similar to if you ran MATLAB and Emacs separately, and changed the editor to be emacsclient. Anyway, a simple test is at the >> prompt in matlab-shell to type: >> edit ls And see if that brings up ls.m in Emacs. If not, you may need to start the Emacs server with M-x server-start Or some equivalent in you .emacs. Then try from the Unix shell to type: $ emacsclient foo.txt And see if that works. Eric -----Original Message----- From: Daniel Haugstvedt [mailto:dan...@gm...] Sent: Sunday, April 04, 2010 4:53 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Links and tab completion in matlab-shell Hi all, During my six years at the university matlab-emacs have been my weapon of choice for editing. During christmas I saw the matlab-shell in action and I definitely want to change my workflow to incorporate it. Sadly I am unable to get it to function without major limitations. Assuming that I was just making an obvious beginner mistake I have been watching the mailing list since new year hoping to get some pointers on how to go about. It looks like others are having similar problems, but I have yet to see a solution to my main problem: All links are present (mouse changes when i scroll over them) but pressing have no effect. I suspect the reason can be found in the error messages I receive when starting up matlab-shell: - Error in menu-bar-update-hook: (void-variable gdb-active-process) - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- hooks' - Error in menu-bar-update-hook: (void-variable gdb-active-process) Googling has not helped, and I really don't know where to start. In addition to this there is the problem of tab completion. When trying it I only get the message: - ad-Orig-error: No tags table loaded; try M-x visit-tags-table My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0) of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 with matlab 7.9.0.529 (R2009b) and I presume the latest version of matlab-emacs All help is greatly appreciated! Cheers /Daniel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Daniel H. <dan...@gm...> - 2010-04-04 21:08:50
|
Hi all, During my six years at the university matlab-emacs have been my weapon of choice for editing. During christmas I saw the matlab-shell in action and I definitely want to change my workflow to incorporate it. Sadly I am unable to get it to function without major limitations. Assuming that I was just making an obvious beginner mistake I have been watching the mailing list since new year hoping to get some pointers on how to go about. It looks like others are having similar problems, but I have yet to see a solution to my main problem: All links are present (mouse changes when i scroll over them) but pressing have no effect. I suspect the reason can be found in the error messages I receive when starting up matlab-shell: - Error in menu-bar-update-hook: (void-variable gdb-active-process) - Warning: Bug in matlab-shell-mode: it forgets to call `run-mode- hooks' - Error in menu-bar-update-hook: (void-variable gdb-active-process) Googling has not helped, and I really don't know where to start. In addition to this there is the problem of tab completion. When trying it I only get the message: - ad-Orig-error: No tags table loaded; try M-x visit-tags-table My setup is GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0) of 2009-09-30 on braeburn.aquamacs.org - Aquamacs Distribution 1.9 with matlab 7.9.0.529 (R2009b) and I presume the latest version of matlab-emacs All help is greatly appreciated! Cheers /Daniel |