You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(9) |
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
(3) |
2010 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(13) |
May
(2) |
Jun
(4) |
Jul
(4) |
Aug
(4) |
Sep
|
Oct
(4) |
Nov
(2) |
Dec
(4) |
2011 |
Jan
(11) |
Feb
|
Mar
(18) |
Apr
|
May
(1) |
Jun
(12) |
Jul
(10) |
Aug
(4) |
Sep
(4) |
Oct
(5) |
Nov
|
Dec
(10) |
2012 |
Jan
(4) |
Feb
(26) |
Mar
|
Apr
(1) |
May
|
Jun
(8) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(14) |
Nov
(1) |
Dec
(2) |
2013 |
Jan
(5) |
Feb
(2) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
|
Jul
(8) |
Aug
(4) |
Sep
|
Oct
(7) |
Nov
(2) |
Dec
(7) |
2014 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
|
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(7) |
Oct
(9) |
Nov
(9) |
Dec
(5) |
2015 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
(10) |
Jul
(3) |
Aug
(4) |
Sep
(8) |
Oct
(1) |
Nov
(3) |
Dec
(3) |
2016 |
Jan
(12) |
Feb
(59) |
Mar
(23) |
Apr
(11) |
May
(4) |
Jun
(15) |
Jul
|
Aug
|
Sep
(9) |
Oct
(19) |
Nov
(12) |
Dec
(5) |
2017 |
Jan
(1) |
Feb
(5) |
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(5) |
Aug
|
Sep
(3) |
Oct
(12) |
Nov
(15) |
Dec
|
2018 |
Jan
(7) |
Feb
(6) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(2) |
Oct
(4) |
Nov
|
Dec
|
2019 |
Jan
(2) |
Feb
(9) |
Mar
(4) |
Apr
(9) |
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(6) |
Dec
(5) |
2020 |
Jan
(9) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(28) |
Dec
(5) |
2021 |
Jan
(11) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(15) |
Jun
(9) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(3) |
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(4) |
Jun
|
Jul
(22) |
Aug
(3) |
Sep
|
Oct
(1) |
Nov
|
Dec
(14) |
2024 |
Jan
|
Feb
|
Mar
|
Apr
(17) |
May
(35) |
Jun
(1) |
Jul
(18) |
Aug
(31) |
Sep
(5) |
Oct
(18) |
Nov
(20) |
Dec
(9) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Uwe B. <ou...@ma...> - 2015-06-24 08:09:26
|
Hello Here is the scenario (usually happens when I correct a bunch of matlab files in different directories). Dir1 contains 3 matlab files dir2 contains 3 matlab files I open one file in dir1 and execute the code for example via matlab-shell-save-and-go I do the same with the other files but then I change to dir2 and open the first file: when I now execute the code it sometimes does not run, since the matlab-shell presumes it is still in dir 1. So I execute the following hack. (defun matlab-cd-dir-actual () (interactive) (matlab-shell-run-command (concat "cd " (file-name-directory (buffer-file-name)))) (message (concat "*MATLAB* (& lisp) dir: " (default-directory))) (setq default-directory (file-name-directory (buffer-file-name)))) So far so good. However when I switch to the matlab-shell and want to open a file via find-file Then (X)emacs still seems to think that I am in dir1 and offers ~/matlabfiles/dir1 Instead of ~/matlabfiles/dir2 When I execute pwd in the matlab-shell I receive ans= /home/oub/matlabfiles/dir2 As it should be. So maybe this is more a question of (X)emacs, but why does my function not work as expected. Thanks Uwe Brauer |
From: Henrik G. <hen...@gl...> - 2015-06-14 21:06:02
|
Hi Eric, I have tried the tweaked version, but found that it doesn't work with a line which contains a % as part of the code, e.g. title(sprintf('Q_o(1) %.2e; Q_o(2) %.2e',mean(Q_o))) % test With the original version, M-; jumps to "% test", but with the new version it treats the "%.2e...." as a comment and moves it to the preferred start column. Henrik mat...@li... wrote on 13/06/15 17:53: > > Message: 2 > Date: Sun, 7 Jun 2015 19:47:35 +0000 > From: Eric Ludlam <Eri...@ma...> > Subject: Re: [Matlab-emacs-discuss] recognizing comments > To: "Van Zandt, Jim" <jr...@mi...>, > "mat...@li..." > <mat...@li...> > Message-ID: > <907...@ex...> > Content-Type: text/plain; charset="us-ascii" > > Hi Jim, > > Here is a tweaked version of the Matlab-comment function that should fix the problem you found. If it works for you let me know and I can update it. > > Enjoy > Eric > > (defun matlab-comment () > "Add a comment to the current line." > (interactive) > (cond ((matlab-ltype-empty) ; empty line > (matlab-comm-from-prev) > (if (matlab-lattr-comm) > (skip-chars-forward " \t%") > (insert matlab-comment-line-s) > (matlab-indent-line))) > ((matlab-ltype-comm) ; comment line > (matlab-comm-from-prev) > (skip-chars-forward " \t%")) > ((matlab-lattr-comm) ; code line w/ comment > (beginning-of-line) > (re-search-forward "[^%]%") > (forward-char -1) > (if (> (current-column) comment-column) (delete-horizontal-space)) > (if (< (current-column) comment-column) (indent-to comment-column)) > (skip-chars-forward "% \t")) > (t ; code line w/o comment > (end-of-line) > (re-search-backward "[^ \t\n^]" 0 t) > (forward-char) > (delete-horizontal-space) > (if (< (current-column) comment-column) > (indent-to comment-column) > (insert " ")) > (insert matlab-comment-on-line-s)))) > > From: Van Zandt, Jim [mailto:jr...@mi...] > Sent: Monday, May 11, 2015 3:37 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] recognizing comments > > I have noticed a small problem in the recognition of comments. I can use M-; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. Actually that does work if the comment starts with "% ", but fails if the percent is followed by something other than a space. > > Suppose I am editing this file with point anywhere on the third line: > > function foo > a = 3; > b = 4; %first comment > c = 5; > d = 6; > e = 7; % second comment > f = 8; > > If I press M-; I get: > > function foo > a = 3; > b = 4; %first comment > c = 5; > d = 6; > e = 7; % second comment > f = 8; > > With point on any other line, I get the expected result. > > I expect this could be fixed by adjusting a regular expression, but I could not follow the logic well enough to find it. > > > - Jim Van Zandt > |
From: Van Z. J. <jr...@mi...> - 2015-06-08 12:17:00
|
Works great, thanks! I suggest one additional change. If point is anywhere on a code line with a comment, then matlab-comment moves point to the beginning of the comment. If it's on a comment line, then point gets moved to the beginning of the comment only if it starts after that point. Otherwise it's left unchanged. I suggest an additional "beginning-of-line" for this case. I don't think this interferes with matlab-comm-from-prev. - Jim Van Zandt (defun matlab-comment () "Add a comment to the current line." (interactive) (cond ((matlab-ltype-empty) ; empty line (matlab-comm-from-prev) (if (matlab-lattr-comm) (skip-chars-forward " \t%") (insert matlab-comment-line-s) (matlab-indent-line))) ((matlab-ltype-comm) ; comment line (matlab-comm-from-prev) (beginning-of-line) (skip-chars-forward " \t%")) ((matlab-lattr-comm) ; code line w/ comment (beginning-of-line) (re-search-forward "[^%]%") (forward-char -1) (if (> (current-column) comment-column) (delete-horizontal-space)) (if (< (current-column) comment-column) (indent-to comment-column)) (skip-chars-forward "% \t")) (t ; code line w/o comment (end-of-line) (re-search-backward "[^ \t\n^]" 0 t) (forward-char) (delete-horizontal-space) (if (< (current-column) comment-column) (indent-to comment-column) (insert " ")) (insert matlab-comment-on-line-s)))) From: Eric Ludlam <Eri...@ma...<mailto:Eri...@ma...>> Date: Sunday, June 7, 2015 at 3:47 PM To: Jim Van Zandt <jr...@mi...<mailto:jr...@mi...>>, "mat...@li...<mailto:mat...@li...>" <mat...@li...<mailto:mat...@li...>> Subject: RE: recognizing comments (defun matlab-comment () "Add a comment to the current line." (interactive) (cond ((matlab-ltype-empty) ; empty line (matlab-comm-from-prev) (if (matlab-lattr-comm) (skip-chars-forward " \t%") (insert matlab-comment-line-s) (matlab-indent-line))) ((matlab-ltype-comm) ; comment line (matlab-comm-from-prev) (skip-chars-forward " \t%")) ((matlab-lattr-comm) ; code line w/ comment (beginning-of-line) (re-search-forward "[^%]%") (forward-char -1) (if (> (current-column) comment-column) (delete-horizontal-space)) (if (< (current-column) comment-column) (indent-to comment-column)) (skip-chars-forward "% \t")) (t ; code line w/o comment (end-of-line) (re-search-backward "[^ \t\n^]" 0 t) (forward-char) (delete-horizontal-space) (if (< (current-column) comment-column) (indent-to comment-column) (insert " ")) (insert matlab-comment-on-line-s)))) |
From: Eric L. <Eri...@ma...> - 2015-06-07 20:05:19
|
Hi Jim, Here is a tweaked version of the Matlab-comment function that should fix the problem you found. If it works for you let me know and I can update it. Enjoy Eric (defun matlab-comment () "Add a comment to the current line." (interactive) (cond ((matlab-ltype-empty) ; empty line (matlab-comm-from-prev) (if (matlab-lattr-comm) (skip-chars-forward " \t%") (insert matlab-comment-line-s) (matlab-indent-line))) ((matlab-ltype-comm) ; comment line (matlab-comm-from-prev) (skip-chars-forward " \t%")) ((matlab-lattr-comm) ; code line w/ comment (beginning-of-line) (re-search-forward "[^%]%") (forward-char -1) (if (> (current-column) comment-column) (delete-horizontal-space)) (if (< (current-column) comment-column) (indent-to comment-column)) (skip-chars-forward "% \t")) (t ; code line w/o comment (end-of-line) (re-search-backward "[^ \t\n^]" 0 t) (forward-char) (delete-horizontal-space) (if (< (current-column) comment-column) (indent-to comment-column) (insert " ")) (insert matlab-comment-on-line-s)))) From: Van Zandt, Jim [mailto:jr...@mi...] Sent: Monday, May 11, 2015 3:37 PM To: mat...@li... Subject: [Matlab-emacs-discuss] recognizing comments I have noticed a small problem in the recognition of comments. I can use M-; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. Actually that does work if the comment starts with "% ", but fails if the percent is followed by something other than a space. Suppose I am editing this file with point anywhere on the third line: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; If I press M-; I get: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; With point on any other line, I get the expected result. I expect this could be fixed by adjusting a regular expression, but I could not follow the logic well enough to find it. - Jim Van Zandt |
From: Eric L. <Eri...@ma...> - 2015-06-07 20:05:17
|
Hi, I can only assume that an error is being thrown when attempting to mlint the buffer. You can do this to learn more: M-x toggle-debug-on-error RET and try again. It should pop up an stack trace showing what the error is. Eric -----Original Message----- From: Dennis Ogbe [mailto:do...@pu...] Sent: Thursday, June 04, 2015 6:41 PM To: mat...@li... Subject: [Matlab-emacs-discuss] mlint-minor-mode issues Hi, Apart from absolutely loving this package, I have one issue: As far as I can understand, mlint-minor-mode is supposed to highlight any issues in the current buffer. This is *not* the case for me. I'm running emacs 24.5.1 on 64-bit Linux and MATLAB R2014b, with the latest version of matlab-mode. I have pointed mlint-minor-mode to correct mlint binary, and when I run M-x mlint-buffer, I get a new buffer called *M-Lint* in the background. This buffer contains all of the mlint outputs, but they do not get highlighted in the m-file buffer. What could be the reason for this? Can anyone confirm that they have gotten mlint-minor-mode to work? Obviously, not getting this to work won't be a dealbreaker, but the idea seems pretty cool... Any help would be appreciated, thanks in advance! Dennis ------------------------------------------------------------------------------ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Dennis O. <do...@pu...> - 2015-06-04 22:41:04
|
Hi, Apart from absolutely loving this package, I have one issue: As far as I can understand, mlint-minor-mode is supposed to highlight any issues in the current buffer. This is *not* the case for me. I'm running emacs 24.5.1 on 64-bit Linux and MATLAB R2014b, with the latest version of matlab-mode. I have pointed mlint-minor-mode to correct mlint binary, and when I run M-x mlint-buffer, I get a new buffer called *M-Lint* in the background. This buffer contains all of the mlint outputs, but they do not get highlighted in the m-file buffer. What could be the reason for this? Can anyone confirm that they have gotten mlint-minor-mode to work? Obviously, not getting this to work won't be a dealbreaker, but the idea seems pretty cool... Any help would be appreciated, thanks in advance! Dennis |
From: Van Z. J. <jr...@mi...> - 2015-05-11 19:37:15
|
I have noticed a small problem in the recognition of comments. I can use M-; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. Actually that does work if the comment starts with "% ", but fails if the percent is followed by something other than a space. Suppose I am editing this file with point anywhere on the third line: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; If I press M-; I get: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; With point on any other line, I get the expected result. I expect this could be fixed by adjusting a regular expression, but I could not follow the logic well enough to find it. - Jim Van Zandt |
From: Eric L. <Eri...@ma...> - 2015-04-29 14:10:26
|
Problem 1 is probably related to semantic-idle-completion-mode, which queries for completions from MATLAB, then while building up a 'correct' tag, tries to figure out where it came from. I'm not sure what changed (performance wise) since it was implemented. In any case, it may be possible for us to defer asking for the location until it is actually needed. I'm uncertain about that. In the meantime, if you visit matlab-semantic.el, and matlab-semanticdb.el , and replace the calls to (matlab-shell-which-fcn ...) with nil it should fix the problem, with the loss of functionality of jumping to said completions later. If that works for you, and it is deemed preferable, I can make that change more permanent. Problem 2: As MATLAB evolves, the expression needed for finding errors keeps changing. I think we just need to debug the regex. What version of MATLAB do you have? I fixed this a bit in 3.3.2 which you can get from CVS. Problem 3: I'm not sure about this one. I think that means you have a bum version of Emacs without gud-def. I have it here in 23.2. (We're a bit behind over here.) Eric From: Torben Knudsen [mailto:tk...@es...] Sent: Thursday, April 23, 2015 3:12 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Strange matlab-mode problem Strange matlab-mode problem I am one of the happy matlab-mode users. However, I have a number of problems but the first one is the only serious one. I am using: matlab-mode, version 3.3.1 Problem 1. When I edit a m file in matlab-mode then some times it seems that emacs gets stuck and then after a long time or when I press ctrl-g it outputs in the shell frame something like >> which aero_guid_plot /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_guid_plot.m >> >> which axistext /usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m<mailto:/usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m> % axistext constructor >> >> which aero_atcscript /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_atcscript.m >> >> which addrunf /usr/local/MATLAB/R2014a/toolbox/robust/rctobsolete/mutools/subs/addrunf.m >> >> which asec built-in (/usr/local/MATLAB/R2014a/toolbox/matlab/elfun/@double/asec) % double method >> In the above case I think the cursor was at or in front of an 'a' and then it seems matlab is used to search for functions starting with 'a' which takes a long time and is very annoying. How can I stop this? Problem 2. I can not make the function 'matlab-shell-last-error' work properly. I tried to change it a bit to the below which also does not work to well. (defun tk-goto-matlab-error () "Goto last matlab error above" (interactive) (search-backward "error") (matlab-shell-html-go)) Problem/question 3 When I checked *Message* to see the matlab-mode version it also had 'Sorry, your emacs cannot use the MATLAB Shell GUD features.' What does that mean? Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es...<mailto:tk...@es...> Aalborg University Web : es.aau.dk/staff/tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark |
From: Torben K. <tk...@es...> - 2015-04-23 07:27:11
|
Strange matlab-mode problem I am one of the happy matlab-mode users. However, I have a number of problems but the first one is the only serious one. I am using: matlab-mode, version 3.3.1 Problem 1. When I edit a m file in matlab-mode then some times it seems that emacs gets stuck and then after a long time or when I press ctrl-g it outputs in the shell frame some thing like >> which aero_guid_plot /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_guid_plot.m >> >> which axistext /usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m % axistext constructor >> >> which aero_atcscript /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_atcscript.m >> >> which addrunf /usr/local/MATLAB/R2014a/toolbox/robust/rctobsolete/mutools/subs/addrunf.m >> >> which asec built-in (/usr/local/MATLAB/R2014a/toolbox/matlab/elfun/@double/asec) % double method >> In the above case I think the cursor was at or in front of an 'a' and then it seems matlab is used to search for functions starting with 'a' which takes a long time and is very annoying. How can I stop this? Problem 2. I can not make the function 'matlab-shell-last-error' work properly. I tried to change it a bit to the below which also does not work to well. (defun tk-goto-matlab-error () "Goto last matlab error above" (interactive) (search-backward "error") (matlab-shell-html-go)) Problem/question 3 When I checked *Message* to see the matlab-mode version it also had 'Sorry, your emacs cannot use the MATLAB Shell GUD features.' What does that mean? Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es... Aalborg University Web : es.aau.dk/staff/tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark |
From: Xiaoyu W. <wx...@gm...> - 2015-02-02 14:25:01
|
Thank you very much Eric for the thorough and helpful explanation! Jacob On Sat, Jan 31, 2015 at 3:56 AM, Eric Ludlam <Eri...@ma...> wrote: > ECB will try to use ‘imenu’ to show tags in the list of tags buffer if > the CEDET/Semantic tools aren’t installed/on by default. The imenu > version as far as I remember only shows the names, not the prototype > information. > > > > You will need to follow the readme on getting the CEDET tools installed to > get that extra data available in ECB. That is the same feature set that > gets the dividing lines over functions to draw. When you enable those > tools you will have a bunch of other random options you will need to decide > if you want enabled. For example `semantic-decoration-mode’ draws the > lines over functions. > > > > As long as there is still an ‘mlint’ executable with your MATLAB, you > should be ok. I looked at checkcode briefly, and it looks like it isn’t a > standalone program, so I don’t have a good way to query it at this time. > > > > Eric > > > > *From:* Xiaoyu Wei [mailto:wx...@gm...] > *Sent:* Thursday, January 15, 2015 9:10 PM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] Problem Configuring matlab-mode with > CEDET+matlab-shell+ECB+mlint > > > > Hi, > > It may not be the proper question to ask here. But basically I am trying > to get my environment set up like this: > > > http://blogs.mathworks.com/images/desktop/eric_ludlam_matlab_and_emacs/matlab-ecb.jpg > > Somehow I got everything to work, except for two things: > > 1. In W-2 frame, I can't see full declaration of functions. Instead, I > get simply "func" for "function func ( x, y) ", and what's worse, "p" for > "function p=func( x, y )". > > 2. I can't get the lines dividing functions (as shown in the picture > above). > > Do you guys have any ideas how I can fix these? > > In addition, according to > http://www.mathworks.com/help/matlab/ref/mlint.html, mlint is not > recommended and it is suggested to use checkcode instead. Will this be a > problem? > > Thanks in advance! > > Jacob > |
From: Eric L. <Eri...@ma...> - 2015-01-30 22:32:21
|
ECB will try to use ‘imenu’ to show tags in the list of tags buffer if the CEDET/Semantic tools aren’t installed/on by default. The imenu version as far as I remember only shows the names, not the prototype information. You will need to follow the readme on getting the CEDET tools installed to get that extra data available in ECB. That is the same feature set that gets the dividing lines over functions to draw. When you enable those tools you will have a bunch of other random options you will need to decide if you want enabled. For example `semantic-decoration-mode’ draws the lines over functions. As long as there is still an ‘mlint’ executable with your MATLAB, you should be ok. I looked at checkcode briefly, and it looks like it isn’t a standalone program, so I don’t have a good way to query it at this time. Eric From: Xiaoyu Wei [mailto:wx...@gm...] Sent: Thursday, January 15, 2015 9:10 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Problem Configuring matlab-mode with CEDET+matlab-shell+ECB+mlint Hi, It may not be the proper question to ask here. But basically I am trying to get my environment set up like this: http://blogs.mathworks.com/images/desktop/eric_ludlam_matlab_and_emacs/matlab-ecb.jpg Somehow I got everything to work, except for two things: 1. In W-2 frame, I can't see full declaration of functions. Instead, I get simply "func" for "function func ( x, y) ", and what's worse, "p" for "function p=func( x, y )". 2. I can't get the lines dividing functions (as shown in the picture above). Do you guys have any ideas how I can fix these? In addition, according to http://www.mathworks.com/help/matlab/ref/mlint.html, mlint is not recommended and it is suggested to use checkcode instead. Will this be a problem? Thanks in advance! Jacob |
From: Xiaoyu W. <wx...@gm...> - 2015-01-16 02:10:38
|
Hi, It may not be the proper question to ask here. But basically I am trying to get my environment set up like this: http://blogs.mathworks.com/images/desktop/eric_ludlam_matlab_and_emacs/matlab-ecb.jpg Somehow I got everything to work, except for two things: 1. In W-2 frame, I can't see full declaration of functions. Instead, I get simply "func" for "function func ( x, y) ", and what's worse, "p" for "function p=func( x, y )". 2. I can't get the lines dividing functions (as shown in the picture above). Do you guys have any ideas how I can fix these? In addition, according to http://www.mathworks.com/help/matlab/ref/mlint.html, mlint is not recommended and it is suggested to use checkcode instead. Will this be a problem? Thanks in advance! Jacob |
From: Yen C. C. <ang...@gm...> - 2014-12-19 04:05:32
|
Hi Eric, Thank you for your help. I simply added two lines to my matlab-settings.el then it works. (I have a working copy from my linux machine so I copy the /matlab-mode folder to my mac/windows machine, no compilation needed) (add-to-list 'load-path "~/.emacs.d/el-get/matlab-mode/") > (require 'matlab-load) CYC On Tue, Dec 16, 2014 at 8:33 AM, Eric Ludlam <Eri...@ma...> wrote: > > Hi, > > > > You will need to add the directory where Matlab.el and mlint.el are to > your load-path. If you look in the INSTALL file, after the ‘compilation’ > section, there are the snippets you need to add the path, and get the right > amount of Matlab mode installed. > > > > Eric > > > > *From:* Yen Chieh Chern [mailto:ang...@gm...] > *Sent:* Monday, December 15, 2014 7:00 PM > *To:* Eric Ludlam > *Cc:* mat...@li... > *Subject:* Re: [Matlab-emacs-discuss] el-get install matlab-mode compile > error > > > > Hi Eric, > > > > Thanks for your reply. I checked the eieio installation then this is what > emacs says, > > > > Library is file > /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacs-lisp/eieio.elc > > > > I also did byte compile against mlint.el, emacs gives the error as follows, > > > > mlint.el:32:1:Error: Cannot open load file: no such file or directory, > matlab > > > > But there is a matlab.el also a matlab.elc in the folder together with > mlint.el. So now the old errors won't go and byte compile gives error too. > > > > Do you have further ideas? > > > > Thanks, > > CYC > > > > On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <Eri...@ma...> > wrote: > > Hi, > > > > I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has > been a part of default Emacs for quite a long time. From a stock emacs, > do : > > > > M-x locate-library RET eieio RET > > > > to see what it says. If it is there, then there is something else going > on during command line build. Instead you can visit mlint.el, and just > type: > > > > M-x byte-compile-file RET > > > > > > Also you should update update the Makefile to change CEDET_PATH to point > at a good version of CEDET. I believe it is still pointing at the > default. That won’t fix the compile error you point out below, but will > fix upcoming problems you will have after finding EIEIO if you want to make > the CEDET tools work. > > > > Eric > > > > *From:* Yen Chieh Chern [mailto:ang...@gm...] > *Sent:* Saturday, December 13, 2014 11:29 PM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] el-get install matlab-mode compile error > > > > Hello, > > > > I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. > When I tried to install matlab-mode via el-get, I got the compiling error > as follows, > > > > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn (setq generated-autoload-file > "/Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el"))' -f > batch-update-autoloads /Users/cyc/.emacs.d/el-get/matlab-mode > Loading vc-cvs... > Generating autoloads for cedet-matlab.el... > Generating autoloads for cedet-matlab.el...done > Generating autoloads for linemark.el... > Generating autoloads for linemark.el...done > Generating autoloads for matlab.el... > Generating autoloads for matlab.el...done > Generating autoloads for mlint.el... > Generating autoloads for mlint.el...done > Generating autoloads for semantic-matlab.el... > Generating autoloads for semantic-matlab.el...done > Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile matlab.el > In matlab-with-emacs-link: > matlab.el:119:8:Warning: reference to free variable `matlab-use-eei' > matlab.el:120:8:Warning: reference to free variable `matlab-eei-process' > In matlab-do-functions-have-end-p: > matlab.el:213:28:Warning: reference to free variable `matlab-defun-regex' > matlab.el:251:1:Warning: defcustom for `matlab-arg1-max-indent-length' > fails > to specify containing group > matlab.el:304:1:Warning: defcustom for `matlab-elipsis-string' fails to > specify containing group > matlab.el:313:1:Warning: defcustom for `matlab-fill-count-ellipsis-flag' > fails > to specify containing group > matlab.el:318:1:Warning: defcustom for `matlab-fill-strings-flag' fails to > specify containing group > In matlab-font-lock-adjustments: > matlab.el:504:19:Warning: defface for `matlab-nested-function-keyword-face' > fails to specify containing group > matlab.el:501:33:Warning: defface for `matlab-cellbreak-face' fails to > specify > containing group > In matlab-mode: > matlab.el:1237:31:Warning: reference to free variable `matlab-defun-regex' > In matlab-semicolon-on-return: > matlab.el:2648:35:Warning: reference to free variable > `matlab-quiesce-nosemi-regexp' > matlab.el:4205:1:Warning: defcustom for `matlab-shell-history-file' fails > to > specify containing group > In matlab-shell-mode: > matlab.el:4444:9:Warning: assignment to free variable > `matlab-shell-last-error-anchor' > In matlab-shell-matlabroot: > matlab.el:4928:11:Warning: reference to free variable > `matlab-shell-matlabroot-run' > In matlab-shell-help-mode: > matlab.el:5579:18:Warning: reference to free variable > `matlab-shell-help-mode-menu' > In matlab-shell-topic-mode: > matlab.el:5618:13:Warning: assignment to free variable `mode-motion-hook' > matlab.el:5619:18:Warning: reference to free variable > `matlab-shell-topic-mode-menu' > In matlab-shell-topic-highlight-line: > matlab.el:5703:37:Warning: reference to free variable > `mouse-grabbed-buffer' > matlab.el:5716:41:Warning: reference to free variable `mode-motion-extent' > In end of data: > matlab.el:5835:1:Warning: the function `comint-check-proc' might not be > defined at runtime. > matlab.el:5835:1:Warning: the following functions are not known to be > defined: > extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get, > matlab-overlay-start, matlab-overlay-end, matlab-next-overlay-change, > mlint-minor-mode, matlab-point-at-eol, matlab-point-at-bol, > matlab-delete-overlay, matlab-cancel-timer, matlab-run-with-idle-timer, > matlab-make-overlay, matlab-overlay-put, mlint-buffer, > mlint-clear-warnings, mlint-clear-cross-function-variable-highlighting, > set-extent-begin-glyph, make-extent, make-glyph, matlab-eei-run, > matlab-eei-eval-region, matlab-previous-overlay-change, > mouse-set-point, > view-major-mode, event-buffer, event-point, > mode-motion-ensure-extent-ok, > detach-extent, set-extent-endpoints > Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab.elc > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile mlint.el > In toplevel form: > mlint.el:33:1:Error: Cannot open load file: eieio > make: *** [mlint.elc] Error 1 > > > > Do you guys have any ideas how I can fix this? > > > > Thanks in advance. > > > > CYC > > |
From: Eric L. <Eri...@ma...> - 2014-12-16 14:33:45
|
Hi, You will need to add the directory where Matlab.el and mlint.el are to your load-path. If you look in the INSTALL file, after the ‘compilation’ section, there are the snippets you need to add the path, and get the right amount of Matlab mode installed. Eric From: Yen Chieh Chern [mailto:ang...@gm...] Sent: Monday, December 15, 2014 7:00 PM To: Eric Ludlam Cc: mat...@li... Subject: Re: [Matlab-emacs-discuss] el-get install matlab-mode compile error Hi Eric, Thanks for your reply. I checked the eieio installation then this is what emacs says, Library is file /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacs-lisp/eieio.elc I also did byte compile against mlint.el, emacs gives the error as follows, mlint.el:32:1:Error: Cannot open load file: no such file or directory, matlab But there is a matlab.el also a matlab.elc in the folder together with mlint.el. So now the old errors won't go and byte compile gives error too. Do you have further ideas? Thanks, CYC On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <Eri...@ma...<mailto:Eri...@ma...>> wrote: Hi, I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has been a part of default Emacs for quite a long time. From a stock emacs, do : M-x locate-library RET eieio RET to see what it says. If it is there, then there is something else going on during command line build. Instead you can visit mlint.el, and just type: M-x byte-compile-file RET Also you should update update the Makefile to change CEDET_PATH to point at a good version of CEDET. I believe it is still pointing at the default. That won’t fix the compile error you point out below, but will fix upcoming problems you will have after finding EIEIO if you want to make the CEDET tools work. Eric From: Yen Chieh Chern [mailto:ang...@gm...<mailto:ang...@gm...>] Sent: Saturday, December 13, 2014 11:29 PM To: mat...@li...<mailto:mat...@li...> Subject: [Matlab-emacs-discuss] el-get install matlab-mode compile error Hello, I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I tried to install matlab-mode via el-get, I got the compiling error as follows, emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L ~/cedet/trunk/lisp/cedet/ --eval '(progn (setq generated-autoload-file "/Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el"))' -f batch-update-autoloads /Users/cyc/.emacs.d/el-get/matlab-mode Loading vc-cvs... Generating autoloads for cedet-matlab.el... Generating autoloads for cedet-matlab.el...done Generating autoloads for linemark.el... Generating autoloads for linemark.el...done Generating autoloads for matlab.el... Generating autoloads for matlab.el...done Generating autoloads for mlint.el... Generating autoloads for mlint.el...done Generating autoloads for semantic-matlab.el... Generating autoloads for semantic-matlab.el...done Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile matlab.el In matlab-with-emacs-link: matlab.el:119:8:Warning: reference to free variable `matlab-use-eei' matlab.el:120:8:Warning: reference to free variable `matlab-eei-process' In matlab-do-functions-have-end-p: matlab.el:213:28:Warning: reference to free variable `matlab-defun-regex' matlab.el:251:1:Warning: defcustom for `matlab-arg1-max-indent-length' fails to specify containing group matlab.el:304:1:Warning: defcustom for `matlab-elipsis-string' fails to specify containing group matlab.el:313:1:Warning: defcustom for `matlab-fill-count-ellipsis-flag' fails to specify containing group matlab.el:318:1:Warning: defcustom for `matlab-fill-strings-flag' fails to specify containing group In matlab-font-lock-adjustments: matlab.el:504:19:Warning: defface for `matlab-nested-function-keyword-face' fails to specify containing group matlab.el:501:33:Warning: defface for `matlab-cellbreak-face' fails to specify containing group In matlab-mode: matlab.el:1237:31:Warning: reference to free variable `matlab-defun-regex' In matlab-semicolon-on-return: matlab.el:2648:35:Warning: reference to free variable `matlab-quiesce-nosemi-regexp' matlab.el:4205:1:Warning: defcustom for `matlab-shell-history-file' fails to specify containing group In matlab-shell-mode: matlab.el:4444:9:Warning: assignment to free variable `matlab-shell-last-error-anchor' In matlab-shell-matlabroot: matlab.el:4928:11:Warning: reference to free variable `matlab-shell-matlabroot-run' In matlab-shell-help-mode: matlab.el:5579:18:Warning: reference to free variable `matlab-shell-help-mode-menu' In matlab-shell-topic-mode: matlab.el:5618:13:Warning: assignment to free variable `mode-motion-hook' matlab.el:5619:18:Warning: reference to free variable `matlab-shell-topic-mode-menu' In matlab-shell-topic-highlight-line: matlab.el:5703:37:Warning: reference to free variable `mouse-grabbed-buffer' matlab.el:5716:41:Warning: reference to free variable `mode-motion-extent' In end of data: matlab.el:5835:1:Warning: the function `comint-check-proc' might not be defined at runtime. matlab.el:5835:1:Warning: the following functions are not known to be defined: extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get, matlab-overlay-start, matlab-overlay-end, matlab-next-overlay-change, mlint-minor-mode, matlab-point-at-eol, matlab-point-at-bol, matlab-delete-overlay, matlab-cancel-timer, matlab-run-with-idle-timer, matlab-make-overlay, matlab-overlay-put, mlint-buffer, mlint-clear-warnings, mlint-clear-cross-function-variable-highlighting, set-extent-begin-glyph, make-extent, make-glyph, matlab-eei-run, matlab-eei-eval-region, matlab-previous-overlay-change, mouse-set-point, view-major-mode, event-buffer, event-point, mode-motion-ensure-extent-ok, detach-extent, set-extent-endpoints Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab.elc emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile mlint.el In toplevel form: mlint.el:33:1:Error: Cannot open load file: eieio make: *** [mlint.elc] Error 1 Do you guys have any ideas how I can fix this? Thanks in advance. CYC |
From: Yen C. C. <ang...@gm...> - 2014-12-16 00:00:22
|
Hi Eric, Thanks for your reply. I checked the eieio installation then this is what emacs says, Library is file > /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacs-lisp/eieio.elc I also did byte compile against mlint.el, emacs gives the error as follows, mlint.el:32:1:Error: Cannot open load file: no such file or directory, > matlab But there is a matlab.el also a matlab.elc in the folder together with mlint.el. So now the old errors won't go and byte compile gives error too. Do you have further ideas? Thanks, CYC On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <Eri...@ma...> wrote: > > Hi, > > > > I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has > been a part of default Emacs for quite a long time. From a stock emacs, > do : > > > > M-x locate-library RET eieio RET > > > > to see what it says. If it is there, then there is something else going > on during command line build. Instead you can visit mlint.el, and just > type: > > > > M-x byte-compile-file RET > > > > > > Also you should update update the Makefile to change CEDET_PATH to point > at a good version of CEDET. I believe it is still pointing at the > default. That won’t fix the compile error you point out below, but will > fix upcoming problems you will have after finding EIEIO if you want to make > the CEDET tools work. > > > > Eric > > > > *From:* Yen Chieh Chern [mailto:ang...@gm...] > *Sent:* Saturday, December 13, 2014 11:29 PM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] el-get install matlab-mode compile error > > > > Hello, > > > > I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. > When I tried to install matlab-mode via el-get, I got the compiling error > as follows, > > > > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn (setq generated-autoload-file > "/Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el"))' -f > batch-update-autoloads /Users/cyc/.emacs.d/el-get/matlab-mode > Loading vc-cvs... > Generating autoloads for cedet-matlab.el... > Generating autoloads for cedet-matlab.el...done > Generating autoloads for linemark.el... > Generating autoloads for linemark.el...done > Generating autoloads for matlab.el... > Generating autoloads for matlab.el...done > Generating autoloads for mlint.el... > Generating autoloads for mlint.el...done > Generating autoloads for semantic-matlab.el... > Generating autoloads for semantic-matlab.el...done > Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile matlab.el > In matlab-with-emacs-link: > matlab.el:119:8:Warning: reference to free variable `matlab-use-eei' > matlab.el:120:8:Warning: reference to free variable `matlab-eei-process' > In matlab-do-functions-have-end-p: > matlab.el:213:28:Warning: reference to free variable `matlab-defun-regex' > matlab.el:251:1:Warning: defcustom for `matlab-arg1-max-indent-length' > fails > to specify containing group > matlab.el:304:1:Warning: defcustom for `matlab-elipsis-string' fails to > specify containing group > matlab.el:313:1:Warning: defcustom for `matlab-fill-count-ellipsis-flag' > fails > to specify containing group > matlab.el:318:1:Warning: defcustom for `matlab-fill-strings-flag' fails to > specify containing group > In matlab-font-lock-adjustments: > matlab.el:504:19:Warning: defface for `matlab-nested-function-keyword-face' > fails to specify containing group > matlab.el:501:33:Warning: defface for `matlab-cellbreak-face' fails to > specify > containing group > In matlab-mode: > matlab.el:1237:31:Warning: reference to free variable `matlab-defun-regex' > In matlab-semicolon-on-return: > matlab.el:2648:35:Warning: reference to free variable > `matlab-quiesce-nosemi-regexp' > matlab.el:4205:1:Warning: defcustom for `matlab-shell-history-file' fails > to > specify containing group > In matlab-shell-mode: > matlab.el:4444:9:Warning: assignment to free variable > `matlab-shell-last-error-anchor' > In matlab-shell-matlabroot: > matlab.el:4928:11:Warning: reference to free variable > `matlab-shell-matlabroot-run' > In matlab-shell-help-mode: > matlab.el:5579:18:Warning: reference to free variable > `matlab-shell-help-mode-menu' > In matlab-shell-topic-mode: > matlab.el:5618:13:Warning: assignment to free variable `mode-motion-hook' > matlab.el:5619:18:Warning: reference to free variable > `matlab-shell-topic-mode-menu' > In matlab-shell-topic-highlight-line: > matlab.el:5703:37:Warning: reference to free variable > `mouse-grabbed-buffer' > matlab.el:5716:41:Warning: reference to free variable `mode-motion-extent' > In end of data: > matlab.el:5835:1:Warning: the function `comint-check-proc' might not be > defined at runtime. > matlab.el:5835:1:Warning: the following functions are not known to be > defined: > extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get, > matlab-overlay-start, matlab-overlay-end, matlab-next-overlay-change, > mlint-minor-mode, matlab-point-at-eol, matlab-point-at-bol, > matlab-delete-overlay, matlab-cancel-timer, matlab-run-with-idle-timer, > matlab-make-overlay, matlab-overlay-put, mlint-buffer, > mlint-clear-warnings, mlint-clear-cross-function-variable-highlighting, > set-extent-begin-glyph, make-extent, make-glyph, matlab-eei-run, > matlab-eei-eval-region, matlab-previous-overlay-change, > mouse-set-point, > view-major-mode, event-buffer, event-point, > mode-motion-ensure-extent-ok, > detach-extent, set-extent-endpoints > Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab.elc > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile mlint.el > In toplevel form: > mlint.el:33:1:Error: Cannot open load file: eieio > make: *** [mlint.elc] Error 1 > > > > Do you guys have any ideas how I can fix this? > > > > Thanks in advance. > > > > CYC > |
From: Eric L. <Eri...@ma...> - 2014-12-15 14:57:38
|
Hi, I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has been a part of default Emacs for quite a long time. From a stock emacs, do : M-x locate-library RET eieio RET to see what it says. If it is there, then there is something else going on during command line build. Instead you can visit mlint.el, and just type: M-x byte-compile-file RET Also you should update update the Makefile to change CEDET_PATH to point at a good version of CEDET. I believe it is still pointing at the default. That won’t fix the compile error you point out below, but will fix upcoming problems you will have after finding EIEIO if you want to make the CEDET tools work. Eric From: Yen Chieh Chern [mailto:ang...@gm...] Sent: Saturday, December 13, 2014 11:29 PM To: mat...@li... Subject: [Matlab-emacs-discuss] el-get install matlab-mode compile error Hello, I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I tried to install matlab-mode via el-get, I got the compiling error as follows, emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L ~/cedet/trunk/lisp/cedet/ --eval '(progn (setq generated-autoload-file "/Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el"))' -f batch-update-autoloads /Users/cyc/.emacs.d/el-get/matlab-mode Loading vc-cvs... Generating autoloads for cedet-matlab.el... Generating autoloads for cedet-matlab.el...done Generating autoloads for linemark.el... Generating autoloads for linemark.el...done Generating autoloads for matlab.el... Generating autoloads for matlab.el...done Generating autoloads for mlint.el... Generating autoloads for mlint.el...done Generating autoloads for semantic-matlab.el... Generating autoloads for semantic-matlab.el...done Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile matlab.el In matlab-with-emacs-link: matlab.el:119:8:Warning: reference to free variable `matlab-use-eei' matlab.el:120:8:Warning: reference to free variable `matlab-eei-process' In matlab-do-functions-have-end-p: matlab.el:213:28:Warning: reference to free variable `matlab-defun-regex' matlab.el:251:1:Warning: defcustom for `matlab-arg1-max-indent-length' fails to specify containing group matlab.el:304:1:Warning: defcustom for `matlab-elipsis-string' fails to specify containing group matlab.el:313:1:Warning: defcustom for `matlab-fill-count-ellipsis-flag' fails to specify containing group matlab.el:318:1:Warning: defcustom for `matlab-fill-strings-flag' fails to specify containing group In matlab-font-lock-adjustments: matlab.el:504:19:Warning: defface for `matlab-nested-function-keyword-face' fails to specify containing group matlab.el:501:33:Warning: defface for `matlab-cellbreak-face' fails to specify containing group In matlab-mode: matlab.el:1237:31:Warning: reference to free variable `matlab-defun-regex' In matlab-semicolon-on-return: matlab.el:2648:35:Warning: reference to free variable `matlab-quiesce-nosemi-regexp' matlab.el:4205:1:Warning: defcustom for `matlab-shell-history-file' fails to specify containing group In matlab-shell-mode: matlab.el:4444:9:Warning: assignment to free variable `matlab-shell-last-error-anchor' In matlab-shell-matlabroot: matlab.el:4928:11:Warning: reference to free variable `matlab-shell-matlabroot-run' In matlab-shell-help-mode: matlab.el:5579:18:Warning: reference to free variable `matlab-shell-help-mode-menu' In matlab-shell-topic-mode: matlab.el:5618:13:Warning: assignment to free variable `mode-motion-hook' matlab.el:5619:18:Warning: reference to free variable `matlab-shell-topic-mode-menu' In matlab-shell-topic-highlight-line: matlab.el:5703:37:Warning: reference to free variable `mouse-grabbed-buffer' matlab.el:5716:41:Warning: reference to free variable `mode-motion-extent' In end of data: matlab.el:5835:1:Warning: the function `comint-check-proc' might not be defined at runtime. matlab.el:5835:1:Warning: the following functions are not known to be defined: extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get, matlab-overlay-start, matlab-overlay-end, matlab-next-overlay-change, mlint-minor-mode, matlab-point-at-eol, matlab-point-at-bol, matlab-delete-overlay, matlab-cancel-timer, matlab-run-with-idle-timer, matlab-make-overlay, matlab-overlay-put, mlint-buffer, mlint-clear-warnings, mlint-clear-cross-function-variable-highlighting, set-extent-begin-glyph, make-extent, make-glyph, matlab-eei-run, matlab-eei-eval-region, matlab-previous-overlay-change, mouse-set-point, view-major-mode, event-buffer, event-point, mode-motion-ensure-extent-ok, detach-extent, set-extent-endpoints Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab.elc emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile mlint.el In toplevel form: mlint.el:33:1:Error: Cannot open load file: eieio make: *** [mlint.elc] Error 1 Do you guys have any ideas how I can fix this? Thanks in advance. CYC |
From: Yen C. C. <ang...@gm...> - 2014-12-14 04:29:45
|
Hello, I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I tried to install matlab-mode via el-get, I got the compiling error as follows, emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn (setq generated-autoload-file > "/Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el"))' -f > batch-update-autoloads /Users/cyc/.emacs.d/el-get/matlab-mode > Loading vc-cvs... > Generating autoloads for cedet-matlab.el... > Generating autoloads for cedet-matlab.el...done > Generating autoloads for linemark.el... > Generating autoloads for linemark.el...done > Generating autoloads for matlab.el... > Generating autoloads for matlab.el...done > Generating autoloads for mlint.el... > Generating autoloads for mlint.el...done > Generating autoloads for semantic-matlab.el... > Generating autoloads for semantic-matlab.el...done > Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile matlab.el > In matlab-with-emacs-link: > matlab.el:119:8:Warning: reference to free variable `matlab-use-eei' > matlab.el:120:8:Warning: reference to free variable `matlab-eei-process' > In matlab-do-functions-have-end-p: > matlab.el:213:28:Warning: reference to free variable `matlab-defun-regex' > matlab.el:251:1:Warning: defcustom for `matlab-arg1-max-indent-length' > fails > to specify containing group > matlab.el:304:1:Warning: defcustom for `matlab-elipsis-string' fails to > specify containing group > matlab.el:313:1:Warning: defcustom for `matlab-fill-count-ellipsis-flag' > fails > to specify containing group > matlab.el:318:1:Warning: defcustom for `matlab-fill-strings-flag' fails to > specify containing group > In matlab-font-lock-adjustments: > matlab.el:504:19:Warning: defface for `matlab-nested-function-keyword-face' > fails to specify containing group > matlab.el:501:33:Warning: defface for `matlab-cellbreak-face' fails to > specify > containing group > In matlab-mode: > matlab.el:1237:31:Warning: reference to free variable `matlab-defun-regex' > In matlab-semicolon-on-return: > matlab.el:2648:35:Warning: reference to free variable > `matlab-quiesce-nosemi-regexp' > matlab.el:4205:1:Warning: defcustom for `matlab-shell-history-file' fails > to > specify containing group > In matlab-shell-mode: > matlab.el:4444:9:Warning: assignment to free variable > `matlab-shell-last-error-anchor' > In matlab-shell-matlabroot: > matlab.el:4928:11:Warning: reference to free variable > `matlab-shell-matlabroot-run' > In matlab-shell-help-mode: > matlab.el:5579:18:Warning: reference to free variable > `matlab-shell-help-mode-menu' > In matlab-shell-topic-mode: > matlab.el:5618:13:Warning: assignment to free variable `mode-motion-hook' > matlab.el:5619:18:Warning: reference to free variable > `matlab-shell-topic-mode-menu' > In matlab-shell-topic-highlight-line: > matlab.el:5703:37:Warning: reference to free variable > `mouse-grabbed-buffer' > matlab.el:5716:41:Warning: reference to free variable `mode-motion-extent' > In end of data: > matlab.el:5835:1:Warning: the function `comint-check-proc' might not be > defined at runtime. > matlab.el:5835:1:Warning: the following functions are not known to be > defined: > extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get, > matlab-overlay-start, matlab-overlay-end, matlab-next-overlay-change, > mlint-minor-mode, matlab-point-at-eol, matlab-point-at-bol, > matlab-delete-overlay, matlab-cancel-timer, matlab-run-with-idle-timer, > matlab-make-overlay, matlab-overlay-put, mlint-buffer, > mlint-clear-warnings, mlint-clear-cross-function-variable-highlighting, > set-extent-begin-glyph, make-extent, make-glyph, matlab-eei-run, > matlab-eei-eval-region, matlab-previous-overlay-change, > mouse-set-point, > view-major-mode, event-buffer, event-point, > mode-motion-ensure-extent-ok, > detach-extent, set-extent-endpoints > Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab.elc > emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L > ~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile mlint.el > In toplevel form: > mlint.el:33:1:Error: Cannot open load file: eieio > make: *** [mlint.elc] Error 1 Do you guys have any ideas how I can fix this? Thanks in advance. CYC |
From: Larrabee S. <st...@um...> - 2014-11-21 18:02:05
|
All, I guess I fixed the problem, I have no idea what I am doing. In my init.el file I had: (matlab-shell-enable-gud-flag nil) I don't know why, must have put that in a long time ago for some reason. Once I switched that flag to true things are working! At matlab-shell startup matlab.el? is executing addpath('/Users/strow/.emacs.d/lls/matlab-emacs/toolbox','-begin'); rehash; emacsinit('emacsclient -n'); Wasn't doing that before.. Sorry for the bother. Larrabee ------------------------------------------ L. Larrabee Strow UMBC Physics Department Email: st...@um... Office: 724-663-7341 Google Voice: 724-663-1441 (best for messages) Cell: 724-288-6933 (usually OFF) |
From: Larrabee S. <st...@um...> - 2014-11-21 17:18:48
|
Hello, I am probably doing something wrong, but I can't get the new tab-complete working: emacs 24.4 R2014b Mac OS X (mavericks) I downloaded the whole tarball from Sourceforge, ran make (seemed to work fine, created all the .elc files). It seems like it can't find emacsdocomplete (it's in toolbox). Here is the error I get: matlab-shell-tab: Args out of range: "Undefined function 'emacsdocomplete' for input arguments of type 'char'. ", 858, 75 Thanks, Larrabee ------------------------------------------ L. Larrabee Strow UMBC Physics Department Email: st...@um... Office: 724-663-7341 Google Voice: 724-663-1441 (best for messages) Cell: 724-288-6933 (usually OFF) |
From: Henrik G. <hen...@gl...> - 2014-11-14 17:55:54
|
Hi Eric, now that I understand a bit more how tab completion works in matlab-emacs, I found a fix for a little bug/feature which had annoyed me for some time: For example, I would like to open a saved figure from file Fig1.fig In the matlab shell buffer, if I type open Fig1<tab> I get the correct completions (Fig1 and Fig1.fig) If I type open Fig1.<tab> [note the extra dot] then I get the completion open Fig1.Fig1.fig The same happens when completing any directory or file name which contains a ".". I found that removing the "." character from the regexp in line 4963 of matlab.el fixes this for me. (There might be some unkown side effects, though.) Below is the patch. --- /home/henrik/tmp/matlab-emacs/matlab-emacs/matlab.el 2014-11-13 16:09:31.651487062 +0000 +++ matlab.el 2014-11-14 17:37:39.202090667 +0000 @@ -4960,7 +4960,7 @@ (limitpos nil)) ;; search for character which limits completion, and limit command to it (setq limitpos - (if (string-match ".*\\([( /[.,;=']\\)" lastcmd) + (if (string-match ".*\\([( /[,;=']\\)" lastcmd) (1+ (match-beginning 1)) 0)) (setq lastcmd (substring lastcmd limitpos)) Henrik |
From: Henrik G. <hen...@gl...> - 2014-11-14 17:43:12
|
Hi Eric, the change in emacsdocomplete.m makes it work also with the older matlab versions. Thanks a lot! Henrik Eric Ludlam wrote on 14/11/14 16:49: > Hi Henrik, > > I submitted a small change that should help with 14a, though I didn't have time to try it out. If you look in the new "emacsdocomplete.m" file, you will see the basics of what's going on with a new syntax for the completion function. If there are additional problems, hopefully it will be clear what needs to be done. > > Let me know how it goes. > Eric > > -----Original Message----- > From: Henrik Gollee [mailto:hen...@gl...] > Sent: Thursday, November 13, 2014 4:47 PM > To: Eric Ludlam; mat...@li... > Subject: Re: [Matlab-emacs-discuss] Tab completion broken with 2014b > > Hi Eric, > > this works perfectly with 2014b - thanks for the fix! > > It seems to break 2014a (and possibly older versions), though where I get the following error" > > matlab-mode, version 3.3.2 > matlab-shell-tab: Args out of range: "Undefined function or variable \"extracmd\". > > Error in emacsdocomplete (line 24) > command = [ 'matlabMCRprocess_emacs = com.mathworks.jmi.MatlabMCR;' ... > > ", 765, 157 > > I guess this means that some workaround is still needed to keep older versions happy? > > Thanks again for continuing to look after matlab-mode; it makes matlab so much easier to use. > > Henrik > > Eric Ludlam wrote on 12/11/14 20:31: >> Hi Henrick, and the rest of the Mailing list, >> >> I've checked in a fix for the TAB completion issue. Sorry it took so long. >> >> To get it, you will need to get both matlab.el, and the new file in the toolbox subdirectory emacsdocomplete.m. Your directory structure will need to match that of the CVS repository for this to work. >> >> I haven't fixed the downloader MATLAB Script yet, so you will need to do it by hand for now. I hope to get to that part soon. >> >> Let me know how it goes! >> Thanks >> Eric >> >> -----Original Message----- >> From: Eric Ludlam >> Sent: Wednesday, October 08, 2014 12:57 PM >> To: 'Henrik Gollee'; mat...@li... >> Subject: RE: [Matlab-emacs-discuss] Tab completion broken with 2014b >> >> Thanks for letting me know. I'll see what I can figure out. >> >> Eric >> >> -----Original Message----- >> From: Henrik Gollee [mailto:hen...@gl...] >> Sent: Tuesday, October 07, 2014 5:40 PM >> To: mat...@li... >> Subject: [Matlab-emacs-discuss] Tab completion broken with 2014b >> >> Hi, >> >> I am currently trying Matlab 2014b and found that tab completion is >> broken: when I press tab in a matlab-shell buffer, I get the following >> error: >> matlab-shell-tab: Args out of range: "No method 'mtFindAllTabCompletions' with matching signature found for class 'com.mathworks.jmi.MatlabMCR'. >> >> Tab completion works fine with 2014a or earlier, so I guess something has changed on Mathwork's side of handling this. >> >> I am running Emacs 24.3.1 with matlab-mode from elpa (version from >> 20140923) on Linux. >> >> Any help would be greatly appreciated. >> >> Thanks, >> >> Henrik >> >> >> ---------------------------------------------------------------------- >> -------- Meet PCI DSS 3.0 Compliance Requirements with EventLog >> Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI >> DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download >> White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with >> EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. >> clktrk _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2014-11-14 16:50:01
|
Hi Henrik, I submitted a small change that should help with 14a, though I didn't have time to try it out. If you look in the new "emacsdocomplete.m" file, you will see the basics of what's going on with a new syntax for the completion function. If there are additional problems, hopefully it will be clear what needs to be done. Let me know how it goes. Eric -----Original Message----- From: Henrik Gollee [mailto:hen...@gl...] Sent: Thursday, November 13, 2014 4:47 PM To: Eric Ludlam; mat...@li... Subject: Re: [Matlab-emacs-discuss] Tab completion broken with 2014b Hi Eric, this works perfectly with 2014b - thanks for the fix! It seems to break 2014a (and possibly older versions), though where I get the following error" matlab-mode, version 3.3.2 matlab-shell-tab: Args out of range: "Undefined function or variable \"extracmd\". Error in emacsdocomplete (line 24) command = [ 'matlabMCRprocess_emacs = com.mathworks.jmi.MatlabMCR;' ... ", 765, 157 I guess this means that some workaround is still needed to keep older versions happy? Thanks again for continuing to look after matlab-mode; it makes matlab so much easier to use. Henrik Eric Ludlam wrote on 12/11/14 20:31: > Hi Henrick, and the rest of the Mailing list, > > I've checked in a fix for the TAB completion issue. Sorry it took so long. > > To get it, you will need to get both matlab.el, and the new file in the toolbox subdirectory emacsdocomplete.m. Your directory structure will need to match that of the CVS repository for this to work. > > I haven't fixed the downloader MATLAB Script yet, so you will need to do it by hand for now. I hope to get to that part soon. > > Let me know how it goes! > Thanks > Eric > > -----Original Message----- > From: Eric Ludlam > Sent: Wednesday, October 08, 2014 12:57 PM > To: 'Henrik Gollee'; mat...@li... > Subject: RE: [Matlab-emacs-discuss] Tab completion broken with 2014b > > Thanks for letting me know. I'll see what I can figure out. > > Eric > > -----Original Message----- > From: Henrik Gollee [mailto:hen...@gl...] > Sent: Tuesday, October 07, 2014 5:40 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Tab completion broken with 2014b > > Hi, > > I am currently trying Matlab 2014b and found that tab completion is > broken: when I press tab in a matlab-shell buffer, I get the following > error: > matlab-shell-tab: Args out of range: "No method 'mtFindAllTabCompletions' with matching signature found for class 'com.mathworks.jmi.MatlabMCR'. > > Tab completion works fine with 2014a or earlier, so I guess something has changed on Mathwork's side of handling this. > > I am running Emacs 24.3.1 with matlab-mode from elpa (version from > 20140923) on Linux. > > Any help would be greatly appreciated. > > Thanks, > > Henrik > > > ---------------------------------------------------------------------- > -------- Meet PCI DSS 3.0 Compliance Requirements with EventLog > Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI > DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download > White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with > EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. > clktrk _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Henrik G. <hen...@gl...> - 2014-11-13 21:46:46
|
Hi Eric, this works perfectly with 2014b - thanks for the fix! It seems to break 2014a (and possibly older versions), though where I get the following error" matlab-mode, version 3.3.2 matlab-shell-tab: Args out of range: "Undefined function or variable \"extracmd\". Error in emacsdocomplete (line 24) command = [ 'matlabMCRprocess_emacs = com.mathworks.jmi.MatlabMCR;' ... ", 765, 157 I guess this means that some workaround is still needed to keep older versions happy? Thanks again for continuing to look after matlab-mode; it makes matlab so much easier to use. Henrik Eric Ludlam wrote on 12/11/14 20:31: > Hi Henrick, and the rest of the Mailing list, > > I've checked in a fix for the TAB completion issue. Sorry it took so long. > > To get it, you will need to get both matlab.el, and the new file in the toolbox subdirectory emacsdocomplete.m. Your directory structure will need to match that of the CVS repository for this to work. > > I haven't fixed the downloader MATLAB Script yet, so you will need to do it by hand for now. I hope to get to that part soon. > > Let me know how it goes! > Thanks > Eric > > -----Original Message----- > From: Eric Ludlam > Sent: Wednesday, October 08, 2014 12:57 PM > To: 'Henrik Gollee'; mat...@li... > Subject: RE: [Matlab-emacs-discuss] Tab completion broken with 2014b > > Thanks for letting me know. I'll see what I can figure out. > > Eric > > -----Original Message----- > From: Henrik Gollee [mailto:hen...@gl...] > Sent: Tuesday, October 07, 2014 5:40 PM > To: mat...@li... > Subject: [Matlab-emacs-discuss] Tab completion broken with 2014b > > Hi, > > I am currently trying Matlab 2014b and found that tab completion is > broken: when I press tab in a matlab-shell buffer, I get the following > error: > matlab-shell-tab: Args out of range: "No method 'mtFindAllTabCompletions' with matching signature found for class 'com.mathworks.jmi.MatlabMCR'. > > Tab completion works fine with 2014a or earlier, so I guess something has changed on Mathwork's side of handling this. > > I am running Emacs 24.3.1 with matlab-mode from elpa (version from > 20140923) on Linux. > > Any help would be greatly appreciated. > > Thanks, > > Henrik > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |
From: Eric L. <Eri...@ma...> - 2014-11-13 21:46:34
|
Hi Torben, Sorry for the delay in getting back to you. The error strings emitted from MATLAB have changed, and I haven't had time to update the regexp in MATLAB. I've been fixing the tab completion most recently, and will poke at this soon. Eric From: Torben Knudsen [mailto:tk...@es...] Sent: Tuesday, November 04, 2014 4:28 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Finding errors cited in the shell buffer I still have some problems getting matlab-shell-last-error to work every time. As a work around for me I did the below. Maybee others can use that. However, I have no idea how general the solution is. (defun tk-goto-matlab-error () "Goto last matlab error above" (interactive) (search-backward "error") (matlab-shell-html-go)) and then prehaps (global-set-key "\C-ce" 'tk-goto-matlab-error) or something more smart. Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk...@es...<mailto:tk...@es...> Aalborg University Web : es.aau.dk/staff/tk Fredrik Bajersvej 7 DK-9220 Aalborg Ø Denmark |
From: Eric L. <Eri...@ma...> - 2014-11-12 20:31:42
|
Hi Henrick, and the rest of the Mailing list, I've checked in a fix for the TAB completion issue. Sorry it took so long. To get it, you will need to get both matlab.el, and the new file in the toolbox subdirectory emacsdocomplete.m. Your directory structure will need to match that of the CVS repository for this to work. I haven't fixed the downloader MATLAB Script yet, so you will need to do it by hand for now. I hope to get to that part soon. Let me know how it goes! Thanks Eric -----Original Message----- From: Eric Ludlam Sent: Wednesday, October 08, 2014 12:57 PM To: 'Henrik Gollee'; mat...@li... Subject: RE: [Matlab-emacs-discuss] Tab completion broken with 2014b Thanks for letting me know. I'll see what I can figure out. Eric -----Original Message----- From: Henrik Gollee [mailto:hen...@gl...] Sent: Tuesday, October 07, 2014 5:40 PM To: mat...@li... Subject: [Matlab-emacs-discuss] Tab completion broken with 2014b Hi, I am currently trying Matlab 2014b and found that tab completion is broken: when I press tab in a matlab-shell buffer, I get the following error: matlab-shell-tab: Args out of range: "No method 'mtFindAllTabCompletions' with matching signature found for class 'com.mathworks.jmi.MatlabMCR'. Tab completion works fine with 2014a or earlier, so I guess something has changed on Mathwork's side of handling this. I am running Emacs 24.3.1 with matlab-mode from elpa (version from 20140923) on Linux. Any help would be greatly appreciated. Thanks, Henrik ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |