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...> - 2019-10-11 19:00:12
|
>>> "EL" == Eric Ludlam <el...@ma...> writes: > Hi everyone, > Uwe recently merged in some updates for matlab-mode into the git > master branch. Thanks Uwe! Thanks Eric, that was nothing. The effort is yours alone. BTW there is small and annoying differences between the sourceforge and the github repository, in the sense that the graph is not the same, since somebody committed some time ago a changeset to github which is not in sourceforge, so I merged and synchronised but as I said the graph is not entirely the same > I'd like to encourage everyone to give it a try! To get "string" to > work, I had to start over on the indentation & font-lock support in > 'char vector' and %comment as well as basic navigation with C-M-f and > C-M-b. A side effect is (paren), [array] and {cell} matching is much > more robust, and we now support `show-paren-mode' and `blink-paren' > modes instead of the old block highlighter. > All these changes means it would be great for folks to try it out > and let me know if anything goes wrong! Ok I will only have a change to test this in around 2 weeks. BTW since you are in developer mode, there was something I was missing recently. I try to look it up what is was. > And while I have your attention, I'd like to get some feedback about > matlab mode. We'd like to make some updates to the default values of > some variables. While I was in there, I'm thinking of also deleting > support for ancient systems. Here's a short list of things I was > thinking could be changed and cleaned out: > * XEmacs support As a former long term user of Xemacs, I hesitate to support is. In my opinion, it should be left as it is if a certain feature cannot be implemented for Xemacs so be it, but don't remove Xemacs compatibility code. > * indent function body - always by default (no more question) > * functions have end - switch to t by default > * auto-fill - off by default, or maybe on only in comments In comments I consider it as useful. > * matlab block highlighting - superseded by show-paren-mode. Anyone w/ an ancient emacs need this? > * matlab-eei support - MATLAB stopped supporting this in the mid 2000. Anyone still using this? > * matlab-complete-symbol & M-TAB binding - Anyone using this, or has everyone migrated to newer completion tools? Which one? > * tempo templates ? > Does anyone have flags on any of the above? Is there a new shiny emacs > tool that should be supported instead of some old thing? Please let me > know! > Thanks > Eric Thanks Uwe |
From: Eric L. <el...@ma...> - 2019-10-11 01:15:30
|
Hi everyone, Uwe recently merged in some updates for matlab-mode into the git master branch. Thanks Uwe! I'd like to encourage everyone to give it a try! To get "string" to work, I had to start over on the indentation & font-lock support in 'char vector' and %comment as well as basic navigation with C-M-f and C-M-b. A side effect is (paren), [array] and {cell} matching is much more robust, and we now support `show-paren-mode' and `blink-paren' modes instead of the old block highlighter. All these changes means it would be great for folks to try it out and let me know if anything goes wrong! And while I have your attention, I'd like to get some feedback about matlab mode. We'd like to make some updates to the default values of some variables. While I was in there, I'm thinking of also deleting support for ancient systems. Here's a short list of things I was thinking could be changed and cleaned out: * XEmacs support * indent function body - always by default (no more question) * functions have end - switch to t by default * auto-fill - off by default, or maybe on only in comments * matlab block highlighting - superseded by show-paren-mode. Anyone w/ an ancient emacs need this? * matlab-eei support - MATLAB stopped supporting this in the mid 2000. Anyone still using this? * matlab-complete-symbol & M-TAB binding - Anyone using this, or has everyone migrated to newer completion tools? Which one? * tempo templates ? Does anyone have flags on any of the above? Is there a new shiny emacs tool that should be supported instead of some old thing? Please let me know! Thanks Eric |
From: Tak K. <tak...@gm...> - 2019-08-30 06:03:41
|
I revered to matlab-mode-20180125.1810 from matlab-mode-20180928.1526 and now it works. I setup my Emacs in following manner. (setq package-load-list '((matlab-mode "20180125.1810") all)) I also found that in an emergency case, following works. (setq octave-comment-char ?%) (add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode)) Tak > On Aug 15, 2019, at 17:35 , Tak Kunihiro <tak...@gm...> wrote: > > I found that Emacs freezes on following block. Do you have idea? > > matlab.el:1167: (defun matlab-mode () > ... > matlab.el:1275: (setq font-lock-defaults '((matlab-font-lock-keywords > matlab.el:1276: matlab-gaudy-font-lock-keywords > matlab.el:1277: matlab-really-gaudy-font-lock-keywords > matlab.el:1278: ) > matlab.el:1279: t ; do not do string/comment highlighting > matlab.el:1280: nil ; keywords are case sensitive. > matlab.el:1281: ;; This puts _ as a word constituent, > matlab.el:1282: ;; simplifying our keywords significantly > matlab.el:1283: ((?_ . "w")))) > > > From: Tak Kunihiro <tak...@gm...> > Subject: Emacs hangs with a line > Date: Sat, 10 Aug 2019 06:09:46 +0900 (JST) > >> I use matlab.el for 10 years. Thank you the maintenance. I embed data >> in a script using arrays and cell arrays. >> >> Today I found that when buffer is with a line, emacs hangs. Emacs >> hangs on matlab-mode but not on text-mode. The line is shown below as >> line A. I tried to minimize the line that is OK and it is shown as >> line B below. >> >> Could you spot a problem and fix it? >> >> Tak >> >> * environment >> >> - matlab-mode-20180928.1526 from melpa >> - matlab-mode-version "3.3.6" >> - Emacs 26.2 on Mac and Windows >> >> * Line A (On this message, a line may be divided in several lines.) >> >> % remark = {'1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001'}; >> >> * line B (On this message, a line may be divided in several lines.) >> >> % remark = {'1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','1.86 2 |
From: Tak K. <tak...@gm...> - 2019-08-15 08:35:47
|
I found that Emacs freezes on following block. Do you have idea? matlab.el:1167: (defun matlab-mode () ... matlab.el:1275: (setq font-lock-defaults '((matlab-font-lock-keywords matlab.el:1276: matlab-gaudy-font-lock-keywords matlab.el:1277: matlab-really-gaudy-font-lock-keywords matlab.el:1278: ) matlab.el:1279: t ; do not do string/comment highlighting matlab.el:1280: nil ; keywords are case sensitive. matlab.el:1281: ;; This puts _ as a word constituent, matlab.el:1282: ;; simplifying our keywords significantly matlab.el:1283: ((?_ . "w")))) From: Tak Kunihiro <tak...@gm...> Subject: Emacs hangs with a line Date: Sat, 10 Aug 2019 06:09:46 +0900 (JST) > I use matlab.el for 10 years. Thank you the maintenance. I embed data > in a script using arrays and cell arrays. > > Today I found that when buffer is with a line, emacs hangs. Emacs > hangs on matlab-mode but not on text-mode. The line is shown below as > line A. I tried to minimize the line that is OK and it is shown as > line B below. > > Could you spot a problem and fix it? > > Tak > > * environment > > - matlab-mode-20180928.1526 from melpa > - matlab-mode-version "3.3.6" > - Emacs 26.2 on Mac and Windows > > * Line A (On this message, a line may be divided in several lines.) > > % remark = {'1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001'}; > > * line B (On this message, a line may be divided in several lines.) > > % remark = {'1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','1.86 2 |
From: Tak K. <tak...@gm...> - 2019-08-09 21:10:01
|
I use matlab.m for 10 years. Thank you the maintenance. I embed date in a script using arrays and cell arrays. Today I found that when buffer is with a line, emacs hangs. Emacs hangs on matlab-mode but not on text-mode. The line is shown below as line A. I tried to minimize the line that is OK and it is shown as line B below. Could you spot a problem and fix it? Tak * environment - matlab-mode-20180928.1526 from melpa - matlab-mode-version "3.3.6" - Emacs 26.2 on Mac and Windows * Line A (On this message, a line may be divided in several lines.) % remark = {'1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001'}; * line B (On this message, a line may be divided in several lines.) % remark = {'1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','1.86 29.2 0.001','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','1.86 2 |
From: Justin G. <jus...@gm...> - 2019-07-24 14:38:30
|
Hey everybody, I've just started using folding mode (folding.el) with matlab-mode. The command matlab-shell-run-region filters out folds as comments. Is there an easy method to unfold folds during the parsing section of matlab-shell-run-region, to enable sending the fold contents to the matlab-shell? I'll keep tinkering with in matlab.el but my lisp is quite weak unfortunately. Thanks, Justin |
From: Thiago M. <tm...@gm...> - 2019-06-29 09:23:38
|
I was having an issue with `matlab-shell-collect-commmand-output' not deleting the output of emacsdocomplete (or any matlab command), leaving shell completion broken. I found out it was happening because I had the variable `comint-prompt-read-only' set to t. While investigating that issue, I saw this comment in the function `matlab-shell-collect-command-output': > Ideally there would be some way to prevent the *MATLAB* buffer from refreshing > as we are interacting with it, but I couldn't figure out a way to do that. One potential way to prevent the buffer from refreshing is using the function `comint-redirect-results-list'. So, the function mentioned above can be implemented like this: (defun matlab-shell-collect-command-output (command) "Send COMMAND to matlab process and silently capture output." (car (comint-redirect-results-list command "\\(?:.\\|\n\\)*" 0))) As a bonus, no more issues with read-only prompts. Regards, Thiago |
From: Uwe B. <ou...@ma...> - 2019-05-14 09:00:07
|
Hi the following script (not live script) can be executed in the matlab editor, just on a cell %% A = [4,-2,-1,-1; -2,6,-2,-3; -1,-2,5,-1;-1,-3,-1,6] x = [0;0;1;0] [lambda,v] = eigs_potencia(A) %% function [lambda, v] = eigs_potencia(A) [n,m] = size(A); tol = 10^-6; itermax = 50; iter = 1; v = rand(n,1); v = v/norm(v); w = [zeros(n,1)]; while (norm(v-w)>tol & norm(v+w)>tol) w = v; z = A*v; lambda = transpose(v)*z; v = z/norm(z); iter = iter+1; if iter > itermax warning('se ha alcanzado el numero maximo de iteraciones') break end end lambda, v, iter end However the command matlab-shell-run-cell seems not to recognize the function which is defined in the very same file. I think that is now an important feature to support, because matlab supports is also in the live scripts. Not sure how difficult that would be to implement. Any comments? Regards Uwe Brauer |
From: Uwe B. <ou...@ma...> - 2019-04-22 07:16:46
|
> On 4/21/19 4:49 AM, Uwe Brauer wrote: > Sorry, I meant when the MATLAB process goes away, does GUD know to > clean up the breakpoint icons along with the process. No it does not. I did not check this before thanks for pointing it out. So the breakpoint is gone, since matlab is finished, but the icon stays. I have to close and reopen the file. It gets worse. If I don't kill the Matlab process, close and reopen the file, the icon is gone, but the breakpoint is still set. Well so I think I will not include that function in matlab, it will be too confusing. If I come up with a better more robust solution I will reconsider it. Uwe |
From: Eric L. <eri...@gm...> - 2019-04-21 22:23:54
|
On 4/21/19 4:49 AM, Uwe Brauer wrote: >>>> "EL" == Eric Ludlam <eri...@gm...> writes: > Hi Eric > > > > Hi Uwe, > > I'm not very familiar with those APIs. Do all the icons auto clean up > > when the GUD process goes away? > > Sorry for the delay. I am not sure I understand your question. > > Do you mean: when I run dbquit or dbclear from the command line, the > icons should disappear? > > The answer to this is NO. > > Function one, sets in Emacs a breakpoint and a icon > Function two, removes in Emacs the breakpoint and the icon. > And that works only in Emacs not in the matlab shell. > > > I could write a function, which would remove breakpoints and icons > region wise, or for the whole buffer, if that were necessary. Sorry, I meant when the MATLAB process goes away, does GUD know to clean up the breakpoint icons along with the process. It sounds like it is just with the commands which seems like a fine start. Eric |
From: Uwe B. <ou...@ma...> - 2019-04-21 08:50:02
|
>>> "EL" == Eric Ludlam <eri...@gm...> writes: Hi Eric > Hi Uwe, > I'm not very familiar with those APIs. Do all the icons auto clean up > when the GUD process goes away? Sorry for the delay. I am not sure I understand your question. Do you mean: when I run dbquit or dbclear from the command line, the icons should disappear? The answer to this is NO. Function one, sets in Emacs a breakpoint and a icon Function two, removes in Emacs the breakpoint and the icon. And that works only in Emacs not in the matlab shell. I could write a function, which would remove breakpoints and icons region wise, or for the whole buffer, if that were necessary. Uwe |
From: Eric L. <eri...@gm...> - 2019-04-16 00:45:17
|
Hi Uwe, I'm not very familiar with those APIs. Do all the icons auto clean up when the GUD process goes away? If so, it seems like a fine thing to include to me. Eric On 4/12/19 12:10 PM, Uwe Brauer wrote: >>>> "EL" == Eric Ludlam <eri...@gm...> writes: > Hi Eric, > > Thanks for you reply. > > > Hi Uwe, > > Looks like you were having some fun with the GUD API. :) > > > The type of snippets you forwarded look like they could work, though I > > didn't try them. My assumption was that if users started using a > > feature like you describe, and and typed: > > > dbclear all > > > or > > > dbstop in foo > > > and icons didn't appear/disappear correctly then they would send bug > > reports. As long as it's clear that you have to use the EMACS > > commands to set/remove breakpoints, then maybe that's ok. > > Right point taken. > > To defend myself: For ages I used Xemacs, whose matlab support was never > at pair with GNU emacs, so I used the matlab-shell debugging. When I > switched finally to GNU emacs, I could only enjoy the nice navigation > while debugging for a short while, since the Matlab API was dropped > basically a short while after I switched. (in 2011A or B, right?). > > So I, again, switched to the debugging from the command line, which is > functional but not very convenient. Now thanks to Odd Andersen, Emacs > navigation, in bit simplified form, during debugging is back and I would > like to use Emacs and not the matlab-shell, so it simply did not occur > to me that people could run into the problem you mentioned. So you are > right: I should adapt the documentation accordingly. > > So what do you say: shall I do that and provide a patch to the list, to > see what others say? (So far you are the only one who gave some > feedback. > > > If you're feeling adventurous, a matlab script in matlab-emacs/toolbox > > that uses 'dbstatus' and prints out a formatted list of breakpoints > > could be used to 'fix up' the breakpoint icons. Shadows scripts for > > dbclear and dbstop that call said script could probably get something > > kindof hacky up and running for keeping icons up to date. This would > > require some new output filter/parsing to get going. Could be a fun > > project. > > Right, that sounds like a good idea. However till the end of May I will > be busy debugging a lot of students programs so I might not find the > time to do it. Any other takers? > > Regards > > > > Uwe |
From: Uwe B. <ou...@ma...> - 2019-04-12 16:10:57
|
>>> "EL" == Eric Ludlam <eri...@gm...> writes: Hi Eric, Thanks for you reply. > Hi Uwe, > Looks like you were having some fun with the GUD API. :) > The type of snippets you forwarded look like they could work, though I > didn't try them. My assumption was that if users started using a > feature like you describe, and and typed: > dbclear all > or > dbstop in foo > and icons didn't appear/disappear correctly then they would send bug > reports. As long as it's clear that you have to use the EMACS > commands to set/remove breakpoints, then maybe that's ok. Right point taken. To defend myself: For ages I used Xemacs, whose matlab support was never at pair with GNU emacs, so I used the matlab-shell debugging. When I switched finally to GNU emacs, I could only enjoy the nice navigation while debugging for a short while, since the Matlab API was dropped basically a short while after I switched. (in 2011A or B, right?). So I, again, switched to the debugging from the command line, which is functional but not very convenient. Now thanks to Odd Andersen, Emacs navigation, in bit simplified form, during debugging is back and I would like to use Emacs and not the matlab-shell, so it simply did not occur to me that people could run into the problem you mentioned. So you are right: I should adapt the documentation accordingly. So what do you say: shall I do that and provide a patch to the list, to see what others say? (So far you are the only one who gave some feedback. > If you're feeling adventurous, a matlab script in matlab-emacs/toolbox > that uses 'dbstatus' and prints out a formatted list of breakpoints > could be used to 'fix up' the breakpoint icons. Shadows scripts for > dbclear and dbstop that call said script could probably get something > kindof hacky up and running for keeping icons up to date. This would > require some new output filter/parsing to get going. Could be a fun > project. Right, that sounds like a good idea. However till the end of May I will be busy debugging a lot of students programs so I might not find the time to do it. Any other takers? Regards Uwe |
From: Eric L. <eri...@gm...> - 2019-04-12 12:44:20
|
Hi Uwe, Looks like you were having some fun with the GUD API. :) The type of snippets you forwarded look like they could work, though I didn't try them. My assumption was that if users started using a feature like you describe, and and typed: dbclear all or dbstop in foo and icons didn't appear/disappear correctly then they would send bug reports. As long as it's clear that you have to use the EMACS commands to set/remove breakpoints, then maybe that's ok. If you're feeling adventurous, a matlab script in matlab-emacs/toolbox that uses 'dbstatus' and prints out a formatted list of breakpoints could be used to 'fix up' the breakpoint icons. Shadows scripts for dbclear and dbstop that call said script could probably get something kindof hacky up and running for keeping icons up to date. This would require some new output filter/parsing to get going. Could be a fun project. Enjoy Eric On 4/10/19 9:02 AM, Uwe Brauer wrote: > Last function should be > > > > (defun my-gud-remove-breakpoint-with-icons () > (interactive) > (gud-remove 1) > (gdb-remove-breakpoint-icons (line-beginning-position) (line-end-position))) > > |
From: Uwe B. <ou...@ma...> - 2019-04-10 13:15:29
|
Hi The following code sort of works, it is not nice, comments are very welcome (require 'gdb-mi) (setq default-text-properties '(foo 1111)) (defun my-gud-set-breakpoint-with-icon () "Set Breakpoint and indicate on Editor" (interactive) (gud-break 1) (gdb-put-breakpoint-icon "false" (get-text-property 1 'foo))) (defun my-gud-remove-breakpoint-with-icons () (interactive) (gud-remove 1) (move-beginning-of-line 1) (mark-end-of-line 1) (gdb-remove-breakpoint-icons (region-beginning) (region-end))) |
From: Uwe B. <ou...@ma...> - 2019-04-10 13:03:03
|
Last function should be (defun my-gud-remove-breakpoint-with-icons () (interactive) (gud-remove 1) (gdb-remove-breakpoint-icons (line-beginning-position) (line-end-position))) |
From: Uwe B. <ou...@ma...> - 2019-04-10 11:13:01
|
Hi I know that since a couple of years it is not possible for matlab.el to follow the breakpoint during debugging. However thanks to Odd it is at least possible to connect the debugger to the matlab source file which I debug. Would it be possible when calling gud-break that the breakpoint is made visible although it would not move during the debugging? I googled for gud-break visible but cannot find anything. Thanks and regards Uwe Brauer |
From: N H. <hz...@gm...> - 2019-03-01 09:46:12
|
Dear Vladimir Nikishkin, Thanks a lot. You saved me. I checked the exec-path variable inside Emacs, but there was no path for Matlab. I added Matlab path to this variable manually using this: (setq exec-path (append exec-path '("/Applications/MATLAB_R2018b.app/bin"))) and, finally matlab-shell works again. To install matlab-emacs should we add Matlab path to exec-path variable manually in the first place or should it be automatically added during installation? I remember that in my previous matlab-emacs installation, I did not change exec-path variable. This time, I installed the new Emacs using brew cask install emacs. Anyway, thank you very much. I do really appreciate it. -hasan- > On 1 Mar 2019, at 6:04 pm, Vladimir Nikishkin <loc...@gm...> wrote: > > Sorry. Could you check if matlab directory is in your exec-path variable inside Emacs? > > Vladimir Nikishkin <loc...@gm... <mailto:loc...@gm...>> 于 2019年3月1日周五 17:03写道: > Can you check if matlab is in your PATH variable? > > N Hasan <hz...@gm... <mailto:hz...@gm...>> 于 2019年3月1日周五 14:47写道: > Hi All, > > I found the problem. It was silly of me. I should do “make” in the “~/path/to/matlab-emacs”. Matlab-mode is working now. > However, I have one problem with matlab-shell now. Whenever I want to run matlab inside emacs using matlab-shell, emacs could not find the directory of matlab as shown in the warning message: > > "Searching for program: No such file or directory, matlab”. > > I have surely added matlab to my PATH. I could run matlab -nodesktop in my terminal but I am wondering why matlab-shell does not work. > Before I had this matlab-emacs problem, I could also run matlab-shell inside emacs (previous version). > > Could someone help me to resolve this? I am not quite familiar with unix commands and system. > > Thank you. > > -hasan- > > > On 28 Feb 2019, at 2:45 am, N Hasan <hz...@gm... <mailto:hz...@gm...>> wrote: > > > > Hi All, > > > > I am facing a problem with matlab-emacs. I have been using matlab-emacs for quite a while (used the old-verstion) and love it so much. Thank you very much for this awesome software, really appreciate it. Everything was fine when using matlab-emacs until yesterday. > > Since yesterday I could not use matlab-mode and matlab-shell in my Emacs. I am not sure what the cause of this problem as I was configuring some parts of my .emacs file and also upgraded my emacs to the latest version. What can I think of is probably the Emacs upgrade is the cause. > > > > I tried to install matlab-emacs from the both ways: via git clone and via melpa. Both did not work. Currently, I am using the git clone one. > > It seems that the “matlab-load.el” is not automatically generated. Once I executed (add-to-list 'load-path “~/user/.emacs.d/matlab-emacs”), the “matlab-load.el” does not exist in the matlab-emacs directory, and hence the command (load-library "matlab-load”) generates an error. > > > > When I tried to execute another command: (matlab-cedet-setup), a warning says: srecode-map-entry-for-file is already defined as something else than a generic function. I do not really know what it means. > > > > Does anyone have any hint/idea regarding this problem? I have tried to investigate the problem but could not fix it until now. > > > > Thanks. > > > > -hasan- > > > > > > > > > > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss <https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss> |
From: Vladimir N. <loc...@gm...> - 2019-03-01 09:05:17
|
Sorry. Could you check if matlab directory is in your exec-path variable inside Emacs? Vladimir Nikishkin <loc...@gm...> 于 2019年3月1日周五 17:03写道: > Can you check if matlab is in your PATH variable? > > N Hasan <hz...@gm...> 于 2019年3月1日周五 14:47写道: > >> Hi All, >> >> I found the problem. It was silly of me. I should do “make” in the >> “~/path/to/matlab-emacs”. Matlab-mode is working now. >> However, I have one problem with matlab-shell now. Whenever I want to run >> matlab inside emacs using matlab-shell, emacs could not find the directory >> of matlab as shown in the warning message: >> >> "Searching for program: No such file or directory, matlab”. >> >> I have surely added matlab to my PATH. I could run matlab -nodesktop in >> my terminal but I am wondering why matlab-shell does not work. >> Before I had this matlab-emacs problem, I could also run matlab-shell >> inside emacs (previous version). >> >> Could someone help me to resolve this? I am not quite familiar with unix >> commands and system. >> >> Thank you. >> >> -hasan- >> >> > On 28 Feb 2019, at 2:45 am, N Hasan <hz...@gm...> wrote: >> > >> > Hi All, >> > >> > I am facing a problem with matlab-emacs. I have been using matlab-emacs >> for quite a while (used the old-verstion) and love it so much. Thank you >> very much for this awesome software, really appreciate it. Everything was >> fine when using matlab-emacs until yesterday. >> > Since yesterday I could not use matlab-mode and matlab-shell in my >> Emacs. I am not sure what the cause of this problem as I was configuring >> some parts of my .emacs file and also upgraded my emacs to the latest >> version. What can I think of is probably the Emacs upgrade is the cause. >> > >> > I tried to install matlab-emacs from the both ways: via git clone and >> via melpa. Both did not work. Currently, I am using the git clone one. >> > It seems that the “matlab-load.el” is not automatically generated. Once >> I executed (add-to-list 'load-path “~/user/.emacs.d/matlab-emacs”), the >> “matlab-load.el” does not exist in the matlab-emacs directory, and hence >> the command (load-library "matlab-load”) generates an error. >> > >> > When I tried to execute another command: (matlab-cedet-setup), a >> warning says: srecode-map-entry-for-file is already defined as something >> else than a generic function. I do not really know what it means. >> > >> > Does anyone have any hint/idea regarding this problem? I have tried to >> investigate the problem but could not fix it until now. >> > >> > Thanks. >> > >> > -hasan- >> > >> > >> > >> >> >> >> _______________________________________________ >> Matlab-emacs-discuss mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss >> > |
From: Vladimir N. <loc...@gm...> - 2019-03-01 09:03:44
|
Can you check if matlab is in your PATH variable? N Hasan <hz...@gm...> 于 2019年3月1日周五 14:47写道: > Hi All, > > I found the problem. It was silly of me. I should do “make” in the > “~/path/to/matlab-emacs”. Matlab-mode is working now. > However, I have one problem with matlab-shell now. Whenever I want to run > matlab inside emacs using matlab-shell, emacs could not find the directory > of matlab as shown in the warning message: > > "Searching for program: No such file or directory, matlab”. > > I have surely added matlab to my PATH. I could run matlab -nodesktop in my > terminal but I am wondering why matlab-shell does not work. > Before I had this matlab-emacs problem, I could also run matlab-shell > inside emacs (previous version). > > Could someone help me to resolve this? I am not quite familiar with unix > commands and system. > > Thank you. > > -hasan- > > > On 28 Feb 2019, at 2:45 am, N Hasan <hz...@gm...> wrote: > > > > Hi All, > > > > I am facing a problem with matlab-emacs. I have been using matlab-emacs > for quite a while (used the old-verstion) and love it so much. Thank you > very much for this awesome software, really appreciate it. Everything was > fine when using matlab-emacs until yesterday. > > Since yesterday I could not use matlab-mode and matlab-shell in my > Emacs. I am not sure what the cause of this problem as I was configuring > some parts of my .emacs file and also upgraded my emacs to the latest > version. What can I think of is probably the Emacs upgrade is the cause. > > > > I tried to install matlab-emacs from the both ways: via git clone and > via melpa. Both did not work. Currently, I am using the git clone one. > > It seems that the “matlab-load.el” is not automatically generated. Once > I executed (add-to-list 'load-path “~/user/.emacs.d/matlab-emacs”), the > “matlab-load.el” does not exist in the matlab-emacs directory, and hence > the command (load-library "matlab-load”) generates an error. > > > > When I tried to execute another command: (matlab-cedet-setup), a warning > says: srecode-map-entry-for-file is already defined as something else than > a generic function. I do not really know what it means. > > > > Does anyone have any hint/idea regarding this problem? I have tried to > investigate the problem but could not fix it until now. > > > > Thanks. > > > > -hasan- > > > > > > > > > > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |
From: N H. <hz...@gm...> - 2019-03-01 06:47:20
|
Hi All, I found the problem. It was silly of me. I should do “make” in the “~/path/to/matlab-emacs”. Matlab-mode is working now. However, I have one problem with matlab-shell now. Whenever I want to run matlab inside emacs using matlab-shell, emacs could not find the directory of matlab as shown in the warning message: "Searching for program: No such file or directory, matlab”. I have surely added matlab to my PATH. I could run matlab -nodesktop in my terminal but I am wondering why matlab-shell does not work. Before I had this matlab-emacs problem, I could also run matlab-shell inside emacs (previous version). Could someone help me to resolve this? I am not quite familiar with unix commands and system. Thank you. -hasan- > On 28 Feb 2019, at 2:45 am, N Hasan <hz...@gm...> wrote: > > Hi All, > > I am facing a problem with matlab-emacs. I have been using matlab-emacs for quite a while (used the old-verstion) and love it so much. Thank you very much for this awesome software, really appreciate it. Everything was fine when using matlab-emacs until yesterday. > Since yesterday I could not use matlab-mode and matlab-shell in my Emacs. I am not sure what the cause of this problem as I was configuring some parts of my .emacs file and also upgraded my emacs to the latest version. What can I think of is probably the Emacs upgrade is the cause. > > I tried to install matlab-emacs from the both ways: via git clone and via melpa. Both did not work. Currently, I am using the git clone one. > It seems that the “matlab-load.el” is not automatically generated. Once I executed (add-to-list 'load-path “~/user/.emacs.d/matlab-emacs”), the “matlab-load.el” does not exist in the matlab-emacs directory, and hence the command (load-library "matlab-load”) generates an error. > > When I tried to execute another command: (matlab-cedet-setup), a warning says: srecode-map-entry-for-file is already defined as something else than a generic function. I do not really know what it means. > > Does anyone have any hint/idea regarding this problem? I have tried to investigate the problem but could not fix it until now. > > Thanks. > > -hasan- > > > |
From: N H. <hz...@gm...> - 2019-02-27 17:46:04
|
Hi All, I am facing a problem with matlab-emacs. I have been using matlab-emacs for quite a while (used the old-verstion) and love it so much. Thank you very much for this awesome software, really appreciate it. Everything was fine when using matlab-emacs until yesterday. Since yesterday I could not use matlab-mode and matlab-shell in my Emacs. I am not sure what the cause of this problem as I was configuring some parts of my .emacs file and also upgraded my emacs to the latest version. What can I think of is probably the Emacs upgrade is the cause. I tried to install matlab-emacs from the both ways: via git clone and via melpa. Both did not work. Currently, I am using the git clone one. It seems that the “matlab-load.el” is not automatically generated. Once I executed (add-to-list 'load-path “~/user/.emacs.d/matlab-emacs”), the “matlab-load.el” does not exist in the matlab-emacs directory, and hence the command (load-library "matlab-load”) generates an error. When I tried to execute another command: (matlab-cedet-setup), a warning says: srecode-map-entry-for-file is already defined as something else than a generic function. I do not really know what it means. Does anyone have any hint/idea regarding this problem? I have tried to investigate the problem but could not fix it until now. Thanks. -hasan- |
From: Vladimir N. <loc...@gm...> - 2019-02-21 06:43:42
|
Hello, everyone. I found a slightly strange behaviour of matlab-shell on Windows. I am not totally sure if it is matlab-mode's issue, or the matlab-shell wrapper suggested at Emacs Wiki (https://www.emacswiki.org/emacs/MatlabMode , https://github.com/mlt/matlabShell ) , but I thought I'd better document it here. So, suppose we opened the matlab shell: On my Z:\ drive I have a catalogue called Temp (note the capital letter). When I type in cd z:\t TAB, matlab-shell does its best to help me, and proposes the following: cd z:\tTemp Note that instead of replacing t with Temp, it appended Temp to t. I am not sure, but this seems like a bug. -- Yours sincerely, Vladimir Nikishkin |
From: Vladimir N. <loc...@gm...> - 2019-02-21 04:30:46
|
So, basically, I have installed matlab-mode from Melpa on a Linux machine, and just copied the .emacs.d/elpa/ directory from it to a Windows machine. Am I risking something by doing like this? The commands 'matlab-mode', 'matlab-shell' and 'matlab-cedet-setup' have appeared, and at least matlab-shell appears to be working after I have compiled and loaded the matlab shell https://github.com/mlt/matlabShell Not sure the setup is perfect though. ср, 20 февр. 2019 г. в 17:45, Vladimir Nikishkin <loc...@gm...>: > > Well, I can bring in any files of size <20mb I want on a usb stick. > > Uwe Brauer <ou...@ma...> 于 2019年2月20日周三 17:39写道: >> >> >>> "VN" == Vladimir Nikishkin <loc...@gm...> writes: >> >> > Simple answer: I don't have an internet access on this machine. >> >> But you do have access to the source code in sourceforge? That is really >> odd. Unfortunately I am on Linux, so I don't have experience with make >> on windows. You might try to install cygwin, if you have access to that >> site, of course. -- Yours sincerely, Vladimir Nikishkin |
From: Vladimir N. <loc...@gm...> - 2019-02-20 09:45:32
|
Well, I can bring in any files of size <20mb I want on a usb stick. Uwe Brauer <ou...@ma...> 于 2019年2月20日周三 17:39写道: > >>> "VN" == Vladimir Nikishkin <loc...@gm...> writes: > > > Simple answer: I don't have an internet access on this machine. > > But you do have access to the source code in sourceforge? That is really > odd. Unfortunately I am on Linux, so I don't have experience with make > on windows. You might try to install cygwin, if you have access to that > site, of course. > |