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: Eric L. <Eri...@ma...> - 2010-03-26 12:35:37
|
Hi Leo, Sorry for the late reply. The regexp's you found are the ones that match the output of the MATLAB version that I've been using. (9b,10a) I also left in old expressions for older MATLABs. The right solution here is to likely start your MATLAB from an XTerm or other terminal with no interpreters enabled, and run the emacsinit.m script which will cause 'opentoline' and such to use emacsclient, and enable hotlinks. Next, produce some error. That's the raw text. The error regular expressions will need to match that uniquely. Unfortunately, different kinds of errors are handled in different places. Errors with "error:" are in the process filter, and dbstack output are in yet another variable. Hopefully this will reveal some simple variant to one of these expressions. Eric -----Original Message----- From: leo...@gm... [mailto:leo...@gm...] On Behalf Of Leo Alekseyev Sent: Saturday, March 13, 2010 7:36 PM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? I am continuing to troubleshoot the issue of errors not turning into anchors by default in matlab-shell. I got the errors to turn into matlab by modifying the following variables: (setq matlab-shell-error-stack-start "^\\?\\?\\?\\s-") (setq matlab-shell-error-stack-end "^\\s-*$") In other words, I simply deleted the closing/opening brace after "^" in the regexp (original definitions were:) (defvar matlab-shell-error-stack-start "^{\\?\\?\\?\\s-") (defvar matlab-shell-error-stack-end "^}\\s-*$") Is this a reasonable fix?.. (I suspect it is not, because now (string-match matlab-shell-error-stack-end str) on line 4542 seems to return t for any output, not just errors). However, I am not sure why the braces were there in the original regular expressions -- it looks like the only difference between "error" output and normal output is an extra blank line that appears between the text and the Matlab command prompt. So perhaps the matlab-shell-error-stack-end regexp should be set up to match a blank line?.. --Leo On Tue, Mar 9, 2010 at 12:22 PM, Leo Alekseyev <dn...@gm...> wrote: > Eric, good catch on comint-prompt-read-only! It was indeed non-nil > (thanks to some code in EmacsWiki related to ESS). That took care of > the tab problem (and also fixed a problem when interacting with R > buffers through ESS). > > However, my errors still don't turn into links -- even running with > emacs -q -- and the behavior where the last actual hyperlink (e.g. > from running help) is assumed to be the last error (when doing M-g n) > still persists. Any ideas?. > > --Leo > > On Tue, Mar 9, 2010 at 11:01 AM, Eric Ludlam <Eri...@ma...> wrote: >> Do you perhaps have the variable `comint-prompt-read-only' set to some non-nil value? >> >> Older Emacs versions used to have this be non-nil, but I was pretty sure I had fixed matlab.el for this, but things may have regressed while I was using newer versions of Emacs. >> >> If this is not the case, you can try starting Emacs with "-q", to not load your init file, and then hand-load in matlab.el, and try your test case. If that works, then there is some configuration issue in your .emacs file. >> >> Eric >> >> -----Original Message----- >> From: leo...@gm... [mailto:leo...@gm...] On Behalf Of Leo Alekseyev >> Sent: Monday, March 08, 2010 7:17 PM >> To: Eric Ludlam >> Cc: mat...@li... >> Subject: Re: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? >> >> Eric, >> Thanks for your response. >> >> Regarding matlab-shell-collect-command-output -- it prints the >> following to the messages buffer: save-excursion: Text is read-only. >> So it looks like for some reason it fails to delete the output and >> bails. >> >> I have no idea what's going on with errors not being converted to >> links -- but perhaps something similar is preventing the code from >> modifying the buffer?.. >> >> But the matlab shell buffer itself is not read-only (buffer-read-only >> is nil; using (barf-if-buffer-read-only) has no effect...) >> >> Any ideas on what might be happening? >> >> --Leo >> >> On Mon, Mar 8, 2010 at 8:43 AM, Eric Ludlam <Eri...@ma...> wrote: >>> Hi, >>> >>> I gave this a quick run and found that it was working as I expected still, and I have the CVS version of matlab.el, with no pending changes. >>> >>> When "tab" is pressed, it should split the window, and display the completions in a separate buffer, independent of the matlab-shell buffer. It will also do the completion if there is only one option. The misc text you quoted below is what matlab-shell does under-the-covers to get the completion list. >>> >>> It works internally by flipping into a "capture some text" mode, then back out again when the capture is done, or when another prompt ">>" is shown again. K prompts "K>>" and student prompts "EDU>>" should also work. >>> >>> It will also key off of carriage returns, and a few other things to try and distinguish between text to be captured, text to turn into links, and regular text. >>> >>> I'll take a guess that some bit of text has put it into a bad state. Here are some possibilities: >>> >>> If you have some non-standard prompt, see line 4392 where comint-prompt-regexp is set. There are a few other hard-coded prompts around too. >>> >>> If the error text is somehow "new", or contains bad text, look at matlab-shell-render-errors-as-anchor, or matlab-shell-render-html-as-anchor, and the regular expressions that go into those. >>> >>> Lastly, there is matlab-shell-collect-command-output, which captures output, which sends a command, then spins waiting for a prompt to come up. This is exiting early w/ your tab completion. Perhaps there is an issue with carriage returns? >>> >>> Good Luck >>> Eric >>> >>> -----Original Message----- >>> From: Leo Alekseyev [mailto:dn...@gm...] >>> Sent: Friday, March 05, 2010 11:22 PM >>> To: mat...@li... >>> Subject: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? >>> >>> Hi all, >>> I recently started using matlab-emacs (with matlab-shell) on a more >>> regular basis, and I am reasonably happy with the workflow -- but I am >>> also seeing some anomalies, in particular with debugging and >>> tab-completion. >>> >>> First, if I encounter an error during execution, the offending file >>> name does not turn into a link (like it does using Matlab GUI), which >>> I believe should also be happening here. This also appears to break >>> the "go to last error" functionality: if there are links anywhere else >>> in the command window (e.g. as a result of "help" command) the "go to >>> last error" will follow the link e.g. to the documentation page, >>> ignoring the error. (If there aren't links, then it will jump to the >>> error line in the offending file, but if I've run "help" on any >>> command, the go-to-last-error is now broken for this session). I >>> would really appreciate pointers on how I might troubleshoot this -- >>> the behavior is clearly broken. >>> >>> Second (minor) issue is that tab completion (e.g. typing test<tab>) >>> dumps the following to the buffer: >>>>> matlabMCRprocess = com.mathworks.jmi.MatlabMCR >>> matlabMCRprocess = >>> com.mathworks.jmi.MatlabMCR@7deb41d6 >>> >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); >>> ans = >>> java.lang.String[]: >>> 'test' >>> 'test_step_by_step' >>> 'test_trainlm_gradient' >>> 'testm' >>> 'testobjectiveinfo' >>> 'testscript >>> >>> It this the intended behavior?.. Would it be possible to just display >>> stuff after java.lang.String[]?.. >>> >>> Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab >>> 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs >>> from CVS. >>> I'd appreciate any pointers regarding the above! >>> Thanks, >>> --Leo >>> >>> ------------------------------------------------------------------------------ >>> 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: Assaf B. S. <shp...@gm...> - 2010-03-24 09:37:07
|
> Hi, > > I installed emacs-matlab under linux -- it all seems to work fine. > > but... > > when I'm running the matlab shell the Error messages aren't exactly > user friendly -- since they aren't directly linkable -- and I need to > scroll to the error location manually > > > > > any Idea what may cause this issue ? and how I can fix this ? > > Thanks, > A. |
From: Assaf B. S. <shp...@gm...> - 2010-03-22 11:37:00
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html style="direction: ltr;"> <head> </head> <body style="direction: ltr;" bgcolor="#ffffff" text="#000000"> Hi,<br> <br> I installed emacs-matlab under linux -- it all seems to work fine.<br> <br> but...<br> <br> when I'm running the matlab shell the Error messages aren't exactly user friendly -- since they aren't directly linkable -- and I need to scroll to the error location manually<br> <br> <br> <img src="cid:par...@gm..." alt=""><br> <br> any Idea what may cause this issue ? and how I can fix this ?<br> <br> Thanks,<br> A.<br> </body> </html> |
From: Leo A. <dn...@gm...> - 2010-03-14 00:36:34
|
I am continuing to troubleshoot the issue of errors not turning into anchors by default in matlab-shell. I got the errors to turn into matlab by modifying the following variables: (setq matlab-shell-error-stack-start "^\\?\\?\\?\\s-") (setq matlab-shell-error-stack-end "^\\s-*$") In other words, I simply deleted the closing/opening brace after "^" in the regexp (original definitions were:) (defvar matlab-shell-error-stack-start "^{\\?\\?\\?\\s-") (defvar matlab-shell-error-stack-end "^}\\s-*$") Is this a reasonable fix?.. (I suspect it is not, because now (string-match matlab-shell-error-stack-end str) on line 4542 seems to return t for any output, not just errors). However, I am not sure why the braces were there in the original regular expressions -- it looks like the only difference between "error" output and normal output is an extra blank line that appears between the text and the Matlab command prompt. So perhaps the matlab-shell-error-stack-end regexp should be set up to match a blank line?.. --Leo On Tue, Mar 9, 2010 at 12:22 PM, Leo Alekseyev <dn...@gm...> wrote: > Eric, good catch on comint-prompt-read-only! It was indeed non-nil > (thanks to some code in EmacsWiki related to ESS). That took care of > the tab problem (and also fixed a problem when interacting with R > buffers through ESS). > > However, my errors still don't turn into links -- even running with > emacs -q -- and the behavior where the last actual hyperlink (e.g. > from running help) is assumed to be the last error (when doing M-g n) > still persists. Any ideas?. > > --Leo > > On Tue, Mar 9, 2010 at 11:01 AM, Eric Ludlam <Eri...@ma...> wrote: >> Do you perhaps have the variable `comint-prompt-read-only' set to some non-nil value? >> >> Older Emacs versions used to have this be non-nil, but I was pretty sure I had fixed matlab.el for this, but things may have regressed while I was using newer versions of Emacs. >> >> If this is not the case, you can try starting Emacs with "-q", to not load your init file, and then hand-load in matlab.el, and try your test case. If that works, then there is some configuration issue in your .emacs file. >> >> Eric >> >> -----Original Message----- >> From: leo...@gm... [mailto:leo...@gm...] On Behalf Of Leo Alekseyev >> Sent: Monday, March 08, 2010 7:17 PM >> To: Eric Ludlam >> Cc: mat...@li... >> Subject: Re: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? >> >> Eric, >> Thanks for your response. >> >> Regarding matlab-shell-collect-command-output -- it prints the >> following to the messages buffer: save-excursion: Text is read-only. >> So it looks like for some reason it fails to delete the output and >> bails. >> >> I have no idea what's going on with errors not being converted to >> links -- but perhaps something similar is preventing the code from >> modifying the buffer?.. >> >> But the matlab shell buffer itself is not read-only (buffer-read-only >> is nil; using (barf-if-buffer-read-only) has no effect...) >> >> Any ideas on what might be happening? >> >> --Leo >> >> On Mon, Mar 8, 2010 at 8:43 AM, Eric Ludlam <Eri...@ma...> wrote: >>> Hi, >>> >>> I gave this a quick run and found that it was working as I expected still, and I have the CVS version of matlab.el, with no pending changes. >>> >>> When "tab" is pressed, it should split the window, and display the completions in a separate buffer, independent of the matlab-shell buffer. It will also do the completion if there is only one option. The misc text you quoted below is what matlab-shell does under-the-covers to get the completion list. >>> >>> It works internally by flipping into a "capture some text" mode, then back out again when the capture is done, or when another prompt ">>" is shown again. K prompts "K>>" and student prompts "EDU>>" should also work. >>> >>> It will also key off of carriage returns, and a few other things to try and distinguish between text to be captured, text to turn into links, and regular text. >>> >>> I'll take a guess that some bit of text has put it into a bad state. Here are some possibilities: >>> >>> If you have some non-standard prompt, see line 4392 where comint-prompt-regexp is set. There are a few other hard-coded prompts around too. >>> >>> If the error text is somehow "new", or contains bad text, look at matlab-shell-render-errors-as-anchor, or matlab-shell-render-html-as-anchor, and the regular expressions that go into those. >>> >>> Lastly, there is matlab-shell-collect-command-output, which captures output, which sends a command, then spins waiting for a prompt to come up. This is exiting early w/ your tab completion. Perhaps there is an issue with carriage returns? >>> >>> Good Luck >>> Eric >>> >>> -----Original Message----- >>> From: Leo Alekseyev [mailto:dn...@gm...] >>> Sent: Friday, March 05, 2010 11:22 PM >>> To: mat...@li... >>> Subject: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? >>> >>> Hi all, >>> I recently started using matlab-emacs (with matlab-shell) on a more >>> regular basis, and I am reasonably happy with the workflow -- but I am >>> also seeing some anomalies, in particular with debugging and >>> tab-completion. >>> >>> First, if I encounter an error during execution, the offending file >>> name does not turn into a link (like it does using Matlab GUI), which >>> I believe should also be happening here. This also appears to break >>> the "go to last error" functionality: if there are links anywhere else >>> in the command window (e.g. as a result of "help" command) the "go to >>> last error" will follow the link e.g. to the documentation page, >>> ignoring the error. (If there aren't links, then it will jump to the >>> error line in the offending file, but if I've run "help" on any >>> command, the go-to-last-error is now broken for this session). I >>> would really appreciate pointers on how I might troubleshoot this -- >>> the behavior is clearly broken. >>> >>> Second (minor) issue is that tab completion (e.g. typing test<tab>) >>> dumps the following to the buffer: >>>>> matlabMCRprocess = com.mathworks.jmi.MatlabMCR >>> matlabMCRprocess = >>> com.mathworks.jmi.MatlabMCR@7deb41d6 >>> >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); >>> ans = >>> java.lang.String[]: >>> 'test' >>> 'test_step_by_step' >>> 'test_trainlm_gradient' >>> 'testm' >>> 'testobjectiveinfo' >>> 'testscript >>> >>> It this the intended behavior?.. Would it be possible to just display >>> stuff after java.lang.String[]?.. >>> >>> Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab >>> 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs >>> from CVS. >>> I'd appreciate any pointers regarding the above! >>> Thanks, >>> --Leo >>> >>> ------------------------------------------------------------------------------ >>> 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: Leo A. <dn...@gm...> - 2010-03-11 19:23:32
|
I was trying to figure out how to deactivate mark after sending some commands to matlab-shell via matlab-shell-run-region. Writing a wrapper function and calling (deactivate-mark) after matlab-shell-run-region doesn't work (even though manually invoking it works as expected). I found that the solution is to stick (deactivate-mark) before (display-buffer msbn) in matlab-shell-run-region -- but is there a way to achieve this without modifying matlab.el?.. If not, you might consider having this as an option (as in ESS/R); I think deactivating the mark is a sensible default. --Leo |
From: Leo A. <dn...@gm...> - 2010-03-09 17:22:35
|
Eric, good catch on comint-prompt-read-only! It was indeed non-nil (thanks to some code in EmacsWiki related to ESS). That took care of the tab problem (and also fixed a problem when interacting with R buffers through ESS). However, my errors still don't turn into links -- even running with emacs -q -- and the behavior where the last actual hyperlink (e.g. from running help) is assumed to be the last error (when doing M-g n) still persists. Any ideas?. --Leo On Tue, Mar 9, 2010 at 11:01 AM, Eric Ludlam <Eri...@ma...> wrote: > Do you perhaps have the variable `comint-prompt-read-only' set to some non-nil value? > > Older Emacs versions used to have this be non-nil, but I was pretty sure I had fixed matlab.el for this, but things may have regressed while I was using newer versions of Emacs. > > If this is not the case, you can try starting Emacs with "-q", to not load your init file, and then hand-load in matlab.el, and try your test case. If that works, then there is some configuration issue in your .emacs file. > > Eric > > -----Original Message----- > From: leo...@gm... [mailto:leo...@gm...] On Behalf Of Leo Alekseyev > Sent: Monday, March 08, 2010 7:17 PM > To: Eric Ludlam > Cc: mat...@li... > Subject: Re: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? > > Eric, > Thanks for your response. > > Regarding matlab-shell-collect-command-output -- it prints the > following to the messages buffer: save-excursion: Text is read-only. > So it looks like for some reason it fails to delete the output and > bails. > > I have no idea what's going on with errors not being converted to > links -- but perhaps something similar is preventing the code from > modifying the buffer?.. > > But the matlab shell buffer itself is not read-only (buffer-read-only > is nil; using (barf-if-buffer-read-only) has no effect...) > > Any ideas on what might be happening? > > --Leo > > On Mon, Mar 8, 2010 at 8:43 AM, Eric Ludlam <Eri...@ma...> wrote: >> Hi, >> >> I gave this a quick run and found that it was working as I expected still, and I have the CVS version of matlab.el, with no pending changes. >> >> When "tab" is pressed, it should split the window, and display the completions in a separate buffer, independent of the matlab-shell buffer. It will also do the completion if there is only one option. The misc text you quoted below is what matlab-shell does under-the-covers to get the completion list. >> >> It works internally by flipping into a "capture some text" mode, then back out again when the capture is done, or when another prompt ">>" is shown again. K prompts "K>>" and student prompts "EDU>>" should also work. >> >> It will also key off of carriage returns, and a few other things to try and distinguish between text to be captured, text to turn into links, and regular text. >> >> I'll take a guess that some bit of text has put it into a bad state. Here are some possibilities: >> >> If you have some non-standard prompt, see line 4392 where comint-prompt-regexp is set. There are a few other hard-coded prompts around too. >> >> If the error text is somehow "new", or contains bad text, look at matlab-shell-render-errors-as-anchor, or matlab-shell-render-html-as-anchor, and the regular expressions that go into those. >> >> Lastly, there is matlab-shell-collect-command-output, which captures output, which sends a command, then spins waiting for a prompt to come up. This is exiting early w/ your tab completion. Perhaps there is an issue with carriage returns? >> >> Good Luck >> Eric >> >> -----Original Message----- >> From: Leo Alekseyev [mailto:dn...@gm...] >> Sent: Friday, March 05, 2010 11:22 PM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? >> >> Hi all, >> I recently started using matlab-emacs (with matlab-shell) on a more >> regular basis, and I am reasonably happy with the workflow -- but I am >> also seeing some anomalies, in particular with debugging and >> tab-completion. >> >> First, if I encounter an error during execution, the offending file >> name does not turn into a link (like it does using Matlab GUI), which >> I believe should also be happening here. This also appears to break >> the "go to last error" functionality: if there are links anywhere else >> in the command window (e.g. as a result of "help" command) the "go to >> last error" will follow the link e.g. to the documentation page, >> ignoring the error. (If there aren't links, then it will jump to the >> error line in the offending file, but if I've run "help" on any >> command, the go-to-last-error is now broken for this session). I >> would really appreciate pointers on how I might troubleshoot this -- >> the behavior is clearly broken. >> >> Second (minor) issue is that tab completion (e.g. typing test<tab>) >> dumps the following to the buffer: >>>> matlabMCRprocess = com.mathworks.jmi.MatlabMCR >> matlabMCRprocess = >> com.mathworks.jmi.MatlabMCR@7deb41d6 >> >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); >> ans = >> java.lang.String[]: >> 'test' >> 'test_step_by_step' >> 'test_trainlm_gradient' >> 'testm' >> 'testobjectiveinfo' >> 'testscript >> >> It this the intended behavior?.. Would it be possible to just display >> stuff after java.lang.String[]?.. >> >> Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab >> 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs >> from CVS. >> I'd appreciate any pointers regarding the above! >> Thanks, >> --Leo >> >> ------------------------------------------------------------------------------ >> 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-03-09 16:01:52
|
Do you perhaps have the variable `comint-prompt-read-only' set to some non-nil value? Older Emacs versions used to have this be non-nil, but I was pretty sure I had fixed matlab.el for this, but things may have regressed while I was using newer versions of Emacs. If this is not the case, you can try starting Emacs with "-q", to not load your init file, and then hand-load in matlab.el, and try your test case. If that works, then there is some configuration issue in your .emacs file. Eric -----Original Message----- From: leo...@gm... [mailto:leo...@gm...] On Behalf Of Leo Alekseyev Sent: Monday, March 08, 2010 7:17 PM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? Eric, Thanks for your response. Regarding matlab-shell-collect-command-output -- it prints the following to the messages buffer: save-excursion: Text is read-only. So it looks like for some reason it fails to delete the output and bails. I have no idea what's going on with errors not being converted to links -- but perhaps something similar is preventing the code from modifying the buffer?.. But the matlab shell buffer itself is not read-only (buffer-read-only is nil; using (barf-if-buffer-read-only) has no effect...) Any ideas on what might be happening? --Leo On Mon, Mar 8, 2010 at 8:43 AM, Eric Ludlam <Eri...@ma...> wrote: > Hi, > > I gave this a quick run and found that it was working as I expected still, and I have the CVS version of matlab.el, with no pending changes. > > When "tab" is pressed, it should split the window, and display the completions in a separate buffer, independent of the matlab-shell buffer. It will also do the completion if there is only one option. The misc text you quoted below is what matlab-shell does under-the-covers to get the completion list. > > It works internally by flipping into a "capture some text" mode, then back out again when the capture is done, or when another prompt ">>" is shown again. K prompts "K>>" and student prompts "EDU>>" should also work. > > It will also key off of carriage returns, and a few other things to try and distinguish between text to be captured, text to turn into links, and regular text. > > I'll take a guess that some bit of text has put it into a bad state. Here are some possibilities: > > If you have some non-standard prompt, see line 4392 where comint-prompt-regexp is set. There are a few other hard-coded prompts around too. > > If the error text is somehow "new", or contains bad text, look at matlab-shell-render-errors-as-anchor, or matlab-shell-render-html-as-anchor, and the regular expressions that go into those. > > Lastly, there is matlab-shell-collect-command-output, which captures output, which sends a command, then spins waiting for a prompt to come up. This is exiting early w/ your tab completion. Perhaps there is an issue with carriage returns? > > Good Luck > Eric > > -----Original Message----- > From: Leo Alekseyev [mailto:dn...@gm...] > Sent: Friday, March 05, 2010 11:22 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? > > Hi all, > I recently started using matlab-emacs (with matlab-shell) on a more > regular basis, and I am reasonably happy with the workflow -- but I am > also seeing some anomalies, in particular with debugging and > tab-completion. > > First, if I encounter an error during execution, the offending file > name does not turn into a link (like it does using Matlab GUI), which > I believe should also be happening here. This also appears to break > the "go to last error" functionality: if there are links anywhere else > in the command window (e.g. as a result of "help" command) the "go to > last error" will follow the link e.g. to the documentation page, > ignoring the error. (If there aren't links, then it will jump to the > error line in the offending file, but if I've run "help" on any > command, the go-to-last-error is now broken for this session). I > would really appreciate pointers on how I might troubleshoot this -- > the behavior is clearly broken. > > Second (minor) issue is that tab completion (e.g. typing test<tab>) > dumps the following to the buffer: >>> matlabMCRprocess = com.mathworks.jmi.MatlabMCR > matlabMCRprocess = > com.mathworks.jmi.MatlabMCR@7deb41d6 > >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); > ans = > java.lang.String[]: > 'test' > 'test_step_by_step' > 'test_trainlm_gradient' > 'testm' > 'testobjectiveinfo' > 'testscript > > It this the intended behavior?.. Would it be possible to just display > stuff after java.lang.String[]?.. > > Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab > 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs > from CVS. > I'd appreciate any pointers regarding the above! > Thanks, > --Leo > > ------------------------------------------------------------------------------ > 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: Leo A. <dn...@gm...> - 2010-03-09 00:18:04
|
Eric, Thanks for your response. Regarding matlab-shell-collect-command-output -- it prints the following to the messages buffer: save-excursion: Text is read-only. So it looks like for some reason it fails to delete the output and bails. I have no idea what's going on with errors not being converted to links -- but perhaps something similar is preventing the code from modifying the buffer?.. But the matlab shell buffer itself is not read-only (buffer-read-only is nil; using (barf-if-buffer-read-only) has no effect...) Any ideas on what might be happening? --Leo On Mon, Mar 8, 2010 at 8:43 AM, Eric Ludlam <Eri...@ma...> wrote: > Hi, > > I gave this a quick run and found that it was working as I expected still, and I have the CVS version of matlab.el, with no pending changes. > > When "tab" is pressed, it should split the window, and display the completions in a separate buffer, independent of the matlab-shell buffer. It will also do the completion if there is only one option. The misc text you quoted below is what matlab-shell does under-the-covers to get the completion list. > > It works internally by flipping into a "capture some text" mode, then back out again when the capture is done, or when another prompt ">>" is shown again. K prompts "K>>" and student prompts "EDU>>" should also work. > > It will also key off of carriage returns, and a few other things to try and distinguish between text to be captured, text to turn into links, and regular text. > > I'll take a guess that some bit of text has put it into a bad state. Here are some possibilities: > > If you have some non-standard prompt, see line 4392 where comint-prompt-regexp is set. There are a few other hard-coded prompts around too. > > If the error text is somehow "new", or contains bad text, look at matlab-shell-render-errors-as-anchor, or matlab-shell-render-html-as-anchor, and the regular expressions that go into those. > > Lastly, there is matlab-shell-collect-command-output, which captures output, which sends a command, then spins waiting for a prompt to come up. This is exiting early w/ your tab completion. Perhaps there is an issue with carriage returns? > > Good Luck > Eric > > -----Original Message----- > From: Leo Alekseyev [mailto:dn...@gm...] > Sent: Friday, March 05, 2010 11:22 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? > > Hi all, > I recently started using matlab-emacs (with matlab-shell) on a more > regular basis, and I am reasonably happy with the workflow -- but I am > also seeing some anomalies, in particular with debugging and > tab-completion. > > First, if I encounter an error during execution, the offending file > name does not turn into a link (like it does using Matlab GUI), which > I believe should also be happening here. This also appears to break > the "go to last error" functionality: if there are links anywhere else > in the command window (e.g. as a result of "help" command) the "go to > last error" will follow the link e.g. to the documentation page, > ignoring the error. (If there aren't links, then it will jump to the > error line in the offending file, but if I've run "help" on any > command, the go-to-last-error is now broken for this session). I > would really appreciate pointers on how I might troubleshoot this -- > the behavior is clearly broken. > > Second (minor) issue is that tab completion (e.g. typing test<tab>) > dumps the following to the buffer: >>> matlabMCRprocess = com.mathworks.jmi.MatlabMCR > matlabMCRprocess = > com.mathworks.jmi.MatlabMCR@7deb41d6 > >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); > ans = > java.lang.String[]: > 'test' > 'test_step_by_step' > 'test_trainlm_gradient' > 'testm' > 'testobjectiveinfo' > 'testscript > > It this the intended behavior?.. Would it be possible to just display > stuff after java.lang.String[]?.. > > Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab > 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs > from CVS. > I'd appreciate any pointers regarding the above! > Thanks, > --Leo > > ------------------------------------------------------------------------------ > 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-03-08 14:10:42
|
Hi, I gave this a quick run and found that it was working as I expected still, and I have the CVS version of matlab.el, with no pending changes. When "tab" is pressed, it should split the window, and display the completions in a separate buffer, independent of the matlab-shell buffer. It will also do the completion if there is only one option. The misc text you quoted below is what matlab-shell does under-the-covers to get the completion list. It works internally by flipping into a "capture some text" mode, then back out again when the capture is done, or when another prompt ">>" is shown again. K prompts "K>>" and student prompts "EDU>>" should also work. It will also key off of carriage returns, and a few other things to try and distinguish between text to be captured, text to turn into links, and regular text. I'll take a guess that some bit of text has put it into a bad state. Here are some possibilities: If you have some non-standard prompt, see line 4392 where comint-prompt-regexp is set. There are a few other hard-coded prompts around too. If the error text is somehow "new", or contains bad text, look at matlab-shell-render-errors-as-anchor, or matlab-shell-render-html-as-anchor, and the regular expressions that go into those. Lastly, there is matlab-shell-collect-command-output, which captures output, which sends a command, then spins waiting for a prompt to come up. This is exiting early w/ your tab completion. Perhaps there is an issue with carriage returns? Good Luck Eric -----Original Message----- From: Leo Alekseyev [mailto:dn...@gm...] Sent: Friday, March 05, 2010 11:22 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Debugging, tab completion in matlab-shell? Hi all, I recently started using matlab-emacs (with matlab-shell) on a more regular basis, and I am reasonably happy with the workflow -- but I am also seeing some anomalies, in particular with debugging and tab-completion. First, if I encounter an error during execution, the offending file name does not turn into a link (like it does using Matlab GUI), which I believe should also be happening here. This also appears to break the "go to last error" functionality: if there are links anywhere else in the command window (e.g. as a result of "help" command) the "go to last error" will follow the link e.g. to the documentation page, ignoring the error. (If there aren't links, then it will jump to the error line in the offending file, but if I've run "help" on any command, the go-to-last-error is now broken for this session). I would really appreciate pointers on how I might troubleshoot this -- the behavior is clearly broken. Second (minor) issue is that tab completion (e.g. typing test<tab>) dumps the following to the buffer: >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR matlabMCRprocess = com.mathworks.jmi.MatlabMCR@7deb41d6 >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'test' 'test_step_by_step' 'test_trainlm_gradient' 'testm' 'testobjectiveinfo' 'testscript It this the intended behavior?.. Would it be possible to just display stuff after java.lang.String[]?.. Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs from CVS. I'd appreciate any pointers regarding the above! Thanks, --Leo ------------------------------------------------------------------------------ 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: Leo A. <dn...@gm...> - 2010-03-06 04:22:19
|
Hi all, I recently started using matlab-emacs (with matlab-shell) on a more regular basis, and I am reasonably happy with the workflow -- but I am also seeing some anomalies, in particular with debugging and tab-completion. First, if I encounter an error during execution, the offending file name does not turn into a link (like it does using Matlab GUI), which I believe should also be happening here. This also appears to break the "go to last error" functionality: if there are links anywhere else in the command window (e.g. as a result of "help" command) the "go to last error" will follow the link e.g. to the documentation page, ignoring the error. (If there aren't links, then it will jump to the error line in the offending file, but if I've run "help" on any command, the go-to-last-error is now broken for this session). I would really appreciate pointers on how I might troubleshoot this -- the behavior is clearly broken. Second (minor) issue is that tab completion (e.g. typing test<tab>) dumps the following to the buffer: >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR matlabMCRprocess = com.mathworks.jmi.MatlabMCR@7deb41d6 >> matlabMCRprocess.mtFindAllTabCompletions('test'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'test' 'test_step_by_step' 'test_trainlm_gradient' 'testm' 'testobjectiveinfo' 'testscript It this the intended behavior?.. Would it be possible to just display stuff after java.lang.String[]?.. Relevant versions: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu), Matlab 7.8.0.347 (R2009a) 64-bit (glnxa64), latest version of matlab-emacs from CVS. I'd appreciate any pointers regarding the above! Thanks, --Leo |
From: Assaf B. S. <shp...@gm...> - 2010-02-23 14:06:12
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html style="direction: ltr;"> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div bidimailui-direction-uniformity="ltr" style="direction: ltr;" bidimailui-generated="true">Thanks -- now I can see the warning messages.. </div> <div bidimailui-direction-uniformity="neutral" bidimailui-generated="true"></div> <br> <div bidimailui-direction-uniformity="ltr" style="direction: ltr;" bidimailui-generated="true">and another thanks for maintaining this project! </div> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> <br> Eric Ludlam wrote:<br> </p> <blockquote cite="mid:052...@EX..." type="cite"> <pre wrap="">Hi, If you enable mlint mode, then all the miscellaneous things that the MATLAB editor highlights as issues will be highlighted in Emacs as well. As for Emacs Link, I made a blog posting about it last fall here: <a class="moz-txt-link-freetext" href="http://blogs.mathworks.com/desktop/2009/09/14/matlab-emacs-integration-is-back/">http://blogs.mathworks.com/desktop/2009/09/14/matlab-emacs-integration-is-back/</a> It is not emacslink, but it can do some similar things. Eric -----Original Message----- From: Assaf B. Shpanier [<a class="moz-txt-link-freetext" href="mailto:shp...@gm...">mailto:shp...@gm...</a>] Sent: Tuesday, February 23, 2010 4:46 AM To: <a class="moz-txt-link-abbreviated" href="mailto:mat...@li...">mat...@li...</a> Subject: [Matlab-emacs-discuss] use only once variable ? hi, I'm using emacs to editing my .m file. I would like to have a feature that will allow me to highlight the "might never be used" variable like as in the Matlab original editor. Do you know if such feature existe in emacs ?? Thanks is advance, Asaf ps. Please add me to the list of people who miss the emacslink mode :( ------------------------------------------------------------------------------ Download Intel&#174; 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. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a> _______________________________________________ Matlab-emacs-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:Mat...@li...">Mat...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss">https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss</a> </pre> </blockquote> </body> </html> |
From: Eric L. <Eri...@ma...> - 2010-02-23 13:21:11
|
Hi, If you enable mlint mode, then all the miscellaneous things that the MATLAB editor highlights as issues will be highlighted in Emacs as well. As for Emacs Link, I made a blog posting about it last fall here: http://blogs.mathworks.com/desktop/2009/09/14/matlab-emacs-integration-is-back/ It is not emacslink, but it can do some similar things. Eric -----Original Message----- From: Assaf B. Shpanier [mailto:shp...@gm...] Sent: Tuesday, February 23, 2010 4:46 AM To: mat...@li... Subject: [Matlab-emacs-discuss] use only once variable ? hi, I'm using emacs to editing my .m file. I would like to have a feature that will allow me to highlight the "might never be used" variable like as in the Matlab original editor. Do you know if such feature existe in emacs ?? Thanks is advance, Asaf ps. Please add me to the list of people who miss the emacslink mode :( ------------------------------------------------------------------------------ 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: Assaf B. S. <shp...@gm...> - 2010-02-23 09:46:42
|
hi, I'm using emacs to editing my .m file. I would like to have a feature that will allow me to highlight the "might never be used" variable like as in the Matlab original editor. Do you know if such feature existe in emacs ?? Thanks is advance, Asaf ps. Please add me to the list of people who miss the emacslink mode :( |
From: Matt M <jun...@gm...> - 2010-02-14 20:27:44
|
Yay, that did it! I did not read carefully enough the lines to add to .emacs. I just had to change the added line to (add-to-list 'load-path "/home/matt/matlab-emacs/") Thanks to all. Matt On Sun, Feb 14, 2010 at 10:52 AM, <sn...@gm...> wrote: > Sorry, I forgot something. The path/to/matlab_el should be something like > this "~/.emacs.d/matlab-emacs", it is the path to the *directory* where your > matlab.el is located. > > Simon > > > On Feb 14, 2010 4:48pm, sn...@gm... wrote: > > Are you sure that you specified the path in step 2b. correctly? I get the > same error when I remove the path to matlab_el. > > > > > > > > On Feb 14, 2010 3:08pm, Matt M jun...@gm...> wrote: > > > Edit: I should have added the following message from Emacs, it's what I > get when I start Emacs now. > > > > > > Warning (initialization): An error occurred while loading > `/home/matt/.emacs': > > > > > > File error: Cannot open load file, matlab-load > > > > > > > > > Thanks, > > > > > > > > > > > > Matt > > > > > > On Sun, Feb 14, 2010 at 9:06 AM, Matt M jun...@gm...> > wrote: > > > > > > Okay thanks but .... "I do not know what I'm doing," means that I > cannot follow the instructions in the "INSTALL" file. > > > > > > > > > Here is my attempt to do so: > > > > > > 1. In terminal --- make > "LOADPATH=/usr/share/emacs/site-lisp/cedet-common/ > /usr/share/emacs/site-lisp/eieio/ > /usr/share/emacs/site-lisp/semantic/bovine/ > /usr/share/emacs/site-lisp/semantic/" > > > > > > > > > > > > 2a. In terminal --- sudo gedit /home/matt/.emacs > > > > > > 2b. Add the following two lines to ".emacs" > > > > > > (add-to-list 'load-path "~/path/to/matlab_el") > > > (require 'matlab-load) > > > > > > So that is what reading the "INSTALL" file got me to do. I apparently > did not interpret it correctly, because ".m" files still look the same in > Emacs, i.e. no syntax highlighting etc. > > > > > > > > > > > > Thanks for the response! > > > > > > > > > > > > Matt > > > > > > > > > On Sun, Feb 14, 2010 at 5:38 AM, Simon .... sn...@gm...> wrote: > > > > > > > > > Hi > > > > > > With the mentioned commands you've downloaded the files. Now you need > to follow the instructions in the "INSTALL" file. > > > > > > > > > > > > Simon > > > > > > 2010/2/14 Matt M jun...@gm...> > > > > > > > > > > > > Greetings. I do not know what I'm doing! I'm just down with Emacs and > have to use Matlab (FreeMat actually) so I would like to be able to edit > ".m" files in Emacs with > > > > > > > > > > > > Syntax highlighting > > > Smart Indentation engine > > > Smart auto-fill for comments and code > > > I am running Ubuntu. I installed CVS, then sequentially executed the > following two commands in terminal: > > > > > > "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > login" > > > > > > > > > > > > > > > > > > > > > I amusing just the enter key when prompted for the password, then > > > > > > "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > co -P matlab-emacs" > > > > > > > > > > > > > > > > > > > > > A bunch of stuff happened in the terminal, i.e. text went scrolling by, > so I guessed it worked but I do not see any difference in Emacs when editing > a ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No > match]". > > > > > > > > > > > > > > > > > > > > > So pretty much, I know not what I'm doing and hope I don't break my > system, and so would like your help in getting matlab mode working in Emacs. > > > > > > Thanks! > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > -- > > > But the father said to his servants, "Quick! Bring the best robe and > put it on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > SOLARIS 10 is the OS for Data Centers - provides features such as > DTrace, > > > > > > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > > > > > > http://p.sf.net/sfu/solaris-dev2dev > > > _______________________________________________ > > > > > > Matlab-emacs-discuss mailing list > > > > > > Mat...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > But the father said to his servants, "Quick! Bring the best robe and > put it on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > But the father said to his servants, "Quick! Bring the best robe and > put it on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > > > > -- But the father said to his servants, "Quick! Bring the best robe and put it on him. Put a ring on his finger and sandals on his feet. Bring the fattened calf and kill it. Let's have a feast and celebrate. For this son of mine was dead and is alive again; he was lost and is found." So they began to celebrate. |
From: <sn...@gm...> - 2010-02-14 15:53:00
|
Sorry, I forgot something. The path/to/matlab_el should be something like this "~/.emacs.d/matlab-emacs", it is the path to the *directory* where your matlab.el is located. Simon On Feb 14, 2010 4:48pm, sn...@gm... wrote: > Are you sure that you specified the path in step 2b. correctly? I get the > same error when I remove the path to matlab_el. > On Feb 14, 2010 3:08pm, Matt M jun...@gm...> wrote: > > Edit: I should have added the following message from Emacs, it's what I > get when I start Emacs now. > > > > Warning (initialization): An error occurred while loading > `/home/matt/.emacs': > > > > File error: Cannot open load file, matlab-load > > > > > > Thanks, > > > > > > > > Matt > > > > On Sun, Feb 14, 2010 at 9:06 AM, Matt M jun...@gm...> > wrote: > > > > Okay thanks but .... "I do not know what I'm doing," means that I > cannot follow the instructions in the "INSTALL" file. > > > > > > Here is my attempt to do so: > > > > 1. In terminal --- > make "LOADPATH=/usr/share/emacs/site-lisp/cedet-common/ > /usr/share/emacs/site-lisp/eieio/ > /usr/share/emacs/site-lisp/semantic/bovine/ > /usr/share/emacs/site-lisp/semantic/" > > > > > > > > 2a. In terminal --- sudo gedit /home/matt/.emacs > > > > 2b. Add the following two lines to ".emacs" > > > > (add-to-list 'load-path "~/path/to/matlab_el") > > (require 'matlab-load) > > > > So that is what reading the "INSTALL" file got me to do. I apparently > did not interpret it correctly, because ".m" files still look the same in > Emacs, ie no syntax highlighting etc. > > > > > > > > Thanks for the response! > > > > > > > > Matt > > > > > > On Sun, Feb 14, 2010 at 5:38 AM, Simon .... sn...@gm...> wrote: > > > > > > Hi > > > > With the mentioned commands you've downloaded the files. Now you need > to follow the instructions in the "INSTALL" file. > > > > > > > > Simon > > > > 2010/2/14 Matt M jun...@gm...> > > > > > > > > Greetings. I do not know what I'm doing! I'm just down with Emacs and > have to use Matlab (FreeMat actually) so I would like to be able to > edit ".m" files in Emacs with > > > > > > > > Syntax highlighting > > Smart Indentation engine > > Smart auto-fill for comments and code > > I am running Ubuntu. I installed CVS, then sequentially executed the > following two commands in terminal: > > > > "cvs > -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > login" > > > > > > > > > > > > > > I amusing just the enter key when prompted for the password, then > > > > "cvs -z3 > -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > co -P matlab-emacs" > > > > > > > > > > > > > > A bunch of stuff happened in the terminal, ie text went scrolling by, > so I guessed it worked but I do not see any difference in Emacs when > editing a ".m" file. I even tried Mx matlab-mode in Emacs, but it > said "[No match]". > > > > > > > > > > > > > > So pretty much, I know not what I'm doing and hope I don't break my > system, and so would like your help in getting matlab mode working in > Emacs. > > > > Thanks! > > > > > > > > Matt > > > > > > > > > > > > -- > > But the father said to his servants, "Quick! Bring the best robe and > put it on him. Put a ring on his finger and sandals on his feet. Bring > the fattened calf and kill it. Let's have a feast and celebrate. For this > son of mine was dead and is alive again; he was lost and is found." So > they began to celebrate. > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > SOLARIS 10 is the OS for Data Centers - provides features such as > DTrace, > > > > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > > > > http://p.sf.net/sfu/solaris-dev2dev > > _______________________________________________ > > > > Matlab-emacs-discuss mailing list > > > > Mat...@li... > > > > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > > > > > > > > > > > > > > > > > -- > > But the father said to his servants, "Quick! Bring the best robe and > put it on him. Put a ring on his finger and sandals on his feet. Bring > the fattened calf and kill it. Let's have a feast and celebrate. For this > son of mine was dead and is alive again; he was lost and is found." So > they began to celebrate. > > > > > > > > > > > > > > > > > > -- > > But the father said to his servants, "Quick! Bring the best robe and > put it on him. Put a ring on his finger and sandals on his feet. Bring > the fattened calf and kill it. Let's have a feast and celebrate. For this > son of mine was dead and is alive again; he was lost and is found." So > they began to celebrate. > > |
From: <sn...@gm...> - 2010-02-14 15:48:12
|
Are you sure that you specified the path in step 2b. correctly? I get the same error when I remove the path to matlab_el. On Feb 14, 2010 3:08pm, Matt M <jun...@gm...> wrote: > Edit: I should have added the following message from Emacs, it's what I > get when I start Emacs now. > Warning (initialization): An error occurred while loading > `/home/matt/.emacs': > File error: Cannot open load file, matlab-load > Thanks, > Matt > On Sun, Feb 14, 2010 at 9:06 AM, Matt M jun...@gm...> > wrote: > Okay thanks but .... "I do not know what I'm doing," means that I cannot > follow the instructions in the "INSTALL" file. > Here is my attempt to do so: > 1. In terminal --- > make "LOADPATH=/usr/share/emacs/site-lisp/cedet-common/ > /usr/share/emacs/site-lisp/eieio/ > /usr/share/emacs/site-lisp/semantic/bovine/ > /usr/share/emacs/site-lisp/semantic/" > 2a. In terminal --- sudo gedit /home/matt/.emacs > 2b. Add the following two lines to ".emacs" > (add-to-list 'load-path "~/path/to/matlab_el") > (require 'matlab-load) > So that is what reading the "INSTALL" file got me to do. I apparently did > not interpret it correctly, because ".m" files still look the same in > Emacs, ie no syntax highlighting etc. > Thanks for the response! > Matt > On Sun, Feb 14, 2010 at 5:38 AM, Simon .... sn...@gm...> wrote: > Hi > With the mentioned commands you've downloaded the files. Now you need to > follow the instructions in the "INSTALL" file. > Simon > 2010/2/14 Matt M jun...@gm...> > Greetings. I do not know what I'm doing! I'm just down with Emacs and > have to use Matlab (FreeMat actually) so I would like to be able to > edit ".m" files in Emacs with > Syntax highlighting > Smart Indentation engine > Smart auto-fill for comments and code > I am running Ubuntu. I installed CVS, then sequentially executed the > following two commands in terminal: > "cvs > -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > login" > I amusing just the enter key when prompted for the password, then > "cvs -z3 > -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > co -P matlab-emacs" > A bunch of stuff happened in the terminal, ie text went scrolling by, so > I guessed it worked but I do not see any difference in Emacs when editing > a ".m" file. I even tried Mx matlab-mode in Emacs, but it said "[No > match]". > So pretty much, I know not what I'm doing and hope I don't break my > system, and so would like your help in getting matlab mode working in > Emacs. > Thanks! > Matt > -- > But the father said to his servants, "Quick! Bring the best robe and put > it on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > -- > But the father said to his servants, "Quick! Bring the best robe and put > it on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > -- > But the father said to his servants, "Quick! Bring the best robe and put > it on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. |
From: Matt M <jun...@gm...> - 2010-02-14 14:09:14
|
Edit: I should have added the following message from Emacs, it's what I get when I start Emacs now. Warning (initialization): An error occurred while loading `/home/matt/.emacs': File error: Cannot open load file, matlab-load Thanks, Matt On Sun, Feb 14, 2010 at 9:06 AM, Matt M <jun...@gm...>wrote: > Okay thanks but .... "I do not know what I'm doing," means that I cannot > follow the instructions in the "INSTALL" file. > > Here is my attempt to do so: > > 1. In terminal --- make "LOADPATH=/usr/share/emacs/site-lisp/cedet-common/ > /usr/share/emacs/site-lisp/eieio/ > /usr/share/emacs/site-lisp/semantic/bovine/ > /usr/share/emacs/site-lisp/semantic/" > > 2a. In terminal --- sudo gedit /home/matt/.emacs > > 2b. Add the following two lines to ".emacs" > > (add-to-list 'load-path "~/path/to/matlab_el") > (require 'matlab-load) > > So that is what reading the "INSTALL" file got me to do. I apparently did > not interpret it correctly, because ".m" files still look the same in Emacs, > i.e. no syntax highlighting etc. > > Thanks for the response! > > > > Matt > > > On Sun, Feb 14, 2010 at 5:38 AM, Simon .... <sn...@gm...> wrote: > >> Hi >> >> With the mentioned commands you've downloaded the files. Now you need to >> follow the instructions in the "INSTALL" file. >> >> Simon >> >> 2010/2/14 Matt M <jun...@gm...> >> >>> Greetings. I do not know what I'm doing! I'm just down with Emacs and >>> have to use Matlab (FreeMat actually) so I would like to be able to edit >>> ".m" files in Emacs with >>> >>> - Syntax highlighting >>> - Smart Indentation engine >>> - Smart auto-fill for comments and code >>> >>> I am running Ubuntu. I installed CVS, then sequentially executed the >>> following two commands in terminal: >>> >>> "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs >>> login" >>> >>> I amusing just the enter key when prompted for the password, then >>> >>> "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs >>> co -P matlab-emacs" >>> >>> A bunch of stuff happened in the terminal, i.e. text went scrolling by, >>> so I guessed it worked but I do not see any difference in Emacs when editing >>> a ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No >>> match]". >>> >>> So pretty much, I know not what I'm doing and hope I don't break my >>> system, and so would like your help in getting matlab mode working in Emacs. >>> >>> Thanks! >>> >>> >>> >>> Matt >>> >>> -- >>> But the father said to his servants, "Quick! Bring the best robe and put >>> it on him. Put a ring on his finger and sandals on his feet. Bring the >>> fattened calf and kill it. Let's have a feast and celebrate. For this son >>> of mine was dead and is alive again; he was lost and is found." So they >>> began to celebrate. >>> >>> >>> ------------------------------------------------------------------------------ >>> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, >>> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >>> http://p.sf.net/sfu/solaris-dev2dev >>> _______________________________________________ >>> Matlab-emacs-discuss mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >>> >>> >> > > > -- > But the father said to his servants, "Quick! Bring the best robe and put it > on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > -- But the father said to his servants, "Quick! Bring the best robe and put it on him. Put a ring on his finger and sandals on his feet. Bring the fattened calf and kill it. Let's have a feast and celebrate. For this son of mine was dead and is alive again; he was lost and is found." So they began to celebrate. |
From: Matt M <jun...@gm...> - 2010-02-14 14:06:39
|
Okay thanks but .... "I do not know what I'm doing," means that I cannot follow the instructions in the "INSTALL" file. Here is my attempt to do so: 1. In terminal --- make "LOADPATH=/usr/share/emacs/site-lisp/cedet-common/ /usr/share/emacs/site-lisp/eieio/ /usr/share/emacs/site-lisp/semantic/bovine/ /usr/share/emacs/site-lisp/semantic/" 2a. In terminal --- sudo gedit /home/matt/.emacs 2b. Add the following two lines to ".emacs" (add-to-list 'load-path "~/path/to/matlab_el") (require 'matlab-load) So that is what reading the "INSTALL" file got me to do. I apparently did not interpret it correctly, because ".m" files still look the same in Emacs, i.e. no syntax highlighting etc. Thanks for the response! Matt On Sun, Feb 14, 2010 at 5:38 AM, Simon .... <sn...@gm...> wrote: > Hi > > With the mentioned commands you've downloaded the files. Now you need to > follow the instructions in the "INSTALL" file. > > Simon > > 2010/2/14 Matt M <jun...@gm...> > >> Greetings. I do not know what I'm doing! I'm just down with Emacs and >> have to use Matlab (FreeMat actually) so I would like to be able to edit >> ".m" files in Emacs with >> >> - Syntax highlighting >> - Smart Indentation engine >> - Smart auto-fill for comments and code >> >> I am running Ubuntu. I installed CVS, then sequentially executed the >> following two commands in terminal: >> >> "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs >> login" >> >> I amusing just the enter key when prompted for the password, then >> >> "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs >> co -P matlab-emacs" >> >> A bunch of stuff happened in the terminal, i.e. text went scrolling by, so >> I guessed it worked but I do not see any difference in Emacs when editing a >> ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No match]". >> >> So pretty much, I know not what I'm doing and hope I don't break my >> system, and so would like your help in getting matlab mode working in Emacs. >> >> Thanks! >> >> >> >> Matt >> >> -- >> But the father said to his servants, "Quick! Bring the best robe and put >> it on him. Put a ring on his finger and sandals on his feet. Bring the >> fattened calf and kill it. Let's have a feast and celebrate. For this son >> of mine was dead and is alive again; he was lost and is found." So they >> began to celebrate. >> >> >> ------------------------------------------------------------------------------ >> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, >> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >> http://p.sf.net/sfu/solaris-dev2dev >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> >> > -- But the father said to his servants, "Quick! Bring the best robe and put it on him. Put a ring on his finger and sandals on his feet. Bring the fattened calf and kill it. Let's have a feast and celebrate. For this son of mine was dead and is alive again; he was lost and is found." So they began to celebrate. |
From: Simon .... <sn...@gm...> - 2010-02-14 10:39:03
|
Hi With the mentioned commands you've downloaded the files. Now you need to follow the instructions in the "INSTALL" file. Simon 2010/2/14 Matt M <jun...@gm...> > Greetings. I do not know what I'm doing! I'm just down with Emacs and > have to use Matlab (FreeMat actually) so I would like to be able to edit > ".m" files in Emacs with > > - Syntax highlighting > - Smart Indentation engine > - Smart auto-fill for comments and code > > I am running Ubuntu. I installed CVS, then sequentially executed the > following two commands in terminal: > > "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > login" > > I amusing just the enter key when prompted for the password, then > > "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs > co -P matlab-emacs" > > A bunch of stuff happened in the terminal, i.e. text went scrolling by, so > I guessed it worked but I do not see any difference in Emacs when editing a > ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No match]". > > So pretty much, I know not what I'm doing and hope I don't break my system, > and so would like your help in getting matlab mode working in Emacs. > > Thanks! > > > > Matt > > -- > But the father said to his servants, "Quick! Bring the best robe and put it > on him. Put a ring on his finger and sandals on his feet. Bring the > fattened calf and kill it. Let's have a feast and celebrate. For this son > of mine was dead and is alive again; he was lost and is found." So they > began to celebrate. > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > > |
From: Matt M <jun...@gm...> - 2010-02-14 02:40:59
|
Greetings. I do not know what I'm doing! I'm just down with Emacs and have to use Matlab (FreeMat actually) so I would like to be able to edit ".m" files in Emacs with - Syntax highlighting - Smart Indentation engine - Smart auto-fill for comments and code I am running Ubuntu. I installed CVS, then sequentially executed the following two commands in terminal: "cvs -d:pserver:ano...@ma...:/cvsroot/matlab-emacs login" I amusing just the enter key when prompted for the password, then "cvs -z3 -d:pserver:ano...@ma...:/cvsroot/matlab-emacs co -P matlab-emacs" A bunch of stuff happened in the terminal, i.e. text went scrolling by, so I guessed it worked but I do not see any difference in Emacs when editing a ".m" file. I even tried M-x matlab-mode in Emacs, but it said "[No match]". So pretty much, I know not what I'm doing and hope I don't break my system, and so would like your help in getting matlab mode working in Emacs. Thanks! Matt -- But the father said to his servants, "Quick! Bring the best robe and put it on him. Put a ring on his finger and sandals on his feet. Bring the fattened calf and kill it. Let's have a feast and celebrate. For this son of mine was dead and is alive again; he was lost and is found." So they began to celebrate. |
From: Eric L. <Eri...@ma...> - 2009-12-23 14:12:42
|
Hi, Sadly, that line in the INSTALL is bogus. It should read: (add-to-list 'load-path "~/whatever") I clearly use too many different languages. Eric -----Original Message----- From: Amadeus W.M. [mailto:ama...@ve...] Sent: Tuesday, December 22, 2009 9:03 PM To: mat...@li... Subject: [Matlab-emacs-discuss] (no subject) I need a little help with matlab-emacs because I'm getting an error, even though I believe I followed the installation instructions. This is the error I'm getting: Symbol's function definition is void: add-to-path Then I run emacs --debug-init myfile.m: ͂ Debugger entered--Lisp error: (void-function add-to-path) (add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el") eval-buffer(#<buffer *load*> nil "/home/amadeus/.emacs" nil t) ; Reading at buffer position 2793 load-with-code-conversion("/home/amadeus/.emacs" "/home/amadeus/.emacs" t t) load("~/.emacs" t t) ͂#[nil "some octal code which I can't copy and paste" [init-file-user system-type user-init-file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\ \(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-screen] 7]() command-line() normal-top-level() When I click on command-line() emacs complains that it Can't find library /usr/share/emacs/23.1/lisp/startup.el although I do have startup.elc in that path. This is what I did to install cedet and matlab-emacs: I downloaded matlab-emacs from cvs. I downloaded also cedet-1.0pre6. Put both in the same directory, then created a link cedet to cedet-1.0pre6. In cedet I did make then in matlab-emacs I also did make. This is what I have in my .emacs file: ;--------------------- ; Enable MATLAB mode | ; -------------------- ;; Load CEDET. ;; See cedet/common/cedet.info for configuration details. (load-file "~/mymatlab/emacsMode/cedet-1.0pre6/common/cedet.el") ;; Enable EDE (Project Management) features (global-ede-mode 1) ;; Enable EDE for a pre-existing C++ project ;; (ede-cpp-root-project "NAME" :file "~/myproject/Makefile") ;; Enabling Semantic (code-parsing, smart completion) features ;; Select one of the following: ;; * This enables the database and idle reparse engines (semantic-load-enable-minimum-features) ;; * This enables some tools useful for coding, such as summary mode ;; imenu support, and the semantic navigator (semantic-load-enable-code-helpers) ;; * This enables even more coding tools such as intellisense mode ;; decoration mode, and stickyfunc mode (plus regular code helpers) ;; (semantic-load-enable-gaudy-code-helpers) ;; * This enables the use of Exuberent ctags if you have it installed. ;; If you use C++ templates or boost, you should NOT enable it. ;; (semantic-load-enable-all-exuberent-ctags-support) ;; Enable SRecode (Template management) minor-mode. ;; (global-srecode-minor-mode 1) ;; Matlab proper (add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el") (require 'matlab-load) Thanks for any help. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Amadeus W.M. <ama...@ve...> - 2009-12-23 02:03:02
|
I need a little help with matlab-emacs because I'm getting an error, even though I believe I followed the installation instructions. This is the error I'm getting: Symbol's function definition is void: add-to-path Then I run emacs --debug-init myfile.m: ͂ Debugger entered--Lisp error: (void-function add-to-path) (add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el") eval-buffer(#<buffer *load*> nil "/home/amadeus/.emacs" nil t) ; Reading at buffer position 2793 load-with-code-conversion("/home/amadeus/.emacs" "/home/amadeus/.emacs" t t) load("~/.emacs" t t) ͂#[nil "some octal code which I can't copy and paste" [init-file-user system-type user-init-file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\ \(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-screen] 7]() command-line() normal-top-level() When I click on command-line() emacs complains that it Can't find library /usr/share/emacs/23.1/lisp/startup.el although I do have startup.elc in that path. This is what I did to install cedet and matlab-emacs: I downloaded matlab-emacs from cvs. I downloaded also cedet-1.0pre6. Put both in the same directory, then created a link cedet to cedet-1.0pre6. In cedet I did make then in matlab-emacs I also did make. This is what I have in my .emacs file: ;--------------------- ; Enable MATLAB mode | ; -------------------- ;; Load CEDET. ;; See cedet/common/cedet.info for configuration details. (load-file "~/mymatlab/emacsMode/cedet-1.0pre6/common/cedet.el") ;; Enable EDE (Project Management) features (global-ede-mode 1) ;; Enable EDE for a pre-existing C++ project ;; (ede-cpp-root-project "NAME" :file "~/myproject/Makefile") ;; Enabling Semantic (code-parsing, smart completion) features ;; Select one of the following: ;; * This enables the database and idle reparse engines (semantic-load-enable-minimum-features) ;; * This enables some tools useful for coding, such as summary mode ;; imenu support, and the semantic navigator (semantic-load-enable-code-helpers) ;; * This enables even more coding tools such as intellisense mode ;; decoration mode, and stickyfunc mode (plus regular code helpers) ;; (semantic-load-enable-gaudy-code-helpers) ;; * This enables the use of Exuberent ctags if you have it installed. ;; If you use C++ templates or boost, you should NOT enable it. ;; (semantic-load-enable-all-exuberent-ctags-support) ;; Enable SRecode (Template management) minor-mode. ;; (global-srecode-minor-mode 1) ;; Matlab proper (add-to-path "~/mymatlab/emacsMode/matlab-emacs/matlab.el") (require 'matlab-load) Thanks for any help. |
From: David E. <de...@ra...> - 2009-12-07 22:23:37
|
Hello all, since I just spend an hour with this, I think it might be good to post my experiences here. I just migrated from Matlab 7.4 to 7.6 at work (I know, I'm pretty conservative), and Emacs matlab-shell was no longer working on certain GNU/Linux machines. It would just abort with the typical "1 assert/signal failures have occurred; MATLAB will abort in 10 seconds." I know this error usually arises when trying to use MATLAB on a non-SSE2 machine, but this was not the case here. After some digging, I found that the cause was that on those machines there was no terminfo for 'emacs'. You can test this by running Matlab with a non-existing TERM like TERM=foobar matlab -nodesktop -nosplash I tested this with different MATLAB versions on one of our machines, and there 7.4 and 7.9 ran fine with this TERM variable, while 7.6 aborted. For getting Matlab 7.6 to start in matlab-shell, you can either use (setq system-uses-terminfo t) as a workaround, or you provide a terminfo entry for emacs. On my Ubuntu machines, I just did mkdir /etc/terminfo/e ln -s /usr/share/terminfo/d/dumb /etc/terminfo/e/emacs which will make 'emacs' an alias for 'dumb'. -David |
From: Eric L. <Eri...@ma...> - 2009-11-16 13:56:21
|
Your error is probably because the default in variable semanticdb-matlab-include-paths is incorrect. You could either customize it, or create the directory. Creating the directory is probably best since it is on your path by default, and is a handy place to put MATLAB files. I think you are the first to try this code and not have that directory. ;) I'll also fix that file so that it doesn't use that default if it doesn't exist. Eric -----Original Message----- From: Torben Knudsen [mailto:tk...@es...] Sent: Monday, November 16, 2009 8:22 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Help on: Idle Work Parse Error: I have just installed cedet. And started using it. I have the following error. What does it mean and what do I do? Idle Work Parse Error: "#<buffer IncDir.m> - Opening directory: no such file or directory, /home/tk/matlab" [4 times] Further, what is a good maybe short introduction to cedet? -- Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Direct : 6 8694 Department of Electronic Systems, Email : tk...@es... Aalborg University Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Torben K. <tk...@es...> - 2009-11-16 13:21:57
|
I have just installed cedet. And started using it. I have the following error. What does it mean and what do I do? Idle Work Parse Error: "#<buffer IncDir.m> - Opening directory: no such file or directory, /home/tk/matlab" [4 times] Further, what is a good maybe short introduction to cedet? -- Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Direct : 6 8694 Department of Electronic Systems, Email : tk...@es... Aalborg University Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark |